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.11/EX6_11.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 3739/CH6/EX6.11/EX6_11.sce (limited to '3739/CH6/EX6.11/EX6_11.sce') diff --git a/3739/CH6/EX6.11/EX6_11.sce b/3739/CH6/EX6.11/EX6_11.sce new file mode 100644 index 000000000..10f7209bc --- /dev/null +++ b/3739/CH6/EX6.11/EX6_11.sce @@ -0,0 +1,18 @@ +//Chapter 6, Example 6.11, page 262 +clc +//Initialisation +p1=20 //transmitter power +g=6 //gain +h1=20 //height in metre + +//Calculation +ct=p1/10 //Power gain +ch=(h1*30**-1)**2 //height gain +cg=g*4**-1 //antenna gain +co=10*log10(ct*ch*cg) //Total effects + +//Results +printf("(1) Power gain, Ct = %.f",ct) +printf("\n Height gain = %.2f",ch) +printf("\n Antenna gain = %.1f",cg) +printf("\n(2) Total effects = %.2f dB",co) -- cgit