The maximum height reached by the squirrel : 0.479 m
Further explanation
Given
vo= 4 m/s
θ = 50 °
Required
The maximum height
Solution
Parabolic motion :

Input the value

or you can use
Find t from vt= vo sin θ - gt(negative sign=against gravity)⇒vt=0 at peak(the maximum height)
and input t to vertical component : y=voy.t-1/2gt²