Question: Using JAVA Newtons law states the force, F, between two bodies of masses (in kilograms) M1 and M2 is given by: F = k (M1M2)/d2
Using JAVA
Newtons law states the force, F, between two bodies of masses (in kilograms) M1 and M2 is given by: F = k (M1M2)/d2 K is the gravitational constant and d is the distance between the bodies in meters. The value of k is approximately 6.673x10-11 Nm2 /kg2 . The program should input what it needs, calculate, and display the force between the bodies. USE named CONSTANTS!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
