# Solve Quadratic Equation

**Formula:**`x = (-b ± √(b²-4ac)) / (2a)`

## Introduction to Solve Quadratic Equation Calculator

A quadratic equation is a second-degree polynomial equation in a single variable x, with a ≠ 0. It can be written in the form ax²+ bx + c = 0. The solutions to this equation, known as the roots, can be found by using the quadratic formula.

## Parameter usage:

`a`

= coefficient of x²`b`

= coefficient of x`c`

= constant term

## Output:

`roots`

= solutions to the quadratic equation

## Data validation

`a`

should not be zero and the discriminant should not be negative to have real solutions.

## Summary

This calculator uses the coefficients of the quadratic equation to find its roots, which could be real or complex numbers.