RungeKutta 4 th Order Method 1 RungeKutta 4
- Slides: 14
Runge-Kutta 4 th Order Method 1
Runge-Kutta 4 th Order Method For Runge Kutta 4 th order method is given by where 2
How to write Ordinary Differential Equation How does one write a first order differential equation in the form of Example is rewritten as In this case 3
Example A ball at 1200 K is allowed to cool down in air at an ambient temperature of 300 K. Assuming heat is lost only due to radiation, the differential equation for the temperature of the ball is given by Find the temperature at Assume a step size of 4 seconds using Runge-Kutta 4 th order method. seconds.
Solution Step 1: 5
Solution Cont is the approximate temperature at 6
Solution Cont Step 2: 7
Solution Cont q 2 is the approximate temperature at 8
Solution Cont The exact solution of the ordinary differential equation is given by the solution of a non-linear equation as The solution to this nonlinear equation at t=480 seconds is 9
Comparison with exact results Figure 1. Comparison of Runge-Kutta 4 th order method with exact solution 10
Effect of step size Table 1. Temperature at 480 seconds as a function of step size, h Step size, h 480 240 120 60 30 q (480) Et − 90. 278 737. 85 113. 94 594. 91 52. 660 8. 1319 646. 16 1. 4122 0. 21807 647. 54 0. 033626 0. 0051926 647. 57 0. 00086900 0. 00013419 (exact) 11 |єt|%
Effects of step size on Runge. Kutta 4 th Order Method Figure 2. Effect of step size in Runge-Kutta 4 th order method 12
Comparison of Euler and Runge. Kutta Methods Figure 3. Comparison of Runge-Kutta methods of 1 st, 2 nd, and 4 th order. 13
THE END 14
- 1st order 2nd order 3rd order neurons
- Advantages and disadvantages of symposium
- Natural order and inverted order examples
- First order change
- Personal selling plan
- Difference between zero and first order kinetics
- Zero order kinetics
- Law is order and good law is good order
- Order/properties-order
- In order issue in order completion example
- Superscalar architecture diagram
- Arbol in order post order
- First order cybernetics and second order cybernetics
- What is the order of the scientific method
- Bairstow's method