Can it solve this one: there is a box of size AxB standing in in the corner of the wall and the floor. There is a ladder of length L, which stands against the wall and just touches the box. The slope of the ladder is bigger than X degrees.