summaryrefslogtreecommitdiff
path: root/647/CH1/EX1.1/Example1_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /647/CH1/EX1.1/Example1_1.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '647/CH1/EX1.1/Example1_1.sce')
-rwxr-xr-x647/CH1/EX1.1/Example1_1.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/647/CH1/EX1.1/Example1_1.sce b/647/CH1/EX1.1/Example1_1.sce
new file mode 100755
index 000000000..7ec57d2f1
--- /dev/null
+++ b/647/CH1/EX1.1/Example1_1.sce
@@ -0,0 +1,24 @@
+clear;
+clc;
+
+// Example: 1.1
+// Page: 4
+
+// Solution
+
+printf("Example: 1.1 - Page: 4\n\n");
+
+//*****Data*****//
+g_Earth = 9.83;// [m/square s]
+F_Earth = 800;// [N]
+g_Moon = 3.2;// [m/square s]
+//************//
+
+// From the expression of force, the force on the man on the Eath's surface is given by:
+// F = m*g_Earth
+m = F_Earth/g_Earth;// [kg]
+
+// On the moon, the weight of the mass is equal to the force acting on the mass on the moon and is given by
+F_Moon = m*g_Moon;// [N]
+
+printf("Weight of the man on the moon is %f N\n",F_Moon); \ No newline at end of file