200 likes | 219 Views
1. Second order) RK method is K 1 = h f(x i , y i ) K 2 = h f(x i + h/2, y i + K 1 /2 ) y i+1 = y i + ( K 2 ) for i = 0, 1, 2 . . . or equivalently
E N D
1. Second order) RK method is K1 = h f(xi, yi)K2 = h f(xi + h/2, yi+ K1 /2)yi+1 = yi+ ( K2 ) for i = 0, 1, 2 . . . or equivalently yi+1 = yi+ h f(xi + h/2, yi+ h f(xi, yi)/2) for i = 0, 1, 2 . . . 2. RK method of order three (v = 3) K1 = h f(xi, yi) K2 = h f(xi + h/2, yi + K1 /2) K3 = h f(xi + h, yi - K1 + 2K2 ) yi+1 = yi + ( K1 + 4K2 + K3 )/6 3. RK method of order four (v = 4) K1 = h f(xi, yi) K2 = h f(xi + h/2, yi + K1 /2) K3 = h f(xi + h/2, yi + K2 /2) K4 = h f(xi + h, yi + K3 ) yi+1 = yi + ( K1 + 2K2 + 2K3 + K4 )/6
Assignment - 3 Q 1 Q 2 Q 3