a=0;b=3;fa=a^3-3.*a^2-a+3;fb=b^3-3.*b^2-b+3;c=(a+b)./2;fc=c^3-3.*c^2-c+3;if fa*fb>0,break,endwhile abs(fc)>0.5*10^(-4) c=(a+b)/2;fc=c^3-3.*c^2-c+3;if fb*fc>0 b=c; fb=fc;else a=c; fa=fc;endendformat longfx=fc,x=c??? Error: A BREAK statement appeared outside of a loop. Use RETURN instead.
大神帮我看看那出问题了