Google Sheets to PHP Persamaan

#Note: To get correct line of best fit be sure to map data vs 1,2,3,4
$y=261*(pow(exp(1),(0.417*$x))); //expontential
$y = 0.0119*pow($x,-1.03); //power series
$y=528*$x-79; //linear
Friendly Hawk