步骤如下: Begin step 1:输入n。 step 2:定义f(x)= x^2-n。 step 3:输入区间左端点 a、右端点b及计算误差d。 step 4:判断f(a)=0,若是,则a就是方程的根。
www.google.com.tw