Projectile motion, canon vs cliff A cannon is placed at the bottom of a cliff 85 m high. If the cannon is fired straight upward, the cannonball just the reaches the top of the cliff. 
a) Calculate the initial speed of the cannonball.
b) Suppose a second cannon is placed at the top of the cliff and fired
horizontally with the same initial speed as part (a). Prove numerically that the range of this cannon is the same as the maximum range of the cannon from the base of the cliff.
My work for part A 

How do I know what the velocity of the ball is at the top of the cliff? 
 A: user1530249,
Your answer for a) seems fine. I personally would do this the following way:
Newtons Laws give us this eqn of motion
$$v_{f}^{2}=v_{i}^{2}+2ad \rightarrow ~=v_{i}^{2}-2*g*85$$
Solving this gives $40.837 \frac{m}{s}$. 
For part b), I leave it to you to show the following. Using one of the eqns of motion, calculate how long it would take the ball to fall from 85m if it were merely dropped straight down. This is the time it will take for the ball to fall to earth when fired horizontally. Plug the time from the dead drop into your horizontal distance eqn and obtain the distance. Then calculate the cannon firing at 45 degrees with respect to the ground; you'll find what youre looking for. 
A: For part A, the velocity at the top of the cliff is $v=0$ because it 'just reaches' the top of the cliff.
A: Hello this is the my solution. 
$V_y^2=2gh$ $\implies V_y=40.82$ $\text{m/s}$
and then for second cannon $V_x=V_y=40.82$ $\text{m/s}$. I assumed second cannon only has horizontal velocity. 
Range of second cannon ball : $L = V_x \times t$  and we know $h=(gt^2)/2$
Found $t= 4.16$ $s$
then $L=4.16 \times 40.82=170.01$ $m$  
Actually I dont know if I have understood right. Because final answer is not proving the ranges are same, indeed it shows that the ranges are different.That is because although times are same for both cannon ball previous one cannon ball has negative acceleration (gravitational). Second one it just moves with constant horizontal speed.  If I understand something wrong let me know :)
