Assume you are a medieval knight attacking a castle with a cannon. The cannonball leaves the cannon with a speed of 40.7 m/s, and the barrel's angle with respect to the ground is 32.1°. You make a perfect hit on the king's chamber, which is at the same height as the cannon's muzzle. What is the time of flight of the cannonball, from when it leaves the cannon's muzzle to when it hits the king's chamber? (Ignore air resistance.