Pemodelan Dan Metode Numerik (Modeling and Numerical Methods)
Pemodelan Dan Metode Numerik (Modeling and Numerical Methods)
ODE
(ORDINARY DIFFERENTIAL EQUATIONS)
Runge-Kutta Methods
Solving ODEs of the form
k1 = f(0,1)
k1 = 2(0)3 + 12(0)2 20(0) + 8.5 = 8.5
k2 = 2(0.25)3 + 12(0.25)2 20(0.25) + 8.5 = 4.21875
y(0.5) = 1 + 4.21875(0.5) = 3.109375
y(1) = ?
k1 = f(0.5,3.1)
10
Group assignment
Group Assignment
11
Group Assignment #3
1. Solve manually the following problem over the interval from x =
0 to 1 using a step size of 0.25 where y(0) = 1.
12
Group Assignment #3
Work in pairs (1 group = 2 members)
Print out the result, screenshot, and source code for no. 2.
For the source code, print only part of the source code where the calculation
is performed.
13