- Category:
- Windows Develop
- Tags:
-
- File Size:
- 1kb
- Update:
- 2017-10-16
- Downloads:
- 0 Times
- Uploaded by:
- 张文海
Description: The gravitational F between the two objects of mass M1 and M2 is
F=G*m1*m2/r^2
Here G is gravitational constant (6.672*10^-10N*m^2/kg^2) M1 and M2 is the mass of a unit kilogram, and R is the distance between two objects. Write a function to compute the gravitational attraction of two objects of given mass and distance. Test the program by calculating the gravitational force between the 1000kg satellite and the earth running on the orbit at the earth's 38000km. (the mass of the earth is 5.98*10^24kg)
To Search:
File list (Check if you may need any files):
Fortran 引力