A ball thrown upwards hits a roof and returns back to the ground.

The upward movement is modeled by a function [tex]s=-t^2+3t+4[/tex]
s= −(t^2)+3t+4
and the downward movement is modeled by [tex]s=-t^2+3t+4[/tex]
s= −2(t^2)+t+7, where s is the distance (in metres) from the ground and t is the time in seconds.

Find the height of the roof from the ground.