Basic-Python-Programs icon indicating copy to clipboard operation
Basic-Python-Programs copied to clipboard

Quadratic Equation Solver

Open yash373 opened this issue 1 year ago • 0 comments

Add Quadratic Equation Solver

Description

This pull request adds functionality to solve quadratic equations of the form ax^2 + bx + c = 0. The solver uses the quadratic formula

It handles real and complex roots depending on the discriminant value (b^2 - 4ac). The function returns either two real roots or two complex roots if the discriminant is negative.

yash373 avatar Sep 13 '24 09:09 yash373