tatielder4896
tatielder4896
30.07.2019 • 
Mathematics

Euler's method for a first order ivp y = f(x, y), y(xo) = yo is the the following algorithm. from (xo, yo) we define a sequence of approximations to the solution of the differential equation so that at the nth stage, we have xn = xn-1 + h, yn = yn-1 +h: f(xn-1, yn-1). in this exercise we consider the ivp y = ex-y with y(0.5) = 3. this equation is first order with exact solution y = ln(et - 0.5 + e®). use euler's method with h = 0.3 to complete the following table: in the first two rows enter the values of xn and yn and in the third row use the exact solution to find the errors en = y(xn) - ynl. a calculator or other scientific software would be handy to work these types of problem. you can always use answers given by explicit formulas which are very accurate. you need at least 4 significant digits. if your answer is marked wrong try entering a more accurate answer. n = o 1

Solved
Show answers

Ask an AI advisor a question