Documente Academic
Documente Profesional
Documente Cultură
Assignment 2
Curve Fitting and linear regression
1- V is the electric potential and I is the electric current the equation has the form
I aV b , Find a and b using the following data:
V 2 4 8 16 25 32 50
I 0.0245 0.037 0.007 0.0855 0.1125 0.1295 0.1715
a
2- Fit the curve y 2
by the following data, then find the correlation Coefficient
be bx
x 1 1.1 1.3 1.35 1.4
y 0.7357 0.5964 0.3691 0.3232 0.2817
4- The relation between the parametric pressure P and the height h is P ae bh , Fit
this relation to the following data, then evaluate S r
h 0 866 2753 4763 6942 10593
P 30 23 27 26 23 20
6- For Newton’s law for cooling is the increment of temperature and t is the time,
the equation is c sin tekt . Find c and k using the following data:
1.09 3.45 5.85 9.3 11.8 15.1 17.75 19.95
t 0.2 0.8 0.97 1.37 1.54 2.01 2.85 3.11
1 ax 1 x
a) y b) y , c) y d) y
a bx 1 bx a bx 2 b cx
x 1 2 4 6 8 10
y 0.22 0.1 0.06 0.04 0.03 0.024
Evaluate the correlation coefficient in each case.
b
a
( xa )2
x 1 2 4 5 8
y 9.0464 6.7042 2.019 0.821 0.0164
11- Fit the curve y ln( a bx cx ) to the following points: (0, 1.1), (1, 1.8), (2, 2.3),
2
(3,2.9), (4, 3.2), (5,3.6) and (6,3.9). Find the root mean squares of errors. Find y` at
x 1and find x when y 4.3.
𝒃 𝟐
12- Fit the following data to the curve 𝒚 = (𝒂𝒙𝟐 + 𝒙) then find the correlation
coefficient.
𝒙𝟐 −𝟏
15- Fit the following data to the curve 𝒚= then find the correlation
𝒂𝒙𝟐 +𝒃𝒙−𝒂
coefficient.
x 0 2 3 5
y 2 4 8 10
16- Linearize then fit the curve 𝒚 = 𝒂𝒙 𝒙𝒃 to the following table, then find 𝑺𝒕 and 𝑺𝒓 .
𝒂𝒆𝒙
17- Linearize then fit the curve 𝒚 = 𝐭𝐚𝐧𝐡−𝟏 ( ) to the table below. Find 𝑺𝒕 and
𝒃𝒆𝒙 +𝟏
𝑺𝒓 .
𝒂𝒙𝟐 +𝒃
18- Linearize then fit the curve 𝒚 = 𝐜𝐨𝐬𝐡−𝟏 ( ) to the following table, work with 3
𝒙