This question already has an answer here:
The problem is question 3 of what I am about to download into this question. I drew a diagram of what the problem actually is, my professor has verified it's correct. I don't want an exact answer to this question, just a way to convert question 3 into an equation so that I can use programming to solve. I have software I have created that can solve for zeros of functions and minimums of functions numerically.
I am thinking that this is a problem of looking for some type of maximum because we want the biggest ladder that can fit through. Is this correct?
It's probably a nooby question, but my trignometry is pretty rusty. I have a feeling it will be blatantly obvious