Feeds
질문
somebody help me please! I've gone over the irritation of approx_sqrt and the only way I've got each value of the function while using a calculator it was if I used y=2
format long g approx_sqrt(2) function y=approx_sqrt(x) y=x; while abs(y^2-x)>0.001*x y=(x/y+y)/2 end end
2년 초과 전 | 답변 수: 1 | 0