文件名称:bisection
介绍说明--下载内容来自于网络,使用问题请自行百度
Step 1: Set i=1 FA=f(a)
Step 2: while i≤ No do step 3-6.
Step 3 set p=(a+b)/2 FP=f(p)
Step 4 if FP<TOL or (b-a)/2<TOL then OUTPUT(p) STOP.
Step 5 set i=i+1
Step 6 if FA.FP > 0 then set a=p FA=FP else set b=p.
Step 7 OUTPUT (‘Method failed after No iteration,No=’, No) STOP.-Step 1: Set i=1 FA=f(a)
Step 2: while i≤ No do step 3-6.
Step 3 set p=(a+b)/2 FP=f(p)
Step 4 if FP<TOL or (b-a)/2<TOL then OUTPUT(p) STOP.
Step 5 set i=i+1
Step 6 if FA.FP > 0 then set a=p FA=FP else set b=p.
Step 7 OUTPUT (‘Method failed after No iteration,No=’, No) STOP.
Step 2: while i≤ No do step 3-6.
Step 3 set p=(a+b)/2 FP=f(p)
Step 4 if FP<TOL or (b-a)/2<TOL then OUTPUT(p) STOP.
Step 5 set i=i+1
Step 6 if FA.FP > 0 then set a=p FA=FP else set b=p.
Step 7 OUTPUT (‘Method failed after No iteration,No=’, No) STOP.-Step 1: Set i=1 FA=f(a)
Step 2: while i≤ No do step 3-6.
Step 3 set p=(a+b)/2 FP=f(p)
Step 4 if FP<TOL or (b-a)/2<TOL then OUTPUT(p) STOP.
Step 5 set i=i+1
Step 6 if FA.FP > 0 then set a=p FA=FP else set b=p.
Step 7 OUTPUT (‘Method failed after No iteration,No=’, No) STOP.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
bisection.m
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.