Answer:
At 30 degrees, height = 14.39 m and distance = 49.83 m
At 45 degrees, height = 28.77 m and distance = 57.54 m
At 60 degrees, height = 43.16 m and distance = 49.83 m
Explanation:
Let ∝ be the angle with respect to the horizontal that the baseball is hit with.
The horizontal component of the velocity is vcos(∝) and the vertical component of the velocity is vsin(∝).
Ignore air resistant, only gravitational acceleration g = -9.81 m/s2 affect the ball vertically. We can use the following equation to calculate the time it takes to reach maximum height (at 0 speed)


So the vertical distance it travels within time t is



Similarly the horizontal distance it travels within time t is:


We can pre-calcualte the quantity 
So 

From here we can plug-in the angles values of 30, 45 and 60 degrees
At 30 degrees, height = 14.39 m and distance = 49.83 m
At 45 degrees, height = 28.77 m and distance = 57.54 m
At 60 degrees, height = 43.16 m and distance = 49.83 m