Professional Documents
Culture Documents
2
2
Formula: b2-4*a*c
When the values of variables change your output should change accordingly.
<?php
$a=8;
$b=6;
$c=5;
$result = ($b * $b)-4* $c * $a;
echo "Delta= ", $result ," where the solution calculated using",$b,"^2 - 4 *",$a,"*",$c;
?>