From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3739/CH6/EX6.18/EX6_18.sce | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 3739/CH6/EX6.18/EX6_18.sce (limited to '3739/CH6/EX6.18') diff --git a/3739/CH6/EX6.18/EX6_18.sce b/3739/CH6/EX6.18/EX6_18.sce new file mode 100644 index 000000000..e416028be --- /dev/null +++ b/3739/CH6/EX6.18/EX6_18.sce @@ -0,0 +1,26 @@ +//Chapter 6, Example 6.18, page 274 +clc + +//Initialisation +f=420 //frequency in Hz +h1=40 //height in m +h2=5 //height in m +d=15 //distance in km + +//Calculation +A=69.55+26.16*log10(f)-13.82*log10(h1) //Hata parameters +B=44.9-6.55*log10(h1) +C=2*(log10(f*28**-1))**2+5.4 +D=4.78*(log10(420))**2-18.33*log10(f)+40.94 +E1=3.2*(log10(11.75*h2))**2-4.97 +E2=(((1.1*log10(f))-0.7)*h2)-((1.56*log10(f))-0.8) +L3=A+B*log10(d)-D //in open area; +L2=A+B*log10(d)-C //in suburban area; +L1=A+B*log10(d)-E1 //in large cities; +L11=A+B*log10(d)-E2 //in small cities; + +//Results +printf("In large cities L1 = %.2f dB",L1) +printf("\nIn small cities L1 = %.2f dB",L11) +printf("\nIn suburban area L2 = %.2f dB",L2) +printf("\nIn open area L2 = %.2f dB",L3) -- cgit