You are on page 1of 26

# Data Linearisation of a curve defined by 3 constants

Introduction:
Welcome to Computer Aided Analysis excel package.Using this application we could
the following problems quickly.
Curve fitting(3 constants)-This will solve the curve fitting problem of 3 constants.
detailed information
you can seek help which is available at every sheet.

Important Notes:
1.Every input is to be given in pink cells
2.The results are to be shown in various colors to your clear visibility.So at any cost do not
any values in cells other than pink cells
3.In every page there will be red color circle which guide you through step by step progre
calculation

## Select the sheet containing the order of polynomial to be fitted.

→ y = a + bx + cx 2
→ y = a+b
x c

y = a +be cx
Next

onstants

## pplication we could solve

lem of 3 constants.For

sheet.

## h step by step progress of

be fitted.
1
Curve fitting of a polynomial defi
Input values: Data for fitting the curve 300

a= 6 x y
b= 2 -2 22
c= 5 2 0.25 6.81
250
xmin = -2 2.5 42.25
xmax = 4 4.75 128.31
7 265
dx= 2.25
200

3
Solution
X Y X^2 XY ← 150
-1.75 -6.75 3.06 11.81
0.5 4.5 0.25 2.25 y
2.75 15.75 7.56 43.31
5 27 25 135 100
Σ 6.5 40.5 35.88 192.38
4 5
Normal Equation Solution
4 6.5 b = 40.5 a = -6.00 50

## 6.5 35.88 c 192.38 b 2.00

c 5.00

0
-4
Back Next Help
nomial defined by y=a+bx+cx2
300

250

200

← 150

100

50

0
-4 -2 0 2 4 6 8

x→
In this section we

as Y=

## Here user will be pr

color boxes.The ta

## In the table 2 the ac

In this section we

as Y=

## Here user will be pr

color boxes.The ta

written as func

## The title Normal E

Back
HELP
In this section we fit the two degree polynomial y=a+bx+cx2 and it is reduced to linear & one
degree polynomial
as Y=AX+B.So the values,Y=(yi-y1/xi-x1);X=xi+x1;A=c;B=b;a=bx1+cx12

Here user will be prompted to give constant values a,b,c and Xmin and Xmax as inputs only in the
relevent pink
color boxes.The table 1 has some calculated data for input values i.e.y values corresponding to x
values.

In the table 2 the actual two degree polynomial is assumed to be linear & one degree pol. Y=AX+B
and those are
2
In this section we fit the two degree polynomial y=a+bx+cx2 and it is reduced to linear & one
degree polynomial
as Y=AX+B.So the values,Y=(yi-y1/xi-x1);X=xi+x1;A=c;B=b;a=bx1+cx12

Here user will be prompted to give constant values a,b,c and Xmin and Xmax as inputs only in the
relevent pink
color boxes.The table 1 has some calculated data for input values i.e.y values corresponding to x
values.

In the table 2 the actual two degree polynomial is assumed to be linear & one degree pol. Y=AX+B
and those are
written as functions of x,y,a,b,c.Then after all the corresponding values like X,Y,X2,XY are
calculated and tabulated here.

The title Normal Equation has matrix format of equation which is going to be solved for 'b' and
'c'.And finally
the solution title shows you that values 'a' ,'b' & 'c'.

1
Curve fitting of a polynomial defin
Input values: Data for fitting the curve
a= 1 x y
6 F
b= 1 2 1 2 300

c= 2 2 5
xmin = 1 4 17
xmax = 16 8 65 250
16 257
a0 = 1
r= 2.00
200

Solution
X Y X^2 XY
0 0 0 0

y
150

## 0.69 1.39 0.48 0.96

3
1.39 2.77 1.92 3.84
2.08 4.16 4.32 8.65
100
2.77 5.55 7.69 15.37
Σ 6.93 13.86 14.41 28.83

Normal Equation 50

5 6.93 A = 13.86 4
6.93 14.41 B 28.83
0
Solution 0 2 4
A = 0.00 a = 1.00
B 2.00 b 1.00 5
c 2.00
ynomial defined by y=a+bxc Back Next Help

## 6 Fitting Polynomial : y=a+bxc

2 4 6 8 10 12 14 16 18

x→
In this section we fit the polynomial y
as Y=AX+B.So the values,Y = l

calc

## The title Normal Equation has matr

the solution ti

Back
HELP
e fit the polynomial y=a+bxc and it is reduced to linear & one degree polynomial
B.So the values,Y = log (yi-a);X = log xi;A=log b;B=c;a=(y22-y1y3)/(2y2-y1-y3)

e prompted to give constant values a,b,c and Xmin and Xmax as inputs only in the
relevent pink
table 1 has some calculated data for input values i.e.y values corresponding to x
values.

e actual polynomial is assumed to be linear & one degree pol. Y=AX+B and those
are
unctions of x,y,a,b,c.Then after all the corresponding values like X,Y,X2,XY are
calculated and tabulated here.

al Equation has matrix format of equation which is going to be solved for 'A' and
'B'.And finally
the solution title shows you that values 'a' ,'b' & 'c'.

Curve fitting of a polynomial define
1
Input values: Data for fitting the curve F
a= 0 x y 300
b= 1 1 20.09
c= 3 2 3 8103.08
xmin = 1 5 ###
xmax = 9 7 ### 250

9 ###
d= 2
200

Solution
X Y X2 XY
1 3 1 3 ← 150

3 3
5
9
15
9
25
27
75
y
7 21 49 147
100
9 27 81 243
Σ 25 75 165 495

Normal Equation 50

4 5 25 A = 75
25 165 B 495

Solution 0
0 2 4
5 A = 0.00 a = 0.00
B 3.00 b 1.00
c 3.00
polynomial defined by y=a+becx Back Help

Fitting Polynomial:y=a+becx
300

250

200

150

100

50

0
0 2 4 6 8 10 12 14 16 18

x→
HELP
In this section we fit the polynomial y=a+becx and it is reduced to linear & one degree polynomial
as Y=AX+B.So the values,Y=log(yi-a);X=xi;A=log b;B=c;a=(y22-y1y3)/(2y2-y1-y3)

Here user will be prompted to give constant values a,b,c and Xmin and Xmax as inputs only in the
relevent pink
color boxes.The table 1 has some calculated data for input values i.e.y values corresponding to x
values.

In the table 2 the actual two degree polynomial is assumed to be linear & one degree pol. Y=AX+B
and those are
written as functions of x,y,a,b,c.Then after all the corresponding values like X,Y,X2,XY are
calculated and tabulated here.

The title Normal Equation has matrix format of equation which is going to be solved for 'A' and
'B'.And finally
the solution title shows you that values 'a' ,'b' & 'c'.

Back
degree polynomial
2y2-y1-y3)

## s inputs only in the

corresponding to x

X,Y,X2,XY are