assume the accleration of the object is a(t) = -9.8 meters per second per second. (Neglect air resistance.)

In order to calculate the maximum height, let's use Torricelli's equation:
[tex]V^2=V_o^2+2\cdot a\cdot d[/tex]Where V is the final velocity, Vo is the initial velocity, a is the acceleration and d is the distance traveled.
At the maximum height, the velocity is zero, so we have:
[tex]\begin{gathered} 0^2=10^2+2\cdot(-9.8)\cdot d\\ \\ -19.6d=-100\\ \\ d=\frac{-100}{-19.6}\\ \\ d=5.1\text{ m} \end{gathered}[/tex]Since the initial height is 2 meters, the maximum height is 7.1 meters.