summaryrefslogtreecommitdiff
path: root/1529/CH1/EX1.3/1_03.sce
blob: 33b68a5d4537228968879c42c62cf59f629d7a66 (plain)
1
2
3
4
5
6
7
//Chapter 1, Problem 3
clc;
M=0.2;              //mass in Kg
g=9.81              // acceleration due to gravity
F=M*g;              //calculating the force
//Force acting downwards = weight
printf("Force acting downwards = %f N",F);