n = input( 'How many values should be used to calculate the numerical solution?\n')x= linspace(0, 2, n)h = x(2)-x(1)for i= 1:length(x) y_a = (x.^2+1/2+1).^2; y_euler = y +h*(1+4*x(i))*sqrt(y) end
I need to store y_euler in an array of y values.
Best Answer