diff options
Diffstat (limited to '998/CH29/EX29.104')
-rwxr-xr-x | 998/CH29/EX29.104/Ex104.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/998/CH29/EX29.104/Ex104.sce b/998/CH29/EX29.104/Ex104.sce new file mode 100755 index 000000000..db0d297bd --- /dev/null +++ b/998/CH29/EX29.104/Ex104.sce @@ -0,0 +1,15 @@ +//Ex:104
+clc;
+clear;
+close;
+b=30-25;// in degree
+r=42164;//orbit radius in km
+d_a=38000;// in km
+d_b=36000;// in km
+x=1-cos(b*3.14/180);
+y=acos((d_a^2+d_b^2-2*r*r*x)/(2*d_a*d_b))// in radian
+z=y*180/3.14;// in degree
+d=1.414*r*sqrt(1-0.996);
+D=1.414*r*0.063;
+printf("The angular separation of the two satellites=%f degree", z);
+printf("\n The separation distance of the two satellites=%f km", D);
\ No newline at end of file |