 # PHP Equation Solver: Solve linear, quadratic and polynomial equations   Download .zip
 Info Example View files (5)  Download .zip Reputation Support forum (1) Blog Links
 Ratings Unique User Downloads Download Rankings    62% Total: 375 All time: 6,747 This week: 201 Version License PHP version Categories equation-solver 1.2 BSD License 5 PHP 5, Math
Description

Author

This class can solve linear, quadratic and polynomial equations.

It takes a string with a given equation with coefficients and variables and parses the equation.

The class can simplify and solve the equation. Performance Level
Name: Classes: Samuel Adeshina is available for providing paid consulting. Contact Samuel Adeshina . 19 packages by Samuel Adeshina Nigeria 24 527 2 in Nigeria 398 12 in Nigeria  Innovation award Nominee: 7x

Winner: 1x

## Example

 ```         Equation Solver | Solve Your Everyday Maths Equation Problem

Equation Solver

Show error messages: true  false

solution();         \$solutions = \$equation->solution();         echo "

";         echo "
The equation \"\$equation->equation\" which you asked me to solve is a \"\$equation->equationType Equation\"
The Solution(s) is/are:
";         foreach (\$solutions as \$solution)         {             if (is_nan(\$solution))             {                 \$solution = \$solution . "  (Solution results in Complex Numbers)";             }             if (\$solution == \$solutions)             {                 echo "
\$var = \$solution
";             }             else             {                 echo "or
\$var = \$solution
";             }         }         echo "

";     }     else     { echo <<<_END

Examples of equations you can try out (Just copy and paste them into the text box)

1. -1019b + 14b - 81b - 2000 + 48b = 800b - 8080 + 41b
2.
3. 8x + 4x - 3x - 100 = -99x + 11
4.
5. xE2 + 5x - 20 = 8x + 20
6.
7. Ae2 - 1A + 1 = 0
8.
_END;     } ?>

```

# Equation-Solver

A PHP Class that parses and solves different type of equations Files
File Role Description EquationSolver.php Class Class source  LICENSE Lic. License text  QuickTestFile.php Test You can use this test file to quickly solve an equation by just passing it as a get variable  README.md Data Documentation  test.php Example Example script

 All time: 6,747 This week: 201 All time Utility: 91%     83%     - 83%     - - 62%    1124 About us Advertise on this site Site map Newsletter Statistics Site tips Privacy policy Contact
For more information send a message to `info at phpclasses dot org`.