Which of the following is a quadratic equation?

A. using

This is not of the form hence it is not quadratic equation.

B. using

This is of the form i.e. of degree 2 (a ≠ 0, a, b, c are real numbers)

Hence this is a quadratic equation.