PS Exponential and Logarithmic Curve Fitti
PS Exponential and Logarithmic Curve Fitti
PS Exponential and Logarithmic Curve Fitti
Solution:
∴ log𝑒 𝑦 = log 𝑒 𝑎 + 𝑏𝑥
𝑌 = 𝐴 + 𝐵𝑥 … (1)
Normal Equations:
∑ 𝒀 = 𝒏𝑨 + 𝑩 ∑ 𝒙 …(2)
∑ 𝒙 𝒀 = 𝑨 ∑ 𝒙 + 𝑩 ∑ 𝒙𝟐 … (𝟑)
𝑌 = 𝐴 + 𝐵𝑋 … (1)
Normal Equations:
∑ 𝒀 = 𝒏𝑨 + 𝑩 ∑ 𝑿 …(2)
∑ 𝑿𝒀 = 𝑨 ∑ 𝑿 + 𝑩 ∑ 𝑿𝟐 … (𝟑)
DESCRIPTIVE QUESTIONS
1 The population (𝑝) of a small community on the outskirts of a city grows rapidly over a 7
20−year period:
t 0 5 10 15 20
p 100 200 450 950 2000
As an engineer working for a utility company, you must forecast the population 5 years into
the future in order to anticipate the demand for power. Employ an exponential model and
linear regression to make this prediction. (Mar-2021-NEW) [NLJIET]
Solution:
The curve to be fitted is
𝑝 = 𝑎𝑒 𝑏𝑡
∴ log𝑒 𝑝 = log𝑒 𝑎 + 𝑏𝑡
𝑃 = 𝐴 + 𝑏𝑡 … (1)
Where 𝑃 = log 𝑒 𝑝 𝑎𝑛𝑑 𝐴 = log 𝑒 𝑎
Normal Equations:
∑ 𝑷 = 𝒏𝑨 + 𝒃 ∑ 𝒕 …(2)
∑ 𝑷𝒕 = 𝑨 ∑ 𝒕 + 𝒃 ∑ 𝒕𝟐 … (𝟑)
t p 𝑷 = 𝐥𝐨𝐠 𝒆 𝒑 𝒕𝑷 𝒕𝟐
0 100 4.6052 0 0
30.4701 = 5A + 50 b…(4)
Required equation is
𝑝 = 𝑎𝑒 𝑏𝑡 = 98.89𝑒 0.15𝑡
When t = 25,
∴ log𝑒 𝑦 = log 𝑒 𝑎 + 𝑏𝑥
𝑌 = 𝐴 + 𝑏𝑥 … (1)
Normal Equations:
∑ 𝒀 = 𝒏𝑨 + 𝒃 ∑ 𝒙 …(2)
∑ 𝒙 𝒀 = 𝑨 ∑ 𝒙 + 𝒃 ∑ 𝒙𝟐 … (𝟑)
x y 𝒀 = 𝐥𝐨𝐠 𝒆 𝒚 𝒙𝒀 𝒙𝟐
1 7 1.9459 1.9459 1
2 11 2.3978 4.7958 4
3 17 2.8332 8.4996 9
4 27 3.2958 13.1832 16
10 62 10.4727 28.4245 30
10.4727 = 4A + 10 b…(4)
we get b = 0.4485