blob: 72e8f629cc9959254e05d397943b0cd3f50429d6 (
plain)
1
2
3
4
5
6
7
8
9
|
//Example 5_8
clc();
clear;
//To calculate the frictional force
m=900 //units in Kg
v0=20 //units in meters/sec
s=30 //units in meters
f=(0.5*m*v0^2)/s //units in Newtons
printf("Frictional force required is f=%d N",f)
|