blob: 79ac0c6ab5c6831d63dc1ae70bb0071d5b3b434d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Example 5_13
clc();
clear;
//To find out how large the force is required
m=2 //units in Kg
g=9.8 //units in meters/sec^2
hc_ha=10.03 //units in meters
sbc=0.030 //units in meters
f=(m*g*(hc_ha))/sbc //units in Newtons
printf("The average force required is f=%d N",f)
//In text book answer is printed wrong as f=6550 N correct answer is f=6552N
|