Question: In C Program #2: Friis Transmission Equation Please write a program that will calculate the received power in a wireless communication system using the Friis

In C In C Program #2: Friis Transmission Equation Please write a program that

will calculate the received power in a wireless communication system using the

Program #2: Friis Transmission Equation Please write a program that will calculate the received power in a wireless communication system using the Friis Transmission Equation. Description of Fris Transmission Model: In wireless communication, a transmitting antenna will radiate power into the environment. As this signal propagates through freespace, its power density decreases. This can be modeled as an expanding sphere. Imagine 1 Watt of power evenly distributed over a sphere with a radius of 10 meters. Now imagine the same 1 Watt of power evenly distributed over a sphere of 100 meters. If your receiver is the same area (say, a surface area of 1 square-meter), you will detect a lot more power on 1-square-meter of the surface of the 10 m sphere versus 1-square-meter of the 100 m radius sphere. The Friis Transmission Equation models this power loss and can predict the power received by a receiving antenna given transmit power (P), antenna gains (G, G.), frequency (), and range (r). For our system, we will assume that the gain of the receiving antenna and gain of the transmit antenna are both 2.0. Your program should ask the user for the transmit power in Watts (W), the carrier frequency in Hertz (Hz) and the maximum range to calculate in meters (m). These should all be able to accept fractional values. Use the following formulas to print out a table showing thirty (30) range values evenly spaced from 1 meters to the number input by the user, the received (Pr) in Watts and the received power in dBm (decibels referenced to 1 milliWatt). The conversions below will be useful. The Friis transmission formula to calculate the received power is (4R R)2 where Pr is the received power in Watts, Pt is the transmit power in Watts, Gt and Gr are the transmit and receive antenna gains (use 2.0 for each of these), is the freespace wavelength and R is the separation distance in meters. The formula for wavelength is where c is the speed of light (3.0 x 10 m/s) and f is the frequency To convert a power level from Watts to dBm, use the following formula FdBm] 10logio (P) +30 The range values to calculate will be evenly spaced from 1 to the max range across 30 steps. You will need to calculate these

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!