blob: d758c59378f95eda5141d04b7624912159111615 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//Block slides down a plane
//refer fig. 16.17 and 16.18
N=3000*cosd(50) //N
mu=0.2
F=mu*N //N
//let the maximum deformation of the spring be s mm
//then
s=721.43 //mm
//Velocity will be maximum when the acceleration is zero
//Let x be the deformation when net force on the body in the direction of motion is zero
x=(3000*sind(50)-385.67)/(20) //mm
//applying work energy principle
v=5.061 //m/sec
printf("\nv=%.3f m/sec\ns=%.3f mm",v,s)
|