summaryrefslogtreecommitdiff
path: root/3886/CH13/EX13.11/13_11.sce
blob: 79b734ed7111960b0ce45e2c740411fb1567b714 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//Gravel is thrown in bin
//refer fig. 13.16 and 13.17
//taking O as origin
u=5  //m/sec
alpha=50  //degree
//for point B
y=-10  //m
t=1.871  //sec
//Horizontal distance travelled in this time=6.012 m
//Vertical component of velocity of gravel at the time of striking the bin is=14.524 m/sec (downwards) 
//Horizontal component of velocity=5*cosd(50)  m/sec
//Velocity of strike
v=sqrt((14.524^2)+(3.214^2))  //m/sec
theta=atand(14.524/3.214)  //degree to the horizontal
printf("\nt=%.2f sec\nHorizontal distance travelled=6.012 m\nv=%.2f m/sec\ntheta=%.2f degree to horizontal",t,v,theta)