(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known data

Use Euler's method with [tex]h = 1/2[/tex] to estimate [tex]y(1)[/tex] for the IVP:

[tex]y(0)=1[/tex] [tex]y'(t)=t^2-y(t)[/tex]

Assuming that [tex]|y(t)| \le 1[/tex] for [tex]0 \le t \le 1[/tex] determine the value of n needed to ensure that [tex]|E_n| \le 10^{-2}[/tex]

2. Relevant equations

[tex]|E_n| \le \frac{T}{L}(e^{L(t_n-t_0)-1})[/tex]

3. The attempt at a solution

The first part is easy enough:

[tex]y_1=y_0+f(t_0,y_0)h=1+f(0,1)(1/2)=1/2[/tex]

[tex]y_2=y_1+f(x_1,y_1)h=1/2-1/8=3/8[/tex]

[tex]\Rightarrow y(1)=3/8[/tex]

I'm having trouble with the second part. Could somebody help me out?

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Euler's Method - Global Error

**Physics Forums | Science Articles, Homework Help, Discussion**