blob: 0064532bf9417e4f3e2a65f7ec614b90e46dbf24 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example 6_1
clc();
clear;
//To calculate how large is the average force retarding its motion
m=1500 //units in Kg
vf=15 //units in meters/sec
v0=20 //units in meters/sec
t=3 //units in sec
f=((m*vf)-(m*v0))/t //Units in Newtons
printf("The average retarding force is F=%d Newtons",f)
|