Смекни!
smekni.com

Interpolation, approximation and differential equations solvers (стр. 3 из 4)

It should be noted that even in case of two points method we have to calculate values of the function in related to

Interpolation, approximation and differential equations solvers,
Interpolation, approximation and differential equations solvers, this values could be evaluated by linear interpolation (because it is necessary to avoid oscillations), so estimation of integration error become very complicated process, but this error will be less or equal to trapezoidal rule.

Mechanism of Gauss-Chebyshev method is almost the same like described above, and integration error will be almost the same, so there is no reason to use such methods for the current problem.

Problem 3

3.1 Problem definition

It is well known that the third order Runge-Kutta method is of the following form

Interpolation, approximation and differential equations solvers,
Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers

Suppose that you are asked to derived a new third order Runge-Kutta method in the following from

Interpolation, approximation and differential equations solvers,
Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers

Find determine the unknowns

Interpolation, approximation and differential equations solvers,
Interpolation, approximation and differential equations solvers,
Interpolation, approximation and differential equations solvers and
Interpolation, approximation and differential equations solvers so that your scheme is a third order Runge-Kutta method.

3.2 Problem solution

Generally Runge-Kutta method looks like:


Interpolation, approximation and differential equations solvers,

where coefficients

Interpolation, approximation and differential equations solvers could be calculated by the scheme:

Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers

The error function:

Interpolation, approximation and differential equations solvers

Coefficients

Interpolation, approximation and differential equations solvers,
Interpolation, approximation and differential equations solvers,
Interpolation, approximation and differential equations solvers must be found to satisfy conditions
Interpolation, approximation and differential equations solvers, consequently we can suppose that for each order of Runge-Kutta scheme those coefficients are determined uniquely, it means that there are no two different third order schemes with different coefficients. Now it is necessary to prove statement.

For

Interpolation, approximation and differential equations solvers,
Interpolation, approximation and differential equations solvers:

Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers;
Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers;
Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers;
Interpolation, approximation and differential equations solvers;
Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers;
Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers;
Interpolation, approximation and differential equations solvers;
Interpolation, approximation and differential equations solvers

Thus we have system of equations:

Interpolation, approximation and differential equations solvers

Some of coefficients are already predefined:

Interpolation, approximation and differential equations solvers;
Interpolation, approximation and differential equations solvers;
Interpolation, approximation and differential equations solvers;
Interpolation, approximation and differential equations solvers;
Interpolation, approximation and differential equations solvers;
Interpolation, approximation and differential equations solvers;
Interpolation, approximation and differential equations solvers;
Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers

Interpolation, approximation and differential equations solvers

Obtained results show that Runge-Kutta scheme for every order is unique.

Problem 4

4.1 Problem definition

Discuss the stability problem of solving the ordinary equation

Interpolation, approximation and differential equations solvers,
Interpolation, approximation and differential equations solvers via the Euler explicit scheme
Interpolation, approximation and differential equations solvers, say
Interpolation, approximation and differential equations solvers. If
Interpolation, approximation and differential equations solvers, how to apply your stability restriction?

4.2 Problem solution

The Euler method is 1st order accurate. Given scheme could be rewritten in form of:

Interpolation, approximation and differential equations solvers

If

Interpolation, approximation and differential equations solvers has a magnitude greater than one then
Interpolation, approximation and differential equations solvers will tend to grow with increasing
Interpolation, approximation and differential equations solvers and may eventually dominate over the required solution. Hence the Euler method is stable only if
Interpolation, approximation and differential equations solvers or:

Interpolation, approximation and differential equations solvers

For the case

Interpolation, approximation and differential equations solvers mentioned above inequality looks like:

Interpolation, approximation and differential equations solvers

Last result shows that integration step mast be less or equal to

Interpolation, approximation and differential equations solvers.

For the case

Interpolation, approximation and differential equations solvers, for the iteration method coefficient looks like