function dv = g(t,v) % function to find velocity dv = 143 - 0.0071*v.^2 % Detailed explanation goes here