Beruflich Dokumente
Kultur Dokumente
1. Healthcare costs have been increasing over the years. The following data shows the average
cost of healthcare per person from 1976 to 1998:
Year 1 4 11 17 22
Cost (per person) 618 860 1324 1865 2256
1
Engr. Dan Carlo Mendoza Numerical Methods: Assignment 2 Curve Fitting
2. The population present in a bacteria culture over 5 days is given in the table below:
time (days) 0 1 2 3 4 5
population 30 133 214 337 527 819
𝑦 =𝑎 +𝑎 𝑥
∴ 𝒚 = −𝟑𝟏. 𝟔𝟕 + 𝟏𝟓𝟎𝒙𝒊
b.) Estimate the population after 7 days.
𝑦 = −31.67 + 150(7)
𝑥 = 1,018.33
∴ 𝑷𝒐𝒑𝒖𝒍𝒂𝒕𝒊𝒐𝒏 = 𝟏, 𝟎𝟏𝟖
2
Engr. Dan Carlo Mendoza Numerical Methods: Assignment 2 Curve Fitting
3. The table below shows the yield (in mg) of a chemical reaction in the first 6 minutes.
a.) Use the scatterplot to find the best model to fit this data.
𝑛=6
𝑥̅ = 3.5
𝑦 = 9.98
∑ ∑ ∑
𝑎 = ∑ ∑( )
= 2.7857p
𝑎 = 𝑦 − 𝑎 𝑥̅ = 0.2333
𝑆 −𝑆 (𝒚𝒏 − ȳ)𝟐 − (ŷ − 𝒚)𝟐
𝑟 = =
𝑆 (𝒚𝒏 − ȳ)𝟐
𝑟 = 94.224%
r = 97.069%
𝑦 =𝑎 +𝑎 𝑥
∴ 𝒚 = 𝟎. 𝟐𝟑𝟑𝟑 + 𝟐. 𝟕𝟖𝟓𝟕𝒙𝒊
b.) Using that data, determine in how many minutes will the yield be 20mg.
20 = 0.2333 + 2.7857(𝑥 )
𝑥 = 7.10
∴ 𝑻𝑰𝑴𝑬 = 𝟕. 𝟏𝟎 𝒎𝒊𝒏𝒖𝒕𝒆𝒔