Originally Posted by

**Jhevon** Now i could sware i've seen this question posted around here some time ago. but nevermind.

For problems like these, ALWAYS DRAW A DIAGRAM. see the diagram below:

I labeled the appropriate angle t for theta. Note that we form two similar triagles, i called one A and one B. The hypotenuse of A is a and the hypotenuse of B is b. so we have the length of the ladder as a + b.

usinf trig ratios we will realize that:

in triagle A, the side opposite to t is 24, therefore we have:

sin(t) = 24/a

=> a = 24/sin(t)

in triangle B, the base is 6, therefore we have:

cos(t) = 6/b

=> b = 6/cos(t)

therefore, the length of the ladder is given by:

L(t) = a + b = 24/sin(t) + 6/cos(t)

i think you can take it from here