diff options
Diffstat (limited to '2409/CH2/EX2.1/Ex2_1.sce')
-rwxr-xr-x | 2409/CH2/EX2.1/Ex2_1.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2409/CH2/EX2.1/Ex2_1.sce b/2409/CH2/EX2.1/Ex2_1.sce new file mode 100755 index 000000000..d4df59454 --- /dev/null +++ b/2409/CH2/EX2.1/Ex2_1.sce @@ -0,0 +1,12 @@ + +//Variable Declaration +u=3.986*(10**14) //Earth's Gravitational constant(m^3/sec^2) + +//Calculation +n=(2*3.14)/(24*60*60) //Mean Motion(rad/sec) +a=((u/n**2)**(0.33333))/1000 //Radius of the orbit by kepler's 3rd law(km) + +//Result +printf("The Radius of the circular orbit with 1 day period is : %d km",a) + + |