summaryrefslogtreecommitdiff
path: root/2409/CH2/EX2.12/Ex2_12.sce
blob: 8bac38044be59db2f4c435869786e958fa4da044 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

//Variable Declaration

n=14.23304826  //Mean Motion (rev/day)
M0=246.6853    //Mean Anomaly (degrees)
t0=223.79688452 //Time of anomaly

//Calculation

T = (t0-(M0/(n*360)))  //Time of perigee passage

//Result
printf("The time of perigee passage for NASA elements is : %.4f days",T)