blob: 43f13dc2acb49e1c1f2e764be5f126399b3dda8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//Pilot and his bomber
//refer fig.13.3
h=2000 //m
u=(600*1000)/(60*60) //m/sec
//initial velocity in vertical direction
//gravitational acceleration=9.81 m/sec^2
//if t is the time of flight
t=sqrt((2000*2)/(9.81)) //sec
//during this period horizontal distance travelled by the bomb must be (d)
d=u*t //m
printf("Bomb should be released at %.2f m from the target",d)
|