summaryrefslogtreecommitdiff
path: root/647/CH1/EX1.1/Example1_1.sce
blob: 7ec57d2f112b241f833a781731edb9ef8ecae4e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);