summaryrefslogtreecommitdiff
path: root/3788/CH4/EX4.2.1/Ex4_2_1.sce
blob: 745fd4be23fe2361c86a792a6271e9e9c9919444 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

//example 4.2.1
//Calculate the Flux Density and Power received 

//Variables
clc
clear
D = 40000
gain = 17              //gain  is in dB
Gt = 50
A = 10                            //effective area of antenna
Pt = 10                           //transmitted power
R = 4*(10)^7

//Calculation
F=(Pt*Gt)/(4*%pi*R^2)             //flux density equation 
Pr = Pt/A                            //Received Power

//Result
printf("The flux density is %f Watts per sqm \n",F)
printf("The power received by antenna is %f Watts",Pr)