Recent content by Destiny O

  1. D

    How do I find the roots of a polynomial in php using arrays?

    Yeah, so I need to find the roots of a polynomial in php using arrays. So far, I have a functions page with: function rootsPolynomials($poly,$x) { $array = array($a,$b,$c); // ax^2 + bx + c = 0then I need to solve for x??? return ($a * (pow($x,2))) + ($b * $x) + $c == 0; } and then I have my...
Back
Top