How can I simulate Orbit with Physics Equation in JAVA GUI

Post Reply
kimmypracha
Posts: 1
Joined: Fri Oct 21, 2016 9:55 am

How can I simulate Orbit with Physics Equation in JAVA GUI

Post 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.
Post Reply