Community Profile

photo

Michalis


Active since 2013

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Question


consider the differential equation dy dx = f(x, y) = x + y on the interval [0,2] with y(0)=2. Write down all the commands for the MATLAB function euler that computes the Euler method.
function [X,Y] = euler1(x,xf,y,n) h = (xf - x)/n; % step size X = x; % initial x Y = y; % initial y for i = 1...

11 years ago | 0 answers | 0

0

answers