summaryrefslogtreecommitdiff
path: root/3886/CH17/EX17.2/17_2.sce
blob: 62ab5d8b1f7d176c1ff6a79a86495b00aeb1a509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//batsman
//refer fig 17.2 (a) and (b)
//Let Fx be the horizontal component and Fy be the vertical component
//Applying impulse momentum equation in horizontal direction
Fx=(48*cosd(30)+20)/(9.81*0.02)  //N
//Applying impulse momentum equation in vertical direction
Fy=(48*sind(30))/(9.81*0.02)   //N
//Resultant force
F=sqrt(((Fx)^2)+((Fy)^2))  //N
theta=atand(Fy/Fx)  //degree
printf("\nF=%.3f N\ntheta=%.3f degree",F,theta)