Docsity

Runge-Kutta Methods - Engineering Mathematics, Lecture notes of Engineering Mathematics

Partial preview of the text

Download Runge-Kutta Methods - Engineering Mathematics and more Lecture notes Engineering Mathematics in PDF only on Docsity!

Module 3

Lesson 3

Runge-Kutta Methods

Edgar M. Adina

Instructor

CE50P- 2

Numerical Solutions to Engineering Problems

Recall: Eulerโ€™s Method ฮฆ Step size, h x y x 0 ,y 0 True value y 1 , Predicted value Graphical interpretation of the first step of Eulerโ€™s method Consider the first order differential equation in the form of f ( x y ) dx dy = , With initial condition: ๐‘ฆ^0 =^ ๐‘ฆ(๐‘ฅ^0 ) Then, ๐‘ฆ๐‘–+ 1 = ๐‘ฆ๐‘– + ๐‘“ ๐‘ฅ๐‘–, ๐‘ฆ๐‘– โ„Ž Where โ„Ž = ๐‘ฅ๐‘– โˆ’ ๐‘ฅ๐‘–โˆ’ 1 ๐‘“๐‘œ๐‘Ÿ ๐‘– = 1 , 2 , 3 , โ€ฆ , ๐‘›

3 rd Order Runge-Kutta Consider the first order differential equation in the form of f ( x y ) dx dy = , With initial condition: ๐‘ฆ 0 =^ ๐‘ฆ(๐‘ฅ 0 ) Then, ๐‘ฆ๐‘–+ 1 = ๐‘ฆ๐‘– +

Where โ„Ž = ๐‘ฅ๐‘– โˆ’ ๐‘ฅ๐‘–โˆ’ 1 ๐‘“๐‘œ๐‘Ÿ ๐‘– = 1 , 2 , 3 , โ€ฆ , ๐‘›

4 th Order Runge-Kutta Consider the first order differential equation in the form of f ( x y ) dx dy = , With initial condition: ๐‘ฆ 0 =^ ๐‘ฆ(๐‘ฅ 0 ) Then, (^) ๐‘ฆ ๐‘–+ 1 =^ ๐‘ฆ๐‘– +^

Where โ„Ž = ๐‘ฅ๐‘– โˆ’ ๐‘ฅ๐‘–โˆ’ 1 ๐‘“๐‘œ๐‘Ÿ ๐‘– = 1 , 2 , 3 , โ€ฆ , ๐‘›