current alt setting minus 29.92 multiply by 10. Then take that number and add/subtract to the field elevation.
the dme one, idk if there is an easier formula but using geometry I came up with a formula.
2*pie*dme*degrees traveled all divided by 360.
ie, if you started at the 180 degree radial and ended on the 270 degree radial that would be 90 degrees traveled
so 2*pie*dme*90 all divided by 360