blob: a7bd5829ef4f99a36c159693a24c3cc26a50e427 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//Projectile aimed at target
//refer fig. 13.9
//let s be the distance of the target from the point of projection
//u be the velocity of projection
//range
//R=((u^2)*sind(2*alpha))/(g)
//applying it to first case
//s-12=(u^2)/(2*g)
//from second case
//s+24=(u^2)/(g)
//solving we get
s=24+24 //m
//let the correct angle of projection be alpha, then
//sind(2*alpha)=48/72
alpha=41.81/2 //degree
printf("Angle of projection=%.3f degree",alpha)
|