horizontal distance of home run is 400 ft = 122 m
height of the home run is 3 ft = 0.9 m
now the angle of the hit is 51 degree
now we have equation of trajectory of the motion
[tex]x = vcos\theta * t[/tex]
[tex]y = v sin\theta * t - \frac{1}{2} gt^2[/tex]
solving above two equations we have
[tex]y = xtan\theta - \frac{gx^2}{2v^2cos^2\theta}[/tex]
now here we will plug in all data
[tex]0.9 = 122 tan51 - \frac{9.8 * 122^2}{2*v^2 * cos^251}[/tex]
[tex]0.9 = 150.65 - \frac{184150.2}{v^2}[/tex]
[tex]\frac{184150.2}{v^2} = 149.75[/tex]
[tex]v = 35.1 m/s[/tex]
so the ball was hit with speed 35.1 m/s from the ground