summaryrefslogtreecommitdiff
path: root/998/CH29/EX29.77/Ex77.sce
blob: 2f59897d3b21cacfc55a40d57abfbddad8eb4de2 (plain)
1
2
3
4
5
6
7
8
9
10
//Ex:77
clc;
clear;
close;
a_d=30+15;//angular difference in degree
R=10000;//orbital radius in km
l_s=sqrt((R^2)+(R^2)-2*(R^2)*cos(45*3.14/180));
R_tp=(2*l_s)/(3*10^5);
printf("The round trip propagation delay=%f sec", R_tp);
printf("\n The round trip propagation delay=%f millisec", ceil(R_tp*1000));