summaryrefslogtreecommitdiff
path: root/3648/CH5/EX5.5/Ex5_5.sce
blob: 5a5edf5e41abcf60f24f1224d42d8aad3ed80f74 (plain)
1
2
3
4
5
6
7
8
9
//Example 5_5
clc();
clear;
//To calculate the average frictional force developed
m=2000  //units in Kg
vf=20   //units in meters/sec
d=100  //units in meters
f=(0.5*m*vf^2)/d   //units in Newtons
printf("Average frictional force f=%d N",f)