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.78/Ex78.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.78/Ex78.sce')
-rwxr-xr-x | 998/CH29/EX29.78/Ex78.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/998/CH29/EX29.78/Ex78.sce b/998/CH29/EX29.78/Ex78.sce new file mode 100755 index 000000000..463db1427 --- /dev/null +++ b/998/CH29/EX29.78/Ex78.sce @@ -0,0 +1,17 @@ +//Ex:78
+clc;
+clear;
+close;
+R=6378;// Radius of earth in km
+R_o=42164;//orbital radius in km
+A1=(atan(tan(20*%pi/180)/(sin(60*%pi/180))))*(180/%pi);// in degree
+A=180-A1;//Azimuth angle in degree
+x_sl=20*%pi/180;//Diff b/t satellite longitude & earth station longitude in radians
+x_l=60*%pi/180;;//earth station latitude in radian
+B=cos(x_sl)*cos(x_l);
+s=(acos(B))*(180/%pi);
+s1=R*sin(s*%pi/180);
+s2=R_o-R*B;
+E=(atan(s2/s1))*(180/%pi)-s;
+printf("The Azimuth angle=%f degree", A);
+printf("\n The elevation angle=%f degree", E);
\ No newline at end of file |