$a/2){ $y=$a*$x**2+$b*sin(($a/2)**2); echo $y; } if($x>=$a/3 and $x<$b){ $y=($b+1)/2+$a*cos($a**3); echo $y; } //second task $b=11.83; $x=2.6; $n=8; $step=0.15; for($i=0;$i<8;$i++){ $y=$b*$x**2+exp($x-1); echo $y."
"; $x+=$step; } ?>