summaryrefslogtreecommitdiff
path: root/476/CH1/EX1.1/Example_1_1.sce
blob: 7001617ea232011539d510205c6e5a2dee613b24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//A Textbook of Chemical Engineering Thermodynamics
//Chapter 1
//Introduction and Basic Concepts
//Example 1

clear;
clc;


//Given:
F = 300; //[N]
g_local = 4.5; //local gravitational acceleration[m/s^2]
g_earth = 9.81; //earth's gravitational acceleration[m/s^2]


//To find man's mass and weight on earth
m = F/g_local;//mass of man[kg]
w = m*g_earth; // weight of man on earth[N]
mprintf('Mass of man is %f kg',m);
mprintf('\nWeight of man on earth is %f N',w);


//end