the crossing ladders

two ladders lean against opposite walls. lengths a and b. they cross at height h above the floor. what's the distance w between the walls? you get a quartic. it does have a closed form in radicals (ferrari, 1540s), it's just ugly enough that bisection is the sane way in. slide the ladders and watch w fall out.