Question: A 1 . Pseudocode Q 1 Gravitational Force 4 Points Write an algorithm that calculates and displays the gravitational force ( F ) between two

A1. Pseudocode
Q1 Gravitational Force
4 Points
Write an algorithm that calculates and displays the gravitational force (F) between two objects. The program inputs the mass of the first object (use variable m1), then the mass of the second object (use variable m2), and the distance between the first object and the second object (use variable r).
Gravitational force is calculated by the following formula:
F=g**m1**m2r**r where g=6.6743E-11
Pre-Condition: assume m1 and m2 are values greater than or equal to zero.
NOTE: Do not use loops for this program.
Example:
Input: 36000.01080.050
Output: 1.037987136E-6
 A1. Pseudocode Q1 Gravitational Force 4 Points Write an algorithm that

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!