We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write a PHP program to find roots of quadratic equation
Use the quadratic formula to find the roots of the quadratic equation
x = $(-b &plusmn \sqrt(b^2 - 4ac))/2a$
The input will be the coefficients of $x^2$, $x$, and the constant $c$.
Input : 1 2 1 Output : -1 -1
Contributed by - @PavanKumarCB
find_roots_of_quadratic_equation.php
program/find-roots-of-quadratic-equation
The text was updated successfully, but these errors were encountered:
!assign
Sorry, something went wrong.
Roybas2001
Successfully merging a pull request may close this issue.
Description
Write a PHP program to find roots of quadratic equation
Use the quadratic formula to find the roots of the quadratic equation
x =$(-b &plusmn \sqrt(b^2 - 4ac))/2a$
The input will be the coefficients of$x^2$ , $x$ , and the constant $c$ .
Contributed by - @PavanKumarCB
How to contribute
find_roots_of_quadratic_equation.php
filefind_roots_of_quadratic_equation.php
file inprogram/find-roots-of-quadratic-equation
folderThe text was updated successfully, but these errors were encountered: