From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2409/CH3/EX3.1/Ex3_1.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 2409/CH3/EX3.1/Ex3_1.sce (limited to '2409/CH3/EX3.1/Ex3_1.sce') diff --git a/2409/CH3/EX3.1/Ex3_1.sce b/2409/CH3/EX3.1/Ex3_1.sce new file mode 100755 index 000000000..9537c3228 --- /dev/null +++ b/2409/CH3/EX3.1/Ex3_1.sce @@ -0,0 +1,20 @@ + +//Variable Declaration + +Pss=-90 //Location of geostationary satellite(degrees) +PE=-100 //Longitude of the earth station antenna(degrees) +LE=35 //Latitude of the earth station antenna(degrees) + +//Calculation + +B=PE-Pss //Angle between planes containing a and c(degrees) +b=acos(cos(B)*cos(LE)) //Angle of plane containing b(radians) +A=asin(sin(abs(B*3.142/180))/sin(b)) //Angle between planes containing b and c (radians) + +A=A*180/3.142 //Converting A into degrees +//LE>0 and B<0 by observation +Az= 180-A //Azimuth angle(degrees) + +//Result + +printf("The azimuth angle for the given earth station antenna is %.2f degrees",Az) -- cgit