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 /2282/CH7/EX7.12 | |
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 '2282/CH7/EX7.12')
-rwxr-xr-x | 2282/CH7/EX7.12/ex7_12.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2282/CH7/EX7.12/ex7_12.sce b/2282/CH7/EX7.12/ex7_12.sce new file mode 100755 index 000000000..de3a8db00 --- /dev/null +++ b/2282/CH7/EX7.12/ex7_12.sce @@ -0,0 +1,12 @@ +//Example 7.12, Page no.280
+clear
+clc
+
+theeta=5 //Angle form by slant ranges of two satellites
+dA=42100*10^3 //Slant range of satellite A
+dB=42000*10^3 //Slant range of satellite B
+r=42164*10^3 //radius of geostationary orbit
+beeta=((dA^2+dB^2-cosd(theeta)*2*dA*dB)/(2*r^2))
+beeta=ceil(beeta*10^3)/10^3
+beeta=(180/%pi)*acos(1-beeta)
+printf("Longitudinal separation between two satellites is %.3f°",beeta)
|