value tolerance, given values x1,x2
repeat
set x3=(x1+x2)/2
if f(x3)*f(x1)<0 than
set x2=x3
else
set x1=x3
end if
until (|x1-x2|)<2*Tolerance
(final value of x3 approximates the root)
bilgisayar bilimleri,action script,flash,flash design,c,c++,python,programlama dilleri,web programlama,action script 2.0,action script 3.0,linux,donanım,action script dersleri,java
value tolerance, given values x1,x2
repeat
set x3=(x1+x2)/2
if f(x3)*f(x1)<0 than
set x2=x3
else
set x1=x3
end if
until (|x1-x2|)<2*Tolerance
Hiç yorum yok:
Yorum Gönder