a+x^2=b
↓
sqrt(b-a);