roam
- 1,265
- 12
Homework Statement
I have some trouble understanding the following solved problem:
http://img808.imageshack.us/img808/3340/euler2.jpg
This is the solutions they have given us:
E(32 \ steps) = 0.00097030
E(64 \ steps) = 0.00003202
32 steps has h=0.625
64 steps has h= 0.03125
The formula for effective order at stepsize h is
q= \frac{\ln |E(2h)|- \ln |E(h)|}{\ln 2}
\therefore q (0.03125)= \frac{\ln |E(0.625)|- \ln |E(0.03125)|}{\ln 2} \approx 4.92
The Attempt at a Solution
So I don't understand how they figured out that 32 steps has a step size of 0.625? What is the relationship between the stepsize and number of steps?

I used to think that step size and the number of steps were related like this:
h = \frac{1}{step \ size}
But using this, for 32 steps I get a step size of h=1/32=0.03125, and for 64 steps I get h=1/64=0.0156. The only way I can get the correct answer is to multiply the denominator by 2, but why should I do that?
So, what's the problem with what I'm doing? Is my method wrong, or is that a typo in the given answers?
Last edited by a moderator: