summaryrefslogtreecommitdiff
path: root/3648/CH5/EX5.3/Ex5_3.sce
blob: 48eb4d3800cdf77559ba2c6ead61e81991439e4a (plain)
1
2
3
4
5
6
7
8
//Example 5_3
clc();
clear;
//To find the work done by the pulling force
F=20   //units in Newtons
d=5   //units in meters
W=F*d   //units in joules
printf("Work done is W=%d Joules",W)