Question: Problem 5. (Gravitational Foree) Write a program gravitational force.py that takes flosts m and m2 representing the masses in kg) of two objects and a

Problem 5. (Gravitational Foree) Write a program gravitational force.py that takes flosts m and m2 representing the masses in kg) of two objects and a float r representing the distance (in m) between their centers as command-line arguments and writes the gravitational force F (in N) acting between the objects, calculated as F=G where G= 6.674 10-11 (in m 3 kg-1 s-2) is the gravitational constant. python3 gravitational.force Py 2e30 6e24 1.5e11 3.5594666666666664e+22
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
