summaryrefslogtreecommitdiff
path: root/3446/CH3/EX3.4/Ex3_4.sce
blob: a7b3787ddcef67fbe035ec38c3d8668d4ca340f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Exa 3.4
//To determine distance between transmitter and receiver.

clc;
clear all;

shadow=10; //in dB
Lp=150;  //in dB

//solution
disp(" Using equation given in Problem i.e Lp=133.2+40*log(d) we get,");
d=10^((Lp-10-133.2)/40);
printf("  Separation between transmitter and receiver as %.2f km',d);