subject

Write a program that defines a function called gravity which takes three parameters, the mass for object 1, the mass for object 2, and the distance between the objects, and returns the calculated gravitational force.

use the gravity function in your program to print out the gravitational force when the mass of object 1 is 7, the mass of object 2 is 9 and the distance is 30. there is no requirement to address using units of measurement.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:30
What are compression artifacts? 1) visible defects in the picture caused by the nature of the compression algorithm. 2) numbers that tell a web server how much to compress a picture for faster transmission. 3) invisible defects in the picture preserved by lossless compression. 4) numbers that tell a photo editing program how much to compress a picture for faster transmission.
Answers: 3
question
Computers and Technology, 22.06.2019 08:30
Active listen eliminates barries to communication true or false
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
When is a chart legend used a. all the time b. whenever you are comparing data that is the same c. whenever you are comparing multiple sets of data d. only for hand-drawn charts
Answers: 2
question
Computers and Technology, 23.06.2019 18:00
Which finger presses the h key on the keyboard? index finger on the left hand pinky finger on the right hand index finger on the right hand thumb on the left hand
Answers: 1
You know the right answer?
Write a program that defines a function called gravity which takes three parameters, the mass for ob...
Questions
question
Chemistry, 03.03.2021 21:40
question
Mathematics, 03.03.2021 21:40
question
Mathematics, 03.03.2021 21:40
question
Mathematics, 03.03.2021 21:40
question
Mathematics, 03.03.2021 21:40
question
Mathematics, 03.03.2021 21:40
question
Mathematics, 03.03.2021 21:40
question
Mathematics, 03.03.2021 21:40