summaryrefslogtreecommitdiff
path: root/2409/CH12/EX12.1/Ex12_1.sce
blob: 5d062c76ae971bc6ddb66963cd5be78c051f4dd5 (plain)
1
2
3
4
5
6
7
8
9
10

//Variable Declaration
P=6  //Transmit power(Watts)
G=48.2 //Antenna Gain(dB)

//Calculation
EIRP=10*log10(P)+G  //Equivalent isotropic radiated power(dB)

//Result
printf("Hence the Equivalent isotropic radiated power is %.0f dBW",EIRP)