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, 23.06.2019 02:30
Three out of five seniors remain undecided about a college major at the end of their senior year.
Answers: 3
question
Computers and Technology, 23.06.2019 15:20
What does a bonus object do? a. subtracts lives b. keeps track of a player's health c. gives a player an advantage d. makes text appear
Answers: 1
question
Computers and Technology, 24.06.2019 10:30
Which of the following types of software is most applicable to the promotion of new products through advertising? a.databases b. spreadsheets c. web design programs d. word processing tools
Answers: 2
question
Computers and Technology, 25.06.2019 07:10
When you “listen” to evaluate an online message, which question should you ask?
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
Mathematics, 27.10.2020 20:00
question
Mathematics, 27.10.2020 20:00
question
Mathematics, 27.10.2020 20:00
question
Mathematics, 27.10.2020 20:00
question
English, 27.10.2020 20:00
Questions on the website: 13722363