blob: 99ec2a71bcacba6978280a0b2f2b1c9ee4cfa008 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Initilization of variables
d=0.6 //m //diameter of the wheel
r=0.3 //m //radius of the wheel
W=1000 //N //weight of the wheel
h=0.15 //m //height of rectangular block
//Calculations
theta=atand((sqrt(h))/(sqrt(d-h)))
P=(W*tand(theta)) //N // dividing eq'n 1 & 2
//Resuts
clc
printf('The force P so that the wheel is just to roll over the block is %f N \n',P)
|