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 /1301/CH4/EX4.15/ex4_15.sce | |
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 '1301/CH4/EX4.15/ex4_15.sce')
-rwxr-xr-x | 1301/CH4/EX4.15/ex4_15.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1301/CH4/EX4.15/ex4_15.sce b/1301/CH4/EX4.15/ex4_15.sce new file mode 100755 index 000000000..a2bd109ae --- /dev/null +++ b/1301/CH4/EX4.15/ex4_15.sce @@ -0,0 +1,9 @@ +clc;
+G=6.67*10^-11 //Universal gravitational constant in Nmsquare/kg square
+mm=7.36*10^22; //mass of moon in kg
+r=1.74*10^6; //radius of moon in m
+m=75; //weight of man in kg
+g=(G*mm)/(r*r); //calculating g in m/sec square
+w=m*g; //calculating weight in Newton
+disp(g,"Accelaration due to gravity at its surface in m/sec square= "); //displaying g
+disp(w,"Mans weight on moon in Newton = "); //displaying mass of man on moon.
\ No newline at end of file |