IMC Trading Interview Question

root of a quadratic function