mahmoud mohamed abd el kader
Followers: 0 Following: 0
Feeds
已回答
Runge-Kutta 4th order method
function [x,y] = rk4th(dydx,xo,xf,yo,h) x = xo:h:xf ; y = zeros(1,length(x)); y(1)= yo ; for i = 1:(length(x)-1) k...
Runge-Kutta 4th order method
function [x,y] = rk4th(dydx,xo,xf,yo,h) x = xo:h:xf ; y = zeros(1,length(x)); y(1)= yo ; for i = 1:(length(x)-1) k...
4 years 前 | 0
已回答
Matlab code help on Euler's Method
h=0.5; x=0:h:4; y=zeros(size(x)); y(1)=1; n=numel(y); for i = 1:n-1 dydx= -2*x(i).^3 +12*x(i).^2 -20*x(i)+8.5 ; y...
Matlab code help on Euler's Method
h=0.5; x=0:h:4; y=zeros(size(x)); y(1)=1; n=numel(y); for i = 1:n-1 dydx= -2*x(i).^3 +12*x(i).^2 -20*x(i)+8.5 ; y...
4 years 前 | 3