34 hits, 0 replies.
I got alpha = gamma/2 - 5/4, beta = 1/2, and gamma is free. Alternatively, gamma can be defined in terms of alpha.
Now I am to figure out the stability of this method. Gotta figure out how...
"Find the values of alpha, beta, and gamma in the following difference method:
I started by Taylor expanding all the terms in h. For example:
and so on for the other terms.
My two questions are:
1. What do I do with the f' and f'' terms? Should f' become (f_(i+1) - f_i)/h, etc.?
2. Once I have done all of this, is it as simple as plugging in all the w's and f's into the original difference equation, isolating like terms, and solving for alpha, beta, and gamma?