0% found this document useful (0 votes)
62 views4 pages

Contoh Curve Fitting: Non Linear Regression

The document summarizes performing a non-linear regression curve fit to data. It contains: 1) Data with x and y values and a plot of the data. 2) Calculations to determine the coefficients a0, a1, and a2 of a second order curve model. 3) The determined curve model equation and forecasted y value for x=4.5.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views4 pages

Contoh Curve Fitting: Non Linear Regression

The document summarizes performing a non-linear regression curve fit to data. It contains: 1) Data with x and y values and a plot of the data. 2) Calculations to determine the coefficients a0, a1, and a2 of a second order curve model. 3) The determined curve model equation and forecasted y value for x=4.5.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

TUGAS 3 (30 % UTS)

Mata Kuliah Pemodelan dan Simulasi


Dosen Pengampu: Aodah Diamah, ST., M.Eng.
Nama : Citra Oditya Retno
NIM : 1513617043

Curve Fitting Non Linear Regression with Notes

 Fit a second order curve to the following data:


X =( 0 0,5 11,5 2 2,5 )
Y =(0,0674−0,9156 1,6253 3,0377 3,35357,9409)

 Using the model that you have found, forecast the value of y for x=4,5.

Data:
i 1 2 3 4 5 6
xi 0 0,5 1 1,5 2 2,5
yi 0,0674 -0,9156 1,6253 3,0377 3,3535 7,9409

Curva:

y vs. x
10
7.94
8

3.35
yi

4 3.04
1.63
2
0.07
0 -0.92
0 0.5 1 1.5 2 2.5 3
-2

xi
i 1 2 3 4 5 6 Σ
xi 0 0,5 1 1,5 2 2,5 7,5
yi 0,0674 -0,9156 1,6253 3,0377 3,3535 7,9409 15,1092
x i2 0 0,25 1 2,25 4 6,25 13,75
x i3 0 0,125 1 3,375 8 15,625 28,125
x i4 0 0,0625 1 5,0625 16 39,0625 61,1875
xi . yi 0 -0,4578 1,6253 4,5565 6,707 19,8522 32,2832
x i2 . y i 0 -0,2289 1,6253 6,8348 13,414 49,6306 71,2758

Perhitungan matematis:

n Σ x i Σ x i2 a0 Σ yi

[ 2 3

] [] [ ]
A= Σ x i Σ xi Σ x i ; X = a 1 ; B= Σ xi . y i
Σ x i2 Σ xi3 Σ x i4 a2 Σ x i2 . y i

dengan AX=B ,maka X =A−1 . B

a0 6 7,5 13,75 15,1092

a2[] [
X = a 1 =inv 7,5 13,75 28,125 ∙ 32,2832
13,75 28,125 61,1875 71,2758 ][ ]
Dengan menggunakan rumus MINVERSE pada Excel, didapatkan nilai inverse dari matriks A
yaitu:

0,821429 −1,178571 0,357143


−1

[
A = −1,178571 2,9071429 −1,07143
0,357143 −1,071429 0,428571 ]
Dan dengan fungsi MMULT pada Excel, didapatkan hasil perkalian A−1 . B ,

0,821429 −1,178571 0,357143 15,1092

[
X =A −1 . B= −1,178571 2,9071429 −1,07143 ∙ 32,2832
0,357143 −1,071429 0,428571 71,2758 ][ ]
a 0 −0,181286

[ ][ ]
X = a 1 = −0,322326 ¿> maka:a 0=−0,181286 ; a1 =−0,322326 ; dan a2=1,353771
a2 1,353771

Maka, f ( x )=1,353771 x 2−0,322326 x−0,181286

Diketahui nilai X =4,5 maka:

y=f ( x )=1,353771(4,5)2−0,322326 (4,5)−0,181286


y=25,7828

Capture Tugas dari Microsoft Excel

You might also like