figured out how high the cannon goes. was using cosine function instead of sine