Page 1 of 1

How can I simulate Orbit with Physics Equation in JAVA GUI

Posted: Fri Oct 21, 2016 10:06 am
by kimmypracha
I have some problem, If I have some equation like F = GM1M2/R^2 and F = ma and given Input be Velocity in X coordinate and Velocity in Y coordinate. Mass1 , Mass2 and distance. I don't know How can I change position with that equation in java gui.
sorry for my wrong grammar.
please help me if you can.
thank you very much.