diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3739/CH6/EX6.17/EX6_17.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3739/CH6/EX6.17/EX6_17.sce')
-rw-r--r-- | 3739/CH6/EX6.17/EX6_17.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/3739/CH6/EX6.17/EX6_17.sce b/3739/CH6/EX6.17/EX6_17.sce new file mode 100644 index 000000000..7f5e14ad4 --- /dev/null +++ b/3739/CH6/EX6.17/EX6_17.sce @@ -0,0 +1,21 @@ +//Chapter 6, Example 6.17, page 271
+clc
+
+
+//Initialisation
+pt=30 //transmitter power in watt
+d=15 //distance in km
+gt=3 //transmitter gain
+ht=30 //transmitter height in m
+hr=4 //receiver height in m
+no=3.77*10**14
+
+//Calculation
+gt1=10**(gt*10**-1)
+pt1=gt1*pt
+e=88*sqrt(pt1)*pt*hr/(2*d**2) //Field strength
+pr1=(e**2)/(2*no) //Recieved power
+
+//Results
+printf("Field strength = %f V/m",e)
+printf("\nRecieved power = %.2f pW",(pr1*10**12))
|