diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /998/CH29/EX29.106/Ex106.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '998/CH29/EX29.106/Ex106.sce')
-rwxr-xr-x | 998/CH29/EX29.106/Ex106.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/998/CH29/EX29.106/Ex106.sce b/998/CH29/EX29.106/Ex106.sce new file mode 100755 index 000000000..9b00faa81 --- /dev/null +++ b/998/CH29/EX29.106/Ex106.sce @@ -0,0 +1,19 @@ +//Ex:106
+clc;
+clear;
+close;
+R_e=6378;//in km
+H=35786;// in km
+l=R_e/(R_e+H);
+m=asin(l);// in rad
+a=m*180/3.14;// in degree
+x=90-8.7;// in degree
+o_c=R_e*sin(a*3.14/180);// dis OC in the given triangle AOC IN KM
+h=R_e-o_c;//in km
+E=10;// in degree
+y=90-a-E;// in degree
+O_C=R_e*sin(18.56*3.14/180);
+O_C1=ceil(O_C);// the newvalue of OC in km
+h1=R_e-O_C1;// The new value of H in km
+a_r=2*3.14*R_e*h1;//in sq.km
+printf("The covered area=%d sq.km", a_r);
\ No newline at end of file |