Question
php graph an equation
Hi All,
I am struggling with how to graph an equation over its full range. How would one code x squared then call it up to be graphed at each 0.1 increment?
The closest that I have gotten is:
$equ = pow($x,2);
$data = array();
for($x = 0; $x <= 5; $x+.1)$data[ ] = array(' ', $equ);
Thank you All.
Gary
