summaryrefslogtreecommitdiff
path: root/3788/CH8/EX8.2.1/Ex8_2_1.sce
blob: 68f1b8d6ac75adffa9aa8ab7e5765fd0775b49fa (plain)
1
2
3
4
5
6
7
8
9
10
11
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)