Compute each part of given question:
Question: A pirate ship is 560m from a fort defending the harbor entrance of an island. A defense cannon, located at sea level, fires balls at an initial speed of 82m/s.
Part A: At what angle from the horizontal must a ball be fired to hit the ship?
Part B: How far should the pirate ship be from the cannon if it is to be beyond the maximum range of the cannonball?
Show all work, use additional paper if necessary.