Hopefully the 23Ft is the bottom side.

This means you have the sideAdjand you are finding the height (Opp).

Tan = Opp/Adj

Tan 52 = Opp/ 23

Opp = Tan 52 * 23

Opp = 29Ft to nearest integer.

If the other side is the 23Ft just do the same thing using Sin intead of Tan.