summaryrefslogtreecommitdiff
path: root/3739/CH2/EX2.11
diff options
context:
space:
mode:
Diffstat (limited to '3739/CH2/EX2.11')
-rw-r--r--3739/CH2/EX2.11/EX2_11.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3739/CH2/EX2.11/EX2_11.sce b/3739/CH2/EX2.11/EX2_11.sce
new file mode 100644
index 000000000..a729641db
--- /dev/null
+++ b/3739/CH2/EX2.11/EX2_11.sce
@@ -0,0 +1,19 @@
+//Chapter 2, Example 2.11, page 51
+clc
+//Initialisation
+R=25000 //path curvature radius in Km
+Re=6370 //Earth radius in Km
+
+
+//Calculation
+K=R*(R-Re)**-1 //K factor
+Re1=K*Re //equivalent radii of the Earth
+R1=(1*Re1**-1)-(1*Re**-1)+(1*R**-1)
+d=1*R1**-1 //equivalent radii of the path
+
+
+//Result
+printf("K = %.3f",K)
+printf("\nRe1 = %d Km",Re1)
+printf("\nR1 = %.1f Km\n",d)
+printf("Therefore, R1 ~ infinity")