summaryrefslogtreecommitdiff
path: root/2409/CH3/EX3.3/Ex3_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '2409/CH3/EX3.3/Ex3_3.sce')
-rwxr-xr-x2409/CH3/EX3.3/Ex3_3.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2409/CH3/EX3.3/Ex3_3.sce b/2409/CH3/EX3.3/Ex3_3.sce
new file mode 100755
index 000000000..14eec51fe
--- /dev/null
+++ b/2409/CH3/EX3.3/Ex3_3.sce
@@ -0,0 +1,15 @@
+
+//Variable Declaration
+
+LE=49 //Latitude of earth station(degrees)
+aGSO=42164 //Circumference of earth(km)
+R=6371 //Radius of earth(km)
+
+//Calculation
+d=(R**2+aGSO**2-2*R*aGSO*cos(LE*3.142/180))**0.5 //Range of earth station antenna
+El0=acos(aGSO*sin(LE*3.142/180)/d) //Elevation angle(radians)
+El0=El0*180/3.142 //Converting El0 to degrees
+delta=round(90-El0-LE) //Angle of tilt required for polar mount
+
+//Results
+printf("The Angle of tilt required for polar mount is %d degrees",delta)