Question: This lab counts towards your participation score. To avoid losing participation points you should ensure that your Python 3 program file (completed or not) has


This lab counts towards your participation score. To avoid losing participation points you should ensure that your Python 3 program file (completed or not) has been uploaded from your local computer folder to your C4 course assignment link by the due date deadline. Specification: Calculation of Gravitational Force You should complete as much as you can in the time allowed. Study the following: Calculation of Gravitational Force Write a program to calculate the gravitational attractive force. The gravitational attractive force (F) between two bodies with masses m1 and m2, separated by a distance d is given by this equation: F=(G x m1 x m2) / ( d xd ) where G is the universal gravitational costant 8 G 6.673 x 10 Note: in a Python 3 program, the above value would be written as 6.673 * 10**-8 where the ** exponentiation operator means to the power of. The program gets input from the user for mass 1 and mass 2 and distance, and outputs the value of the gravitational attractive force (F). The program will allow the user the option to repeat the program if they wish. Define a function to compute gravitational force. The function definition should have 3 parameters: for the masses of the two bodies and the distance between them, and
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
