Source: https://www.uvm.edu/~cvincen1/files/teaching/spring2017-math255/quadraticequation.pdf