secante1804.m - clc; clear; disp('METODO DE LA

This preview shows page 1 out of 1 page.

clc;clear;disp('METODO DE LA SECANTE');fun=input('f(x)=','s');f=inline(fun);Xo=input('Xo=');X1=input('X1=');TOL=input('TOL=');N=input('N=');i=1;aux=0;disp('iXi-1XiXi+1|Xi+1 - Xi|<0.01')while i<Nx=X1-(((f(X1)*(X1-Xo)))/(f(X1)-f(Xo)));fprintf('%d
End of preview. Want to read the entire page?

Upload your study docs or become a

Course Hero member to access this document

Term
Fall
Professor
NoProfessor
Tags
disp, 0 01, 4 6f

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture