Putting Different Equations Into Matlab