You are on page 1of 1

y = 3;

t =0;
i =1;
while y(i) > 0
t = t + 0.5;
y(i+1) = y(i)+0.5*(-0.06)*sqrt(y(i));
end

You might also like