SHARE
TWEET

Untitled

Minzjustcmonffs Jun 18th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. clc
  2. close all
  3. clear all
  4. %f(x)=2*sin-x;
  5. %g2(x)=2*(sqrt(1-(cos(x))^2))
  6. g=inline('2*(sqrt(1-(cos(x))^2))');
  7. %g=inline('2*sin(x)');
  8. %g=inline('arcsin((1/2)*x)')
  9. x0=1;
  10. itmax=50;
  11. eps=0.00001;
  12. [alpha,erreur,niter]= pointfixe(g,x0,itmax,eps)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top