photo

Steve Areola


Last seen: 10 months ago Active since 2023

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
RK4 Function Code
clc a=0;b=2;N=10;alph=0.5; h=(b-a)/N;t(1)=a;w(1)=alph; f=@(t,y) y-t^2+1; for i=2:N+1 k1= h*f(t(i-1),w(i-1)); k2= h...

10 months ago | 0

Answered
Euler's method
clc a=0;b=2;N=10; alph=0.5; h=(b-a)/N; t(1)=a; w(1)=alph; f = @(t,y) y-t^2+1; for i=2:N+1 t(i)=a+(i+1)*h; w(i)=w(i...

10 months ago | 0

Answered
Composite Simpson's 1/3 rule code error
clc a=0;b=2;n=8; h=(b-a)/n; f=@(x) exp(2*x)*sin(3*x); XI0= f(a) +f(b); XI1 = 0; XI2 = 0; for i = 1:n-1 x = a+i*h; ...

10 months ago | 0

Answered
Secant
clc p0 = 0; p1 = 1; tol = 10^-6; N=12; i = 2; f = @(x) %write function; q0 = f(p0); q1 = f(p1); while i<=N p = p1- (q1...

10 months ago | 0