subject

Compute the acceleration of gravity for a given distance from the earth's center, distcenter, assigning the result to accelgravity. the expression for the acceleration of gravity is: (g * m) / (d2), where g is the gravitational constant 6.673 x 10-11, m is the mass of the earth 5.98 x 1024 (in kg) and d is the distance in meters from the earth's center (stored in variable distcenter).sample program: #include int main(void) { const double g = 6.673e-11; const double m = 5.98e24; double accelgravity = 0.0; double distcenter = 0.0; distcenter = 6.38e6; printf("accelgravity: %lf\n", accelgravity); return 0;

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:30
Jane’s team is using the v-shaped model for their project. during the high-level design phase of the project, testers perform integration testing. what is the purpose of an integration test plan in the v-model of development? a. checks if the team has gathered all the requirements b. checks how the product interacts with external systems c. checks the flow of data in internal modules d. checks how the product works from the client side
Answers: 1
question
Computers and Technology, 22.06.2019 18:10
Assume that to_the_power_of is a function that expects two int parameters and returns the value of the first parameter raised to the power of the second parameter. write a statement that calls to_the_power_of to compute the value of cube_side raised to the power of 3 and that associates this value with cube_volume.
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Technician a says that a shop towel should never be used to clean around the flange area before replacing an automatic transmission filter. technician b says that a dimpled transmission fluid pan can be repaired. who is right
Answers: 3
question
Computers and Technology, 24.06.2019 10:00
(, urgent need): how do i change my username
Answers: 1
You know the right answer?
Compute the acceleration of gravity for a given distance from the earth's center, distcenter, assign...
Questions
question
Mathematics, 27.04.2021 16:30
question
Mathematics, 27.04.2021 16:30
Questions on the website: 13722366