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.66/Ex66.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.66/Ex66.sce')
-rwxr-xr-x | 998/CH29/EX29.66/Ex66.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/998/CH29/EX29.66/Ex66.sce b/998/CH29/EX29.66/Ex66.sce new file mode 100755 index 000000000..dc767d224 --- /dev/null +++ b/998/CH29/EX29.66/Ex66.sce @@ -0,0 +1,16 @@ +//Ex:66
+clc;
+clear;
+close;
+r=6378;//radius of earth in km
+h=35786;// in km
+r_h=r+h;//height in km
+E_min=0;// in degree
+P=cos(E_min*3.14/180);
+Q=(r/(r_h)*P);
+a_mx=(asin(Q))*(180/3.14);//the theoretical max coverage angle in degree
+D=(r^2)+(r_h^2)-2*r*r_h*sin(a_mx*3.14/180);
+d=sqrt(D);// in km
+d1=ceil(d);//max slant range in km
+printf("The theoretical max coverage angle=%f degree",a_mx);
+printf("\n The max slant range=%d km",d1);
\ No newline at end of file |