A B Figure 1 A scenario where a car with a cell phone inside is moving towards the cellular base station. The problem: I

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

A B Figure 1 A scenario where a car with a cell phone inside is moving towards the cellular base station. The problem: I

Post by answerhappygod »

A B Figure 1 A Scenario Where A Car With A Cell Phone Inside Is Moving Towards The Cellular Base Station The Problem I 1
A B Figure 1 A Scenario Where A Car With A Cell Phone Inside Is Moving Towards The Cellular Base Station The Problem I 1 (105.28 KiB) Viewed 98 times
can you help please?
A B Figure 1 A scenario where a car with a cell phone inside is moving towards the cellular base station. The problem: Imagine you are a passenger in a car moving at velocity v either towards or away from a mobile phone transmitter broadcasting a signal at frequency f, in MHz. The velocity v in m/s will be multiplied by your individual number. Your algorithm should calculate f, in Hz that is the frequency at which your phone is receiving the signal (as a result of the Doppler shift). Step 1: The amount of the frequency change is dependent on the original frequency (fr), the speed of the car (v) and the speed of light (c). This change is the Doppler shift (fa). The equation to calculate the Doppler shift is: 1₁= LOLXYZ The speed of light is 3 x 10 m/s Your individual number is tied to the velocity of the car throughout so that v is multiplied by 1.01 XYZ at the start. For example, if the speed of the car is 15m/s, (just over 30 miles per hour) and the transmission frequency is 2300 MHz (2300 x 100 Hz) and the individual number is 1.01123 then: 2300-10x15 1.01123 x fa -116.29Hz Step 2: You can use a Boolean is towards for the position of the car. If your car is travelling towards the transmitter then this frequency shift is added to the transmitter frequency, and if it is travelling away from the transmitter it is subtracted: • Car travelling toward transmitter: fr ft + fd . Car travelling away from transmitter fr= ft-fd i. Develop an initial decomposition of the problem using the chevron notation (> and >>) from the module materials. Include your decomposition in your solution document.. ii. Building on your decomposition for Part i, develop an algorithm for solving the problem. Include this algorithm in your solution document. In your solution document, in answer to this part, also write down your Pl and the individual number that you have obtained via Steps 1-3 from your Pl. iii. Write a Python function definition following the instructions that are provided below. Save your function in a file called Q4_OUCU.py, where OUCU is your OUCU number. When you have completed your work on this part: submit the py file with your function paste the function definition from your .py file as text (with indentation preserved) into your solution document Instructions for writing the function: Provide a single Python function that implements the algorithm you wrote for part c(ii). Your function must be a translation of your algorithm from part c(ii), otherwise no marks will be awarded. The function should have three arguments: one for the car speed v (m/s), one for the frequency of transmission f(MHz) and one for the direction of the movement of the car is_towards (to indicate whether it is moving towards or away from the transmitter). The function should have one return value for the received frequency f, iv. Test the function by calling it in the Python with the arguments 15, 2300 and the car is moving towards the base station. Include the function call and the result. You should aim to use only the Python features that are introduced in the module. If you decide to use techniques or
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply