- #1

- 52

- 0

if found h = tn - to/n??

i know what value of "to" is but no clue what values to put in for n and tn?

thanks

- Thread starter Struggling
- Start date

- #1

- 52

- 0

if found h = tn - to/n??

i know what value of "to" is but no clue what values to put in for n and tn?

thanks

- #2

Integral

Staff Emeritus

Science Advisor

Gold Member

- 7,201

- 56

If I am interpreting what you are saying correctly, h is your time step, the errors of a 2nd order RK method are on the order of h^{5}. It looks to me like your t_{0} is the starting time, therefore t_{n} is the time end point, n is the number of time steps you are taking so your h is the time interval divided by the number of time steps.

for example let:

t_{0}=0

t_{n}=100

n=1000

[tex] h = \frac {t_n - t_0} n = \frac {100 - 0} {1000} = .1 [/tex]

for example let:

t

t

n=1000

[tex] h = \frac {t_n - t_0} n = \frac {100 - 0} {1000} = .1 [/tex]

Last edited:

- Replies
- 6

- Views
- 23K

- Last Post

- Replies
- 1

- Views
- 6K

- Last Post

- Replies
- 3

- Views
- 707

- Last Post

- Replies
- 5

- Views
- 3K

- Replies
- 14

- Views
- 3K

- Last Post

- Replies
- 1

- Views
- 4K

- Last Post

- Replies
- 6

- Views
- 13K

- Last Post

- Replies
- 3

- Views
- 3K

- Replies
- 6

- Views
- 7K

- Last Post

- Replies
- 0

- Views
- 8K