Question: need help with all 4 asap In C++ please Q.2. The average distance from the center of the earth to the center of the moon
Q.2. The average distance from the center of the earth to the center of the moon is 384,400,000 m. Given Earth's mass M = 5.97*1024 kg and moon's mass m = 7.35*1022 kg. Write a program to calculate gravitational attractive force between those two objects, which is governed by Newton's Law of universal gravity. F = GMm/d, where G = 6.67*10*1 Nm /kggravitational constant. 0.3. items and then ***** Write a program where you input prices of five items such as item1, item2, calculate the bill including 4.6% tax. Q.4. For Q.2 calculate the average price of the items. Q.5. Sherry Tornwall needs to borrow $6200 to replace the air conditioner in her home. From her credit union, Sherry obtains a 30-month loan with an annual simple interest Rate (APR) of 6.75%. a) Calculate the simple interest she is charged on the loan. b) Determine the amount, principal plus interest, Sherry will pay the credit union at the end of the 30 months to pay off her loan. USE: Interest - principal rate time
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
