diff options
Diffstat (limited to '2417/CH1/EX1.2')
-rwxr-xr-x | 2417/CH1/EX1.2/Ex1_2.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/2417/CH1/EX1.2/Ex1_2.sce b/2417/CH1/EX1.2/Ex1_2.sce new file mode 100755 index 000000000..e81e34141 --- /dev/null +++ b/2417/CH1/EX1.2/Ex1_2.sce @@ -0,0 +1,23 @@ +//scilab 5.4.1
+clear;
+clc;
+printf("\t\t\tProblem Number 1.2\n\n\n");
+// Chapter 1: Fundamental Concepts
+// Problem 1.2 (page no. 18)
+// Solution
+
+//Given
+Mm=0.0123//Unit:lb //Mass of the moon;
+Me=1 //Unit:lb //Mass of the earth;
+Dm=0.273 //Unit:feet //Diameter of the moon;
+De=1 //Unit:feet //Diameter of the earth;
+Rm=Dm/2; //Radius of the moon; //Unit:feet
+Re=De/2; //Radius of the earth; //Unit:feet
+
+//F=(K*M1*M2)/d^2 //Law of universal gravitation;
+//Fe=(K*Me*m)/Re^2; //Fe=Force exerted on the mass;
+//Fm=(K*Mm*m)/Rm^2; //Fm=Force exerted on the moon;
+F=(Me/Mm)*(Rm/Re)^2; //F=Fe/Fm;
+printf("Relation of force exerted on earth to mass is")
+disp(F,"Fe/Fm =");
+
|