Feeds
질문
I have 4 step Adams - Bashforth method code. It works. But the results are bad. And plot function gives an error
f = @(t, y) cos(2*t + y) + (3/2)*(t - y); y0 = 1; a = 0; b = 1; N0 = 10; p = 4; % 4-step Adams-Bashforth j = 1; for k = 0...
거의 2년 전 | 답변 수: 1 | 0
1
답변질문
I have symmetric Euler method. Error ratio with Runge - Kuta rule should be approximately 4. But I get 2. The order is p=2.
Symmetric_Euler_Method() function results_table = Symmetric_Euler_Method() y0 = newton(@(y) y - 1, 1, 1e-6); x0 = 0; xN = ...
거의 2년 전 | 답변 수: 1 | 0
1
답변질문
Change BDF 2 step method into BDF 4 step method
%% 2step BDF method f =@(t, y) cos(2*t + y) + (3/2)*(t - y); y0= 1; a = 0; b = 1; N0= 10; p =...
거의 2년 전 | 답변 수: 1 | 0