The path of the ball is given by
where y is the height in feet and x is the horizontal distance in feet.
We will use the second derivative test which states,
If a function has a critical point for which f′(x) = 0 and the second derivative is positive at this point, then f has a local minimum. If, the function has a critical point for which f′(x) = 0 and the second derivative is negative at this point, then f has local maximum.
Firstly, we will calculate the first derivative of the given function,
![y'=(-2x)/(20)+3](https://img.qammunity.org/2019/formulas/mathematics/middle-school/ci7putkusbfigxqqu4rzhb2egzzwdbla97.png)
To find the horizontal distance, let y'=0
![(-2x)/(20)+3=0](https://img.qammunity.org/2019/formulas/mathematics/middle-school/puw49a953137aaysh70n39enj65eha9eyc.png)
![(-2x)/(20)=-3](https://img.qammunity.org/2019/formulas/mathematics/middle-school/x2tkummujmkxp6iru936iczozeplr3upw9.png)
![{-2x} =-60](https://img.qammunity.org/2019/formulas/mathematics/middle-school/lvulmqigt5y0ywi9cf8vsjotdil33avwcx.png)
![x=30](https://img.qammunity.org/2019/formulas/mathematics/middle-school/ceyma2fhy9lnmiorrio8lejcx73a44c30q.png)
Now let us consider the second derivative of the given function,
![y''=(-2)/(20)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/muu1qmb52srobkazkbp4dmc93nvhe7hs32.png)
Since the second derivative that is y'' is negative.
Therefore, x=30 is the maximum horizontal distance.
Substituting x =30 in the given function to get the maximum height,
![y=(-1)/(20)x^(2)+3x+5](https://img.qammunity.org/2019/formulas/mathematics/middle-school/khkg7azb5o0sf4nvjtwt3ufpa27167mrze.png)
![y=(-1)/(20)(30)^(2)+3(30)+5](https://img.qammunity.org/2019/formulas/mathematics/middle-school/x0mjjszifujkmkwnfgpwvpe2hsq7vk45ng.png)
y=50 is the maximum height in feet.