Formula Sheet
Formula Sheet
Bisection method: 𝑥𝑙 + 𝑥2
𝑥𝑟 =
2
Linear model: 𝑦 = 𝑎1 𝑥 + 𝑎0
Power model: 𝑦 = 𝛼𝑥 𝛽
Exponential model: 𝑦 = 𝛼𝑒 𝛽𝑥
Saturated growth 𝑥
𝑦=𝛼
model: 𝛽+𝑥
Polynomial model: 𝑦 = 𝑎0 + 𝑎1 𝑥 + 𝑎2 𝑥 2
𝑛 ∑𝑥 ∑ 𝑥2 ∑𝑦
𝑎0
∑𝑥 ∑ 𝑥2 ∑ 𝑥 3 [𝑎1 ] = ∑ 𝑥𝑦
𝑎2
2
[∑ 𝑥 ∑ 𝑥3 ∑𝑥 ]4 2
[∑ 𝑥 𝑦]
Gradient/slope: 𝑛 ∑ 𝑥𝑦 − ∑ 𝑥 ∑ 𝑦
𝑎1 =
𝑛 ∑ 𝑥 2 − (∑ 𝑥)2
Intercept: 𝑎0 = 𝑦̅ − 𝑎1 𝑥̅
Correlation: 𝑛 ∑ 𝑥𝑦 − (∑ 𝑥)(∑ 𝑦)
𝑟=
√𝑛 ∑ 𝑥 2 − (∑ 𝑥)2 √𝑛 ∑ 𝑦 2 − (∑ 𝑦)2
Polynomial 𝑓1 (𝑥) = 𝑏0 + 𝑏1 (𝑥 − 𝑥0 )
interpolation:
𝑓2 (𝑥) = 𝑏0 + 𝑏1 (𝑥 − 𝑥0 ) + 𝑏2 (𝑥 − 𝑥0 )(𝑥 − 𝑥1 )
Where:
𝑏0 = 𝑓(𝑥0 )
𝑓(𝑥1 ) − 𝑓(𝑥0)
𝑏1 =
𝑥1 − 𝑥0
𝑏3 = [ ] [ ]
𝑥3 − 𝑥0
Where
𝑘1 = 𝑓(𝑥𝑖 , 𝑦𝑖 )
𝑘2 = (𝑥𝑖 + ℎ , 𝑦𝑖 + 𝑘1 ℎ)
𝑘1 = 𝑓(𝑥𝑖 , 𝑦𝑖 )
1 1
𝑘2 = (𝑥𝑖 + ℎ , 𝑦𝑖 + 𝑘1 ℎ)
2 2
Where
𝑘1 = 𝑓(𝑥𝑖 , 𝑦𝑖 )
3 3
𝑘2 = (𝑥𝑖 + ℎ , 𝑦𝑖 + 𝑘1 ℎ)
4 4
Runge-Kutta 3rd 1
𝑦𝑖+1 = 𝑦𝑖 + (𝑘1 + 4𝑘2 + 𝑘3 )ℎ
order: 6
𝑘1 = 𝑓(𝑥𝑖 , 𝑦𝑖 )
1 1
𝑘2 = 𝑓(𝑥𝑖 + ℎ , 𝑦𝑖 + 𝑘1 ℎ)
2 2
𝑘3 = 𝑓(𝑥𝑖 + ℎ , 𝑦𝑖 − 𝑘1 ℎ + 2𝑘2 ℎ)
Where
𝑘1 = 𝑓(𝑥𝑖 , 𝑦𝑖 )
1 1
𝑘2 = (𝑥𝑖 + ℎ , 𝑦𝑖 + 𝑘1 ℎ)
2 2
1 1
𝑘3 = (𝑥𝑖 + ℎ , 𝑦𝑖 + 𝑘2 ℎ)
2 2
𝑘4 = 𝑓(𝑥𝑖 + ℎ , 𝑦𝑖 + 𝑘3 ℎ)