You are on page 1of 2

Fit a curve of the form to the following data using least square method correct to 4D:

x 1.2 2.2 3.2 4.2 5.2 6.2 7.2 8.2


y-d 3.5 6.5 9.3 12.1 14.3 19.5 23.1 28.1
where d= (1+R)/10
Solution:
Here, R= 2 and d= 0.3
So the given data is
x 1.2 2.2 3.2 4.2 5.2 6.2 7.2 8.2
y 3.8 6.8 9.6 12.4 14.6 19.8 23.4 28.4
For fitting a curve of the form to the given observed points , the normal equations are

𝑛𝑛 𝑛𝑛

𝑛𝑛 𝑎𝑎 + 𝑏𝑏 � 𝑥𝑥𝑖𝑖 = � 𝑦𝑦𝑖𝑖 … (1)


𝑖𝑖=1 𝑖𝑖=1
𝑛𝑛 𝑛𝑛 𝑛𝑛
2
𝑎𝑎 � 𝑥𝑥𝑖𝑖 + 𝑏𝑏 � 𝑥𝑥𝑖𝑖 = � 𝑥𝑥𝑖𝑖 𝑦𝑦𝑖𝑖 … (2)
𝑖𝑖=1 𝑖𝑖=1 𝑖𝑖=1

1.2 3.8 1.44 4.56


2.2 6.8 4.84 14.96
3.2 9.6 10.24 30.72
4.2 12.4 17.64 52.08
5.2 14.6 27.04 75.92
6.2 19.8 38.44 122.76
7.2 23.4 51.84 168.48
8.2 28.4 67.24 232.88

Total 37.6 118.8 218.72 0 0 702.36


Here n= 8
So the normal equations become:
8 a + 37.6 b = 118.8
37.6 a + 218.72 b = 702.36

We now solve these equations by Gauss, elimination method:


Computation table:
m a b c check Difference
37.6 218.72 702.36 958.68
-0.212765957 8 37.6 118.8 164.4

0 -8.936170213 -30.63829787 -39.57446809 0


The pivotal equations are :
37.6 a + 218.72 b = 702.36
-8.936170213 b = -30.63829787

Therefore a = -1.264285714
b = 3.428571429

Hence the required best fitted parabola ( correct to 4D) is:


y = -1.2643 + 3.4286

You might also like