summaryrefslogtreecommitdiff
path: root/2417/CH1/EX1.3/Ex1_3.sce
blob: fd00437aa8c5b1cdcad3755b8733c4808b473994 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 1.3\n\n\n");
// Chapter 1: Fundamental Concepts
// Problem 1.3 (page no. 20) 
// Solution

//Given
M=5; //Unit:kg //mass of body;
g=9.81; //Unit:m/s^2 //the local acceleration of gravity
W=M*g; //W=the weight of the body //Unit:Newton // 1 N= 1 kg*m/s^2
printf("The weight of the body is %f N",W);