You are on page 1of 5

Q.

1
xi yi y=1.8607*x62 + 2.3593*x+2.4786 yi-y (yi-y)^2
0 2.1 2.4786 -0.3786 0.143338
1 7.7 6.6986 1.0014 1.002802
2 13.6 14.64 -1.04 1.0816
3 27.2 26.3028 0.8972 0.804968
4 40.9 41.687 -0.787 0.619369
5 61.1 60.7926 0.3074 0.094495
15 152.6
n= 6 Sr= 3.746572
m= 4
Sy/x 1.36868
xi^2 yi^2 xi*yi
0 4.41 0
1 59.29 7.7
4 184.96 27.2 70

9 739.84 81.6 60
16 1672.81 163.6 f(x) = 1.86071428571429
R² = 0.998509357298405
25 3733.21 305.5 50

40
55 6394.52 585.6
30

20

10

Coeff of det n*sum(xi*yi) -sum(xi)*su0.97318129046808 0


0 1
yi

70

60
f(x) = 1.86071428571429 x² + 2.35928571428572 x + 2.47857142857142
R² = 0.998509357298405
50

40

30

20

10

0
0 1 2 3 4 5 6
Q.2
x1i x2i yi x1i^2
0 0 5 0
2 1 10 4
2.5 2 9 6.25
1 3 0 1
4 6 3 16
7 2 7 49
sum(x1i) sum(x2i) sum(yi) sum(x1i^2)
16.5 14 34 76.25
x2i^2 x1i*x2i x1i*yi x2i*yi
0 0 0 0
1 2 20 10
4 5 22.5 18
9 3 0 0
36 24 12 18
4 14 49 14
sum(x2i^2) sum sum sum
54 48 103.5 60

You might also like