Question: PLEASE DO URGENTLY!!! PART 3 - Please answer only ONE Question Either Question 3 or Question 4 Time left 1:43:48 QUESTION 3 An AES speed

 PLEASE DO URGENTLY!!! PART 3 - Please answer only ONE Question

PLEASE DO URGENTLY!!!

PART 3 - Please answer only ONE Question Either Question 3 or Question 4 Time left 1:43:48 QUESTION 3 An AES speed detection radar emits a beam of microwaves at a frequency designated as fe. The beam reflects by an approaching car, and the radar picks up and analyzes the reflected beam's frequency, fr. Because of the car's motion, the reflected beam's frequency is shifted slightly from fe to fr. The relationship between the speed of the car, vin kilometres per hour and the two microwave frequencies, is v = (6.685 x 108) X 677) X 1.60934 fr+fe Where the emitted waves have a frequency of fo-2-1010 : -1. AES application will request the value of the reflected bear's frequency.fr. The program then calculates the car's speed before sending a warning message if the speed exceeds the set limits. The defined speed limit is 120 km/h. If the car's speed is larger than or equal to this, the program will display a warning message, "Vehicle is over the speed limitst otherwise, the program will not display any warning, (a) Sketch a flowchart for the above problem-solving [8 marks] Write the complete source code for the above statement based on the following requirement. One (1) function poss-by-reference as an input from the user, void user_input(double) One (1) function poss-by-reference to calculate the speed, double calculate(double): (1) One (1) function poss-by-reference to display a warning if the speed exceeds the limit, void display warning double (iv) Global variables are not allowed. (v) Must use cmath library function as in Figure Q3(b). (vi) The program con repeat until the user chooses to end or exit [17 marks) pow() Syntax The syntax of the powo function is: pow(double base, double exponent); pow(a, b) = ab Il computes 5 raised to the power 3 cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!