Sie sind auf Seite 1von 2

ITM UNIVERSE, VADODARA

SEMESTER-3 COMPUTER ENGINEERING


PROBABILITY & STATISTICS (3130006)
TUTORIAL - 1
CURVE FITTING

Q-1. Using method of Least Squares, find the Straight Line of the form y=a+bx of
best fit to the data:
(a) x 1 2 3 4 5
y 14 27 40 55 68
Ans: y=13.6 x
(b) x 1 2 3 4 5 6
y 1200 900 600 200 110 50
Ans: y=1361.96−243.42 x
(c) x 1 2 3 4 5
y 1 3 5 6 5
Ans: y=0.7 +1.1 x

Q-2. Using method of Least Squares, find the Second order polynomial of the form
y=a+bx+ cx 2 best fit:
(a) x -3 -2 -1 0 1 2 3
y 1.63 2.11 0.67 0.09 0.63 2.15 4.58
Ans: y=1.243−0.004 x+ 0.22 x 2
(b) x 1 2 3 4 5 6 7 8 9
y 2 6 7 8 10 11 11 10 9
Ans: y=−0.98+ 3.55 x −27 x2
(c) x 2 4 6 8 10
y 6.07 12.85 31.47 57.38 91.29
Ans: y=−0.703−0.858 x+ 0.992 x 2
Q-3. Using method of Least Squares, find the curve best fit to the data:
(a) Fit a least square geometric curve y=axb
x 1 2 3 4 5
y 0.5 2 4.5 8 12.5
Ans: y=0.5012 x 1.9977
(b) Fit the exponential curve y=aebx
x 2 4 6 8
y 25 38 56 84
Ans: y=9.484 e 0.315 x
(c) The pressure and volume of a gas are related by the equation PV γ =k . Fit
this equation to the set of observations.
x 50 60 70 90 100
y 64.7 51.3 40.5 25.9 78
Consider five decimal places in calculations.
Ans: γ =7.84068 , k =1.71199 x 1016
(d) An experiment gave the following values:
v (ft/min) 350 400 500 600
t (min) 61 26 7 2.6
It is known that v & t are connected by the relation v =at b . Find the best
possible values of a & b.
Ans: v =699.8 t
(−0.1697)

Das könnte Ihnen auch gefallen