- #1
starbaj12
- 49
- 0
How would I write a program to show the kinetic energy, potential energy and total mechanical energy at each position in a orbit. I'm not given mass within the program I have to modify
I wanted to just use .5mv^2 = k
-GMm/r = p
and
E = k + p
but can not due to no mass
I wanted to just use .5mv^2 = k
-GMm/r = p
and
E = k + p
but can not due to no mass