diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2409/CH2/EX2.1 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2409/CH2/EX2.1')
-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) + + |