A canon is angled at 45º and fires a canon ball at 100 m/s. How long will it take the canon to reach it's maximum height?

vertical velocity = 100sin45

velocity at the max height is zero

vf=vi-gt
0=100Sin45-9.8t
solve for time t