Ejercicio Newton

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

%Ecuaciones no lineales

%e^(3x)-|x|=0
%metodo grafico

f1=inline('exp(3*x)','x')
f2=inline('abs(x)','x')
xx=[-1:0.01:0]
yy1=f1(xx);
yy2=f2(xx);
plot(xx,yy1,'r',xx,yy2,'m')
%clf : limpia la figura

You might also like