diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3739/CH2/EX2.11/EX2_11.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3739/CH2/EX2.11/EX2_11.sce')
-rw-r--r-- | 3739/CH2/EX2.11/EX2_11.sce | 19 |
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")
|