diff options
Diffstat (limited to '1301/CH4/EX4.14/ex4_14.sce')
-rwxr-xr-x | 1301/CH4/EX4.14/ex4_14.sce | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/1301/CH4/EX4.14/ex4_14.sce b/1301/CH4/EX4.14/ex4_14.sce new file mode 100755 index 000000000..47098d98a --- /dev/null +++ b/1301/CH4/EX4.14/ex4_14.sce @@ -0,0 +1,6 @@ +clc;
+re=6.4*10^6; //radius of earth in m
+g=9.8; //gravitational constant in m/sec square
+G=6.67*10^-11; //Universal gravitational constant in Nm square/kg square
+m=(g*re*re)/G; //calculating mass of earth in kg
+disp(m,"Mass of Earth in kg = "); //diaplaying mass of Earth inkg
|