Compute gravitational acceleration g(h) = GM/(R+h)^2. Adjust mass M, radius R, and height h to see the graph update in real time.