summaryrefslogtreecommitdiff
path: root/3788/CH8/EX8.2.1/Ex8_2_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3788/CH8/EX8.2.1/Ex8_2_1.sce')
-rw-r--r--3788/CH8/EX8.2.1/Ex8_2_1.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3788/CH8/EX8.2.1/Ex8_2_1.sce b/3788/CH8/EX8.2.1/Ex8_2_1.sce
new file mode 100644
index 000000000..68f1b8d6a
--- /dev/null
+++ b/3788/CH8/EX8.2.1/Ex8_2_1.sce
@@ -0,0 +1,12 @@
+//Example 8.2.1
+//find the physical pathlength and path attenuation
+clc
+clear
+elevationangle=35
+height=3
+specificattenation=2
+L=height/sind(35)
+printf("The physical pathlength is %f km \n",L)
+//error for L part
+A=specificattenation*5.23
+printf("The path attenuation is %f dB " ,A)