TExcelTAD
Home › School Functions, Exponentials & Logarithms › Mini-Project: Newton's Law of Cooling & Compound Investment Portfolios

Mini-Project: Newton's Law of Cooling & Compound Investment Portfolios

Welcome to your applied functions capstone project. In this hands-on paper project, you will step into the shoes of an applied mathematician and financial analyst. Using only your pencil, paper, and logarithmic laws, you will construct, solve, and analyze two complete real-world mathematical models:

  1. Investigation 1 (Forensic Thermodynamics): Modeling the cooling curve of a laboratory liquid using Newton's Law of Cooling, determining cooling constants, and explaining the physical meaning of horizontal asymptotes.
  2. Investigation 2 (Financial Wealth Engineering): Modeling long-term retirement portfolios across competing compounding frequencies and calculating real purchasing power under continuous inflation.

Investigation 1: Forensic Thermodynamics & Newton's Law of Cooling

The Physical Background

According to Sir Isaac Newton, the rate at which an exposed object cools is directly proportional to the difference between its temperature and the temperature of the surrounding environment.

On paper, this differential relationship integrates into the famous Newton's Law of Cooling formula:

T(t)=Tenv+(T0−Tenv)e−ktT(t) = T_{\text{env}} + (T_0 - T_{\text{env}}) e^{-kt}
  • T(t)T(t): Temperature of the object at time tt.
  • TenvT_{\text{env}}: Constant ambient temperature of the surrounding environment.
  • T0T_0: Initial temperature of the object at time t=0t = 0.
  • kk: Positive cooling constant (k>0k > 0) dependent on the object's surface area, material, and thermal conductivity.
  • tt: Elapsed time (measured in minutes).
   Temperature T(t) ^
                    │
           T₀ = 100°│ ● Initial Temperature
                    │  \
                    │   \
                    │    .·´
            60° ────┼───────● (t = 10 min)
                    │        \
                    │          .·´
            30° ────┼─────────────● (Safe temperature: t = ?)
                    │              \
   Ambient: T = 20° │ - - - - - - - - - - - - - - - - - - - -  Horizontal Asymptote
                    │
                    └────────────────────────────────────────► Time t (minutes)

The Forensic Case Scenario

A chemist in a climate-controlled laboratory maintained at a steady Tenv=20∘CT_{\text{env}} = 20^\circ\text{C} heats a chemical solution to boiling point, T0=100∘CT_0 = 100^\circ\text{C}.

The flask is placed on an insulated bench at time t=0t = 0. After 10 minutes10\text{ minutes}, the chemist measures the solution's temperature and records T(10)=60∘CT(10) = 60^\circ\text{C}.


Step-by-Step Paper Derivation

Task 1.1: Determine the Initial Thermal Difference

ΔT0=T0−Tenv=100−20=80∘C\Delta T_0 = T_0 - T_{\text{env}} = 100 - 20 = 80^\circ\text{C}

The model currently reads:

T(t)=20+80e−ktT(t) = 20 + 80 e^{-kt}

Task 1.2: Calculate the Exact Cooling Constant kk on Paper

Substitute the known observation (t=10,T=60)(t = 10, T = 60):

60=20+80e−10k60−20=80e−10k40=80e−10k4080=e−10k12=e−10k\begin{aligned} 60 &= 20 + 80 e^{-10k} \\ 60 - 20 &= 80 e^{-10k} \\ 40 &= 80 e^{-10k} \\ \frac{40}{80} &= e^{-10k} \\ \frac{1}{2} &= e^{-10k} \end{aligned}

Take the natural logarithm (ln⁡\ln) of both sides:

ln⁡(12)=−10k\ln\left(\frac{1}{2}\right) = -10k

Since ln⁡(1/2)=−ln⁡2\ln(1/2) = -\ln 2:

−ln⁡2=−10k  ⟹  k=ln⁡210-\ln 2 = -10k \implies k = \frac{\ln 2}{10}

Numerical approximation:

k≈0.6931510≈0.069315 min−1k \approx \frac{0.69315}{10} \approx 0.069315 \text{ min}^{-1}

Thus, the exact predictive model on paper is:

T(t)=20+80e−(ln⁡210)t=20+80(12)t/10T(t) = 20 + 80 e^{-\left(\frac{\ln 2}{10}\right)t} = 20 + 80 \left(\frac{1}{2}\right)^{t / 10}

Task 1.3: Predict the Temperature at t=25 minutest = 25\text{ minutes}

Substitute t=25t = 25 into the model:

T(25)=20+80(12)25/10=20+80(12)2.5=20+80(125/2)=20+80(132)=20+8042=20+202=20+102\begin{aligned} T(25) &= 20 + 80 \left(\frac{1}{2}\right)^{25 / 10} \\ &= 20 + 80 \left(\frac{1}{2}\right)^{2.5} \\ &= 20 + 80 \left(\frac{1}{2^{5/2}}\right) = 20 + 80 \left(\frac{1}{\sqrt{32}}\right) = 20 + \frac{80}{4\sqrt{2}} \\ &= 20 + \frac{20}{\sqrt{2}} = 20 + 10\sqrt{2} \end{aligned}

Using the paper approximation 2≈1.414\sqrt{2} \approx 1.414:

T(25)≈20+10(1.414)=20+14.14=34.14∘CT(25) \approx 20 + 10(1.414) = 20 + 14.14 = 34.14^\circ\text{C}

Task 1.4: Find the Exact Time to Reach Safe Handling (30∘C30^\circ\text{C})

Set T(t)=30T(t) = 30 and isolate tt:

30=20+80e−kt10=80e−kt1080=18=e−kt\begin{aligned} 30 &= 20 + 80 e^{-kt} \\ 10 &= 80 e^{-kt} \\ \frac{10}{80} = \frac{1}{8} &= e^{-kt} \end{aligned}

Notice that 18=(12)3\frac{1}{8} = \left(\frac{1}{2}\right)^3. Substitute our half-life formulation:

(12)3=(12)t/10\left(\frac{1}{2}\right)^3 = \left(\frac{1}{2}\right)^{t / 10}

Because the bases match, equate the exponents directly:

3=t10  ⟹  t=30 minutes3 = \frac{t}{10} \implies t = 30 \text{ minutes}

Conclusion: The solution requires exactly 30 minutes30\text{ minutes} to cool to 30∘C30^\circ\text{C}.

Task 1.5: Asymptotic Analysis

  • As t→∞t \to \infty, e−kt→0e^{-kt} \to 0, so:
    lim⁡t→∞T(t)=20+80(0)=20∘C\lim_{t \to \infty} T(t) = 20 + 80(0) = 20^\circ\text{C}
  • Physical Meaning: The line y=20y = 20 is a horizontal asymptote. In passive cooling, an object can never cool below its ambient environment without external refrigeration. A temperature of 15∘C15^\circ\text{C} would require e−kt=15−2080=−580<0e^{-kt} = \frac{15 - 20}{80} = -\frac{5}{80} < 0, which is mathematically impossible for real exponentials.

Investigation 2: Compound Investment Portfolios & Real Purchasing Power

The Financial Planning Scenario

At age 2525, an investor deposits an initial principal of P=$20,000P = \$20{,}000 into a long-term retirement vehicle for 35 years35\text{ years}, retiring at age 6060.

The investor evaluates two different market assets:

  • Strategy A (Conservative Bank Deposit): Annual nominal return rA=4.5%=0.045r_A = 4.5\% = 0.045, compounded monthly (n=12n = 12).
  • Strategy B (Diversified Index Fund): Annual expected return rB=8.0%=0.08r_B = 8.0\% = 0.08, compounded continuously.

Step-by-Step Paper Derivation

Task 2.1: Terminal Balance for Strategy A (Discrete Monthly)

A(t)=P(1+rAn)ntA(t) = P \left(1 + \frac{r_A}{n}\right)^{nt}

Parameters: P=20000P = 20000, rA=0.045r_A = 0.045, n=12n = 12, t=35t = 35.

rAn=0.04512=0.00375\frac{r_A}{n} = \frac{0.045}{12} = 0.00375
nt=12×35=420 compounding cyclesnt = 12 \times 35 = 420 \text{ compounding cycles}
AA(35)=20000(1+0.00375)420=20000(1.00375)420A_A(35) = 20000 (1 + 0.00375)^{420} = 20000 (1.00375)^{420}

Evaluating on paper using logarithms:

L=log⁡10(1.00375420)=420×log⁡10(1.00375)≈420×0.0016259≈0.68288100.68288≈4.8181AA(35)≈20000×4.8181≈$96,362\begin{aligned} L &= \log_{10}(1.00375^{420}) = 420 \times \log_{10}(1.00375) \\ &\approx 420 \times 0.0016259 \approx 0.68288 \\ 10^{0.68288} &\approx 4.8181 \\ A_A(35) &\approx 20000 \times 4.8181 \approx \$96{,}362 \end{aligned}

Task 2.2: Terminal Balance for Strategy B (Continuous Compounding)

AB(t)=PerBtA_B(t) = P e^{r_B t}

Parameters: P=20000P = 20000, rB=0.08r_B = 0.08, t=35t = 35.

rB×t=0.08×35=2.8r_B \times t = 0.08 \times 35 = 2.8
AB(35)=20000e2.8A_B(35) = 20000 e^{2.8}

Using paper approximation e2.8≈16.4446e^{2.8} \approx 16.4446:

AB(35)≈20000×16.4446=$328,892A_B(35) \approx 20000 \times 16.4446 = \$328{,}892

Comparison: Over 3535 years, the continuous 8%8\% fund produces $328,892\$328{,}892, which is more than 3.4 times3.4\text{ times} the value of the 4.5%4.5\% conservative deposit ($96,362\$96{,}362) due to the compounding effect of an extra 3.5%3.5\% in annual rate!


Task 2.3: Calculating Exact Doubling Times on Paper

Calculate how many years each strategy takes to double the initial $20,000\$20{,}000 investment into $40,000\$40{,}000:

Strategy A Doubling Time:

(1+0.04512)12t=2  ⟹  12tln⁡(1.00375)=ln⁡2\left(1 + \frac{0.045}{12}\right)^{12t} = 2 \implies 12t \ln(1.00375) = \ln 2
tA=ln⁡212ln⁡(1.00375)≈0.6931512×0.003743≈0.693150.044916≈15.43 yearst_A = \frac{\ln 2}{12 \ln(1.00375)} \approx \frac{0.69315}{12 \times 0.003743} \approx \frac{0.69315}{0.044916} \approx 15.43 \text{ years}

Strategy B Doubling Time:

e0.08t=2  ⟹  0.08t=ln⁡2e^{0.08t} = 2 \implies 0.08t = \ln 2
tB=ln⁡20.08≈0.693150.08≈8.66 yearst_B = \frac{\ln 2}{0.08} \approx \frac{0.69315}{0.08} \approx 8.66 \text{ years}

Financial Insight: Strategy B doubles every ≈8.7 years\approx 8.7\text{ years}, allowing the money to double approximately 44 times in 3535 years (24=16×2^4 = 16\times growth). Strategy A doubles only every ≈15.4 years\approx 15.4\text{ years}, doubling only ≈2.2\approx 2.2 times (22.2≈4.8×2^{2.2} \approx 4.8\times growth).


Task 2.4: Real Purchasing Power Adjusted for Inflation

Suppose the average annual inflation rate over the 3535-year period is i=3%=0.03i = 3\% = 0.03 continuous.

Inflation erodes purchasing power continuously according to the decay factor e−ite^{-i t}. The real wealth Wreal(t)W_{\text{real}}(t) of Strategy B is:

Wreal(t)=AB(t)⋅e−0.03t=(Pe0.08t)e−0.03t=Pe(0.08−0.03)t=Pe0.05t\begin{aligned} W_{\text{real}}(t) &= A_B(t) \cdot e^{-0.03 t} \\ &= \left(P e^{0.08 t}\right) e^{-0.03 t} \\ &= P e^{(0.08 - 0.03)t} \\ &= P e^{0.05 t} \end{aligned}

The effective real growth rate is simply r−i=0.08−0.03=0.05r - i = 0.08 - 0.03 = 0.05 (5%5\%).

At t=35t = 35 years:

Wreal(35)=20000e0.05×35=20000e1.75W_{\text{real}}(35) = 20000 e^{0.05 \times 35} = 20000 e^{1.75}

Since e1.75≈5.7546e^{1.75} \approx 5.7546:

Wreal(35)≈20000×5.7546=$115,092W_{\text{real}}(35) \approx 20000 \times 5.7546 = \$115{,}092

While the nominal balance shows $328,892\$328{,}892, in terms of today's actual purchasing power, the investor possesses $115,092\$115{,}092.


Project Synthesis & Executive Summary Table

Portfolio / ModelInitial ValueGrowth / Decay RateKey MilestoneTerminal OutcomeNewton’s Cooling100∘Ck=ln⁡210≈0.0693T(30)=30∘CAsymptote: 20∘CStrategy A (Deposit)$20,000r=4.5% (monthly)Doubles: 15.4 yrsA(35)≈$96,362Strategy B (Index)$20,000r=8.0% (continuous)Doubles: 8.7 yrsA(35)≈$328,892Strategy B (Real)$20,000rreal=5.0%Doubles: 13.9 yrsWreal(35)≈$115,092\begin{array}{l|c|c|c|c} \textbf{Portfolio / Model} & \textbf{Initial Value} & \textbf{Growth / Decay Rate} & \textbf{Key Milestone} & \textbf{Terminal Outcome} \\ \hline \text{Newton's Cooling} & 100^\circ\text{C} & k = \frac{\ln 2}{10} \approx 0.0693 & T(30) = 30^\circ\text{C} & \text{Asymptote: } 20^\circ\text{C} \\ \text{Strategy A (Deposit)} & \$20{,}000 & r = 4.5\% \text{ (monthly)} & \text{Doubles: } 15.4\text{ yrs} & A(35) \approx \$96{,}362 \\ \text{Strategy B (Index)} & \$20{,}000 & r = 8.0\% \text{ (continuous)} & \text{Doubles: } 8.7\text{ yrs} & A(35) \approx \$328{,}892 \\ \text{Strategy B (Real)} & \$20{,}000 & r_{\text{real}} = 5.0\% & \text{Doubles: } 13.9\text{ yrs} & W_{\text{real}}(35) \approx \$115{,}092 \end{array}

Test yourself

In Newton's Law of Cooling T(t)=Tenv+(T0−Tenv)e−ktT(t) = T_{\text{env}} + (T_0 - T_{\text{env}}) e^{-kt}, what happens to the temperature of the object as time t→∞t \to \infty?

  1. It drops to absolute zero (0∘K0^\circ\text{K})
  2. It approaches TenvT_{\text{env}} as a horizontal asymptote
  3. It continues decreasing linearly without lower bound
  4. It oscillates sinusoidally around T0T_0

If a continuous investment grows as A(t)=Pe0.06tA(t) = P e^{0.06t} and continuous inflation is 0.020.02, what is the real purchasing power model Wreal(t)W_{\text{real}}(t)?

  1. Wreal(t)=Pe0.08tW_{\text{real}}(t) = P e^{0.08t}
  2. Wreal(t)=Pe0.04tW_{\text{real}}(t) = P e^{0.04t}
  3. Wreal(t)=Pe0.03tW_{\text{real}}(t) = P e^{0.03t}
  4. Wreal(t)=Pe0.12tW_{\text{real}}(t) = P e^{0.12t}

Under Newton's Law of Cooling with ambient temperature 20∘C20^\circ\text{C} and initial temperature 100∘C100^\circ\text{C}, the temperature halved its elevation above ambient in 1010 minutes (from 80∘C80^\circ\text{C} elevation to 40∘C40^\circ\text{C} elevation). In how many total minutes from the start will the elevation halve again to 20∘C20^\circ\text{C} (T=40∘CT = 40^\circ\text{C})?

  1. 15 minutes15\text{ minutes}
  2. 20 minutes20\text{ minutes}
  3. 25 minutes25\text{ minutes}
  4. 30 minutes30\text{ minutes}