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 19:30
When creating a presentation in libre office impress, where does the editing of slides take place?
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Jennifer has to set up a network in a factory with an environment that has a lot of electrical interference. which cable would she prefer to use? jennifer would prefer to use because its metal sheath reduces interference.
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
You are consulting for a beverage distributor who is interested in determining the benefits it could achieve from implementing new information systems. what will you advise as the first step?
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
Write a program that prints the day number of the year, given the date in the form month-day-year. for example, if the input is 1-1-2006, the day number is 1; if the input is 12-25-2006, the day number is 359. the program should check for a leap year. a year is a leap year if it is divisible by 4, but not divisible by 100. for example, 1992 and 2008 are divisible by 4, but not by 100. a year that is divisible by 100 is a leap year if it is also divisible by 400. for example, 1600 and 2000 are divisible by 400. however, 1800 is not a leap year because 1800 is not divisible by 400.
Answers: 3
You know the right answer?
Compute the acceleration of gravity for a given distance from the earth's center, distcenter, assign...
Questions
question
Social Studies, 02.06.2020 11:57
question
Mathematics, 02.06.2020 11:58
question
Computers and Technology, 02.06.2020 11:58
question
Mathematics, 02.06.2020 11:58
Questions on the website: 13722361