A brick is thrown upward from the top of a

building at an angle of 27.6
above the horizontal and with an initial speed of 13.9 m/s. The acceleration of gravity is 9.8 m/s.
If the brick is in flight for 3 s, how tall is the
building?

the vertical component of the brick's velocity is 13.9 * sin(27.6º)

0 = (-.5 g 3^2) + [13.9 * sin(27.6) * 3] + (building height)