blob: 56bd1957d2da5e82ae543603db99a6aea7278578 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Ex:103
clc;
clear;
close;
b=85-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.4149*r*sqrt(x);
printf("The angular separation of the two satellites=%f degree", z);
printf("\n The separation distance of the two satellites=%f km", d);
|