![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/16694940_1572205580174_DEF.jpg)
ahmed abdelmageed
Followers: 0 Following: 0
Feeds
已回答
code of euler's method
function E=euler(f,a,b,ya,M) h=(b-a)/M; Y=zeros(1,M+1); T=a:h:b; Y(1)=ya; for j=1:M Y(j+1)=Y(j)+h*f(T(j)); end E=[T'...
code of euler's method
function E=euler(f,a,b,ya,M) h=(b-a)/M; Y=zeros(1,M+1); T=a:h:b; Y(1)=ya; for j=1:M Y(j+1)=Y(j)+h*f(T(j)); end E=[T'...
4 years 前 | 0