Fun - else disp('The Trial Function Does Not Converge!') end

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
syms y g x y=1/3*sqrt(2+x-exp(2*x)) g=diff(y) g1=subs(g,-1) g2=subs(g,-1) if (abs(g1)<=1)||(abs(g2)<=1) fprintf('converges and will be used for iteration')
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: else disp('The Trial Function Does Not Converge!') end...
View Full Document

Ask a homework question - tutors are online