(Modify)
a. Modify Program to determine the frequency returned by a car traveling at 55 mph. Your program should produce the following display (replacing the underlines with the values your program calculates):
The returned frequency corresponding to 55 mph is _____
b. Compile and run the program written for Exercise a. Make sure to do a hand calculation so that you can verify the results your program produces.
c. After verifying the results of the program written in Exercise a, modify the program to calculate the returned frequency of a car traveling at 75 mph.
Program:
#includeusing namespace std;int main(){double speed, fe, fr;fe = 2e10;fr = 2.0000004e10;speed = 6.685e8 * (fr - fe) / (fr + fe);cout << “The speed is ” << speed << “ miles/hour ” << endl;return 0;}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.