Feeds
질문
How can I change this code to euler backward method? (implicit method)
f = @(t,y) -100000*y + 99999*exp(-t); t0 = 0; y0 =0; h = 0.01; tn = 2; n = (tn-t0)/h; t(1)=t0; y(1)=y0; for i=1:n t(i+...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can I change this explicit method code to the implicit method code?
f = @(t,y) -100000*y + 99999*exp(-t); t0 = 0; y0 =0; h = 0.01; tn = 2; n = (tn-t0)/h; t(1)=t0; y(1)=y0; for i=1:n t(i+...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can I change this explicit method code to the implicit method code?
f = @(t,y) -100000*y + 99999*exp(-t); t0 = 0; y0 =0; h = 0.01; tn = 2; n = (tn-t0)/h; t(1)=t0; y(1)=y0; for i=1:n t(i+...
3년 초과 전 | 답변 수: 0 | 0
