PHP Classes

File: QuickTestFile.php

Recommend this page to a friend!
  Classes of Samuel Adeshina   PHP Equation Solver   QuickTestFile.php   Download  
File: QuickTestFile.php
Role: Unit test script
Content type: text/plain
Description: You can use this test file to quickly solve an equation by just passing it as a get variable
Class: PHP Equation Solver
Solve linear, quadratic and polynomial equations
Author: By
Last change:
Date: 8 years ago
Size: 249 bytes


Class file image Download
$equation = "xe2 + 5x - 20 = 8x + 20";
$errors = true;
$equation = new Solve($equation, $errors);
//$var = $equation->solution()[0];
$solutions = $equation->solution()[1];