sqrt(1-sqrt(2-sqrt(3-x)))