📐 Week 01 (Part I: Pre-Calculus Foundations) • Student Lecture Materials
🐍 Download Notebook (.ipynb) 📑 Download Blank Slides (PDF) 📊 Download Dataset (.csv)

Week 01 — Engineering Functions, Dimensional Honesty & Inverse Mappings

Engineering Focus: How Tensile Stress-Strain Laws, Platinum Temperature Sensors (PT100 RTDs), and Snap-Through Brackets Work as Input–Output Machines Companion Dataset: Week01_Stress_Strain_and_PT100_Calibration_Data.csv


1. “Calculus Made Easy” Intuition: What Is a Function, Really?

Before we ever touch a derivative or an integral, let us clear away a common superstition. Mathematicians sometimes make functions look intimidating with curly letters like \(f : X \to Y\). In plain engineering language, a function is nothing more than a reliable machine:

  1. You feed one physical measurement \(x\) (called the input or independent variable) into the hopper—say, an electrical resistance \(R\) measured in ohms (\(\Omega\)) from a temperature probe, or a stretch \(\epsilon\) on a steel bar.
  2. The machine runs a fixed physical rule \(f\).
  3. Out comes one unique engineering answer \(y = f(x)\) (called the output or dependent variable)—say, a temperature \(T\) in degrees Celsius, or a mechanical stress \(\sigma\) in megapascals (\(\text{MPa}\)).

Why does uniqueness matter so much in engineering? Imagine stepping on a digital scale twice at the same weight and having it flash \(70\text{ kg}\) and \(95\text{ kg}\) at the exact same instant—that scale would be broken! Every valid input \(x\) in a function’s domain produces exactly one output \(y\). On a graph, that simply means no vertical slice cuts the curve more than once (the Vertical Line Test).

Two Golden Rules Before Calculating Anything

2. Complete Mathematical Derivations & Reference Guide

2.1 Step-by-Step Inversion of Common Engineering Functions

Suppose \(y = f(x)\) is strictly increasing or strictly decreasing on a domain \([x_{\min}, x_{\max}]\). How do we find \(x = f^{-1}(y)\) without guessing? Use this three-step mechanical procedure:

  1. Write out the physical law cleanly with all constants isolated: \(y = \dots\)
  2. Peel off operations from the outside in (inverse order of PEMDAS) until \(x\) stands completely alone on one side. Notice that we do not blindly rename letters \(x \leftrightarrow y\) if doing so scrambles physical units; keeping \(T\) as temperature and \(R\) as resistance preserves clarity!
  3. Check domain and sign choices: Whenever taking a square root (\(\pm\sqrt{\cdot}\)), let the physical operating range pick the valid sign.

Derivation A — Inverting the Quadratic PT100 Callendar–Van Dusen Sensor (\(T \geq 0^\circ\text{C}\))

For industrial platinum RTD probes above freezing (\(0^\circ\text{C} \leq T \leq 660^\circ\text{C}\)), resistance follows: \[R(T) = R_0\left(1 + A T + B T^2\right), \quad R_0 = 100.00\ \Omega,\quad A = 3.9083\times 10^{-3}\ ^\circ\text{C}^{-1},\quad B = -5.775\times 10^{-7}\ ^\circ\text{C}^{-2}\] Wait: notice how tiny \(B\) is! Because \(B T^2 < 0\), let us rearrange the equation into standard quadratic form \(B T^2 + A T + \left(1 - \frac{R}{R_0}\right) = 0\): \[T = \frac{-A \pm \sqrt{A^2 - 4B\left(1 - \frac{R}{R_0}\right)}}{2B}\] Which sign (\(\pm\)) must we choose? Let us check at \(T = 0^\circ\text{C}\), where \(R = R_0\) so \(\left(1 - R/R_0\right) = 0\). The numerator becomes \(-A \pm \sqrt{A^2} = -A \pm A\) (since \(A > 0\)). Choosing the \(+\) sign makes the numerator \(-A + A = 0\), giving \(T = 0^\circ\text{C}\) as required! (The \(-\) sign gives \(T = -2A/B \approx +13{,}535^\circ\text{C}\), far above melting platinum.) Therefore, the unique exact inverse sensor formula is: \[T(R) = \frac{-A + \sqrt{A^2 - 4B\left(1 - \frac{R}{R_0}\right)}}{2B}, \qquad 100.00\ \Omega \leq R \leq 333.0\ \Omega\]

Derivation B — Monotonicity of Nonlinear Power-Law Hardening (Ramberg–Osgood Law)

True metallic bars do not obey \(\sigma = E\epsilon\) forever; near yield, total strain \(\epsilon\) is the sum of elastic stretch and plastic flow: \[\epsilon(\sigma) = \frac{\sigma}{E} + \alpha_{\text{yield}}\left(\frac{\sigma}{\sigma_y}\right)^n \qquad (\sigma \geq 0,\ E > 0,\ n \approx 5\text{ to }15)\] Even though we cannot isolate \(\sigma\) cleanly in elementary algebra when \(n = 8\), check its monotonicity: both terms \(\sigma/E\) and \((\sigma/\sigma_y)^n\) strictly increase whenever \(\sigma \geq 0\) increases! Any sum of strictly increasing functions is strictly increasing, so \(\epsilon(\sigma)\) is guaranteed 1-to-1 and possesses a unique smooth inverse \(\sigma(\epsilon)\) that computers evaluate instantaneously via root-finding.

2.2 Master Week 01 Summary Table

Concept Governing Equation Unit / Dimensional Rule Engineering Meaning
Hooke’s Linear Elasticity \(\sigma(\epsilon) = E\epsilon\) \([\text{Pa}] = [\text{Pa}]\cdot[-]\) Linear slope \(E\) is Young’s modulus
Affine Calibration \(V(x) = m x + b \iff x(V) = \frac{V - b}{m}\) \([m] = [V]/[x],\ [b] = [V]\) LVDT displacement transducer inversion
Vertical Line Test Each input \(x\) maps to one \(y\) Same output units Deterministic physical measurement
Horizontal Line Test Each output \(y\) comes from one \(x\) Required for unique \(f^{-1}\) Unique backward sensor inference
Quadratic Inversion \(T = \frac{-A + \sqrt{A^2 - 4B(1 - R/R_0)}}{2B}\) \([A] = \text{K}^{-1},\ [B] = \text{K}^{-2}\) Exact PT100 temperature readout
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import sympy as sp
from scipy.optimize import brentq
from pathlib import Path

plt.rcParams.update({
    "figure.dpi": 150,
    "font.size": 10,
    "axes.grid": True,
    "grid.alpha": 0.30,
    "axes.spines.top": False,
    "axes.spines.right": False,
})

def load_week_csv(filename):
    for p in [Path("datasets") / filename, Path("../datasets") / filename]:
        if p.exists():
            return pd.read_csv(p)
    raise FileNotFoundError(f"Dataset not found: {filename}")

3. Real-World Lab Data Analysis & Visualization

Below we load Week01_Stress_Strain_and_PT100_Calibration_Data.csv, which contains lab tensile-test measurements of 6061-T6 Aluminum and 1018 Steel alongside industrial Platinum PT100 RTD calibration points across \(0^\circ\text{C}\) to \(500^\circ\text{C}\). Notice how Python checks dimensional consistency, fits both linear and nonlinear inverse laws, and plots both input–output machines alongside their \(y=x\) inverse behavior.

df = load_week_csv("Week01_Stress_Strain_and_PT100_Calibration_Data.csv")
print("Loaded Week 01 Lab Data (first 6 rows):")
print(df.head(6).to_string(index=False))

# Invert PT100 Quadratic Callendar-Van Dusen Law cleanly
R0, A_rtd, B_rtd = 100.0, 3.9083e-3, -5.775e-7
def rtd_temp_from_R(R_ohm):
    disc = A_rtd**2 - 4.0 * B_rtd * (1.0 - R_ohm / R0)
    return (-A_rtd + np.sqrt(disc)) / (2.0 * B_rtd)

T_inverted = rtd_temp_from_R(df["PT100_Resistance_Ohm"].values)
max_err = np.max(np.abs(T_inverted - df["RTD_Temp_C"].values))
print(f"\n[Verification] Max PT100 inverse temperature error across 0-500 deg C = {max_err:.6e} deg C")

# Compare linear sensitivity vs Ramberg-Osgood yield curvature
fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(11.8, 4.3))

eps_pct = df["Strain_mm_per_mm"].values * 100.0
ax1.plot(eps_pct, df["Steel1018_Stress_MPa"], "o-", color="#1d4ed8", lw=2.0, label="1018 Steel (E = 205 GPa)")
ax1.plot(eps_pct, df["Al6061_Stress_MPa"], "s-", color="#059669", lw=2.0, label="6061-T6 Aluminum (E = 69 GPa)")
ax1.set_title("Tensile Stress-Strain Machine $\\sigma(\\epsilon)$")
ax1.set_xlabel("Engineering Strain $\\epsilon$ [%]")
ax1.set_ylabel("True Stress $\\sigma$ [MPa]")
ax1.legend(fontsize=8.8)

R_grid = np.linspace(100.0, 281.0, 200)
ax2.plot(R_grid, rtd_temp_from_R(R_grid), "-", color="#dc2626", lw=2.2, label=r"Exact Quadratic Inverse $T(R)$")
ax2.plot(df["PT100_Resistance_Ohm"], df["RTD_Temp_C"], "ko", ms=4.5, label="Measured Lab Calibration")
# Linear naive approximation (R - R0) / (R0 * A)
ax2.plot(R_grid, (R_grid - R0) / (R0 * A_rtd), "--", color="#64748b", lw=1.6, label="Naive Linear Approx")
ax2.set_title("Inverting the PT100 RTD Temperature Machine $T = R^{-1}(R)$")
ax2.set_xlabel("Measured Resistance $R$ [$\\Omega$]")
ax2.set_ylabel("Recovered Temperature $T$ [$^\\circ$C]")
ax2.legend(fontsize=8.5)

plt.tight_layout()
plt.show()
# Verified Output:
Loaded Week 01 Lab Data (first 6 rows):
 Strain_mm_per_mm  Steel1018_Stress_MPa  Al6061_Stress_MPa  RTD_Temp_C  PT100_Resistance_Ohm
         0.000000                  0.00               0.00         0.0              100.0000
         0.000143                 29.29               9.86        35.0              113.6083
         0.000286                 58.57              19.71        70.0              127.0751
         0.000429                 87.86              29.57       105.0              140.4005
         0.000571                117.14              39.43       140.0              153.5843
         0.000714                146.43              49.29       175.0              166.6267

[Verification] Max PT100 inverse temperature error across 0-500 deg C = 1.293317e-04 deg C
Week 01 Engineering Plot

4. Three Unabridged Worked Engineering Problems

Worked Example 1 — Enforcing Dimensional Honesty in a Nonlinear Drag–Power Equation

Problem: A wind-tunnel engineer proposes the following formula for power \(P\) (in Watts, \(\text{kg}\cdot\text{m}^2/\text{s}^3\)) needed to push an autonomous drone at speed \(v\) (\(\text{m/s}\)) through air of density \(\rho\) (\(\text{kg/m}^3\)): \[P(v) = c_1 v + c_2 \rho A v^3\] where \(A\) is frontal area (\(\text{m}^2\)). Determine the exact SI units of the rolling/electronics constant \(c_1\) and the aerodynamic coefficient \(c_2\), then evaluate \(c_1\) and \(c_2\) when \(P(10\text{ m/s}) = 140\text{ W}\) and \(P(20\text{ m/s}) = 920\text{ W}\) for \(\rho = 1.225\text{ kg/m}^3\), \(A = 0.080\text{ m}^2\).

Unabridged Hand Solution:

  1. Dimensional Honesty Check: Every term added together must equal Watts \(= \text{kg}\cdot\text{m}^2/\text{s}^3\).
    • Term 1: \([c_1][v] = \text{kg}\cdot\text{m}^2/\text{s}^3 \implies [c_1] = \frac{\text{kg}\cdot\text{m}^2/\text{s}^3}{\text{m/s}} = \text{kg}\cdot\text{m}/\text{s}^2 = \mathbf{N}\) (Newtons! Physically, \(c_1\) is a constant rolling/parasitic drag force!).
    • Term 2: \([c_2][\rho][A][v^3] = [c_2]\left(\frac{\text{kg}}{\text{m}^3}\right)(\text{m}^2)\left(\frac{\text{m}^3}{\text{s}^3}\right) = [c_2]\frac{\text{kg}\cdot\text{m}^2}{\text{s}^3}\). Thus \([c_2]\) must be dimensionless (\([-]\))! (In aerodynamics, \(c_2 = \frac{1}{2}C_D\).)
  2. Solve for \(c_1\) and \(c_2\): Note \(\rho A = 1.225 \times 0.080 = 0.098\text{ kg/m}\).
    • At \(v = 10\): \(10 c_1 + 0.098(1000) c_2 = 140 \implies 10 c_1 + 98 c_2 = 140\)

    • At \(v = 20\): \(20 c_1 + 0.098(8000) c_2 = 920 \implies 20 c_1 + 784 c_2 = 920\)

    • Multiply equation 1 by \(2\): \(20 c_1 + 196 c_2 = 280\). Subtract from equation 2: \[588 c_2 = 640 \implies c_2 = \frac{640}{588} \approx 1.0884\]

    • Substitute back: \(10 c_1 = 140 - 98(1.088435) = 33.333 \implies \mathbf{c_1 = 3.333\ N}\).


Worked Example 2 — Piecewise Structural Yield Function & Why Plasticity Stops Elastic Inversion

Problem: A Structural Steel tie-rod (\(E = 200\text{ GPa}\), yield strength \(\sigma_y = 250\text{ MPa}\)) has length \(L = 1.50\text{ m}\) and behaves elastically up to yield strain \(\epsilon_y = \sigma_y / E\), then flattens to perfectly plastic flow \(\sigma = \sigma_y\) for \(\epsilon > \epsilon_y\): \[\sigma(\epsilon) = \begin{cases} 200{,}000\,\epsilon\ [\text{MPa}], & 0 \leq \epsilon \leq 0.00125 \\ 250\ [\text{MPa}], & \epsilon > 0.00125 \end{cases}\] Compute the elongation \(\Delta L\) at \(\sigma = 180\text{ MPa}\), and explain mathematically why you cannot uniquely invert \(\sigma(\epsilon)\) if a strain gauge reports \(\sigma = 250\text{ MPa}\).

Unabridged Hand Solution:

  1. Check Threshold Strain: \(\epsilon_y = \frac{250\text{ MPa}}{200{,}000\text{ MPa}} = 0.00125\) (\(0.125\%\) strain).

  2. Invert on the Elastic Branch (\(0 \leq \sigma < 250\text{ MPa}\)): Since \(\sigma = 180\text{ MPa} < 250\text{ MPa}\), we are strictly inside the 1-to-1 linear region: \[\epsilon = \frac{\sigma}{E} = \frac{180}{200{,}000} = 0.00090 \implies \Delta L = \epsilon L = 0.00090 \times 1500\text{ mm} = \mathbf{1.35\text{ mm}}\]

  3. Horizontal Line Test Failure at Yield (\(\sigma = 250\text{ MPa}\)): For every strain \(\epsilon \in [0.00125, \infty)\), the function outputs the exact same value \(250\text{ MPa}\). Thus \(f^{-1}(250\text{ MPa})\) is not a single number—an entire horizontal flat plateau violates the Horizontal Line Test, so stress alone can no longer identify elongation once plastic yielding begins!


Worked Example 3 — Exact Domain Restriction on a Snap-Through Belleville Dome Spring

Problem: A nonlinear circular Belleville washer spring produces snap-through force (in Newtons) as a function of deflection \(x\) (in mm): \[F(x) = 40x - 6x^2 + 0.25x^3, \qquad 0 \leq x \leq 14\text{ mm}\] Determine where \(F(x)\) rises, peaks, and dips (showing why \(F(x)\) is not globally invertible on \([0, 14]\)), and solve for the three distinct deflections \(x\) that give \(F = 80\text{ N}\).

# Verification of Worked Examples 1, 2, and 3
# Example 1: Linear solve for c1 [N], c2 [-]
A_mat = np.array([[10.0, 0.098 * 10**3], [20.0, 0.098 * 20**3]])
c1_N, c2_dim = np.linalg.solve(A_mat, [140.0, 920.0])
print(f"[Example 1] c1 = {c1_N:.4f} N, c2 = {c2_dim:.4f} (dimensionless)")

# Example 2: Elastic elongation vs plastic plateau check
sigma_req, E_steel, L_rod_mm = 180.0, 200000.0, 1500.0
dL_mm = (sigma_req / E_steel) * L_rod_mm
print(f"[Example 2] Elastic elongation at 180 MPa = {dL_mm:.3f} mm")

# Example 3: SymPy roots of snap-through spring F(x) = 80 N
x_s = sp.Symbol("x", real=True)
F_expr = 40 * x_s - 6 * x_s**2 + sp.Rational(1, 4) * x_s**3
dF_expr = sp.diff(F_expr, x_s)
crit_pts = sorted([float(r.evalf()) for r in sp.solve(dF_expr, x_s)])
roots_80 = sorted([float(r.evalf()) for r in sp.nroots(F_expr - 80) if abs(sp.im(r)) < 1e-9])
print(f"[Example 3] Critical peak/dip deflections = {crit_pts[0]:.3f} mm (peak), {crit_pts[1]:.3f} mm (dip)")
print(f"[Example 3] Three deflections yielding F = 80 N: {[round(r, 3) for r in roots_80]} mm")
# Verified Output:
[Example 1] c1 = 3.3333 N, c2 = 1.0884 (dimensionless)
[Example 2] Elastic elongation at 180 MPa = 1.350 mm
[Example 3] Critical peak/dip deflections = 4.734 mm (peak), 11.266 mm (dip)
[Example 3] Three deflections yielding F = 80 N: [4.0, 5.528, 14.472] mm

5. Engineering Practice Problems (Self-Study Exercises)

Try each problem on paper first using the rules from Sections 1–2, then expand the step-by-step solution to check your derivation.

Practice Problem 1 — Thermistor Voltage Divider Inversion

A \(10\text{ k}\Omega\) NTC thermistor is wired in series with a fixed \(R_{\text{ref}} = 10\text{ k}\Omega\) pull-up resistor powered by \(V_{\text{cc}} = 5.00\text{ V}\). The microcontroller ADC reads the divider node voltage: \[V_{\text{out}}(R_T) = V_{\text{cc}} \frac{R_T}{R_T + R_{\text{ref}}}\] Invert \(V_{\text{out}}(R_T)\) to express thermistor resistance \(R_T\) as a function of \(V_{\text{out}}\), state the valid voltage domain, and evaluate \(R_T\) when \(V_{\text{out}} = 1.85\text{ V}\).

🔍 Click to View Complete Step-by-Step Solution
  1. Multiply through by the denominator: \[V_{\text{out}}(R_T + R_{\text{ref}}) = V_{\text{cc}} R_T\]

  2. Collect all \(R_T\) terms on one side: \[V_{\text{out}} R_{\text{ref}} = (V_{\text{cc}} - V_{\text{out}}) R_T \implies R_T(V_{\text{out}}) = R_{\text{ref}} \frac{V_{\text{out}}}{V_{\text{cc}} - V_{\text{out}}}\]

  3. Check domain and limits: For positive finite resistance (\(R_T > 0\)), we require \(0 < V_{\text{out}} < V_{\text{cc}}\). Note the units: \(R_{\text{ref}}\ [\Omega]\) multiplied by \(\frac{[V]}{[V]}\) gives \([\Omega]\)!

  4. Substitute numerical values: \[R_T = 10{,}000\ \Omega \times \frac{1.85}{5.00 - 1.85} = 10{,}000 \times \frac{1.85}{3.15} = \mathbf{5{,}873.0\ \Omega}\]


Practice Problem 2 — Dimensional Audit of a Chemical Reactor Empirical Formula

A piping engineer writes a pressure-drop equation along an elbow as \(\Delta P = \alpha \rho Q^2 + \beta \mu Q + \gamma \rho g z\), where \(\Delta P\) is in \(\text{Pa}\) (\(\text{kg}/(\text{m}\cdot\text{s}^2)\)), \(\rho\) is density (\(\text{kg/m}^3\)), \(Q\) is volumetric flow rate (\(\text{m}^3/\text{s}\)), \(\mu\) is dynamic viscosity (\(\text{kg}/(\text{m}\cdot\text{s})\)), \(g\) is gravity (\(\text{m/s}^2\)), and \(z\) is elevation (\(\text{m}\)). Find the exact SI units of \(\alpha\), \(\beta\), and \(\gamma\) required for dimensional homogeneity.

🔍 Click to View Complete Step-by-Step Solution

Set each additive term equal to \([\Delta P] = \text{kg}\cdot\text{m}^{-1}\cdot\text{s}^{-2}\):

  1. Term 1 (\(\alpha \rho Q^2\)): \[[\alpha]\left(\frac{\text{kg}}{\text{m}^3}\right)\left(\frac{\text{m}^6}{\text{s}^2}\right) = \frac{\text{kg}}{\text{m}\cdot\text{s}^2} \implies [\alpha]\cdot\frac{\text{kg}\cdot\text{m}^3}{\text{s}^2} = \frac{\text{kg}}{\text{m}\cdot\text{s}^2} \implies \mathbf{[\alpha] = \text{m}^{-4}}\] (Physically, \(\alpha \propto 1/D^4\), matching \(K / (2 A^2)\) in pipe loss formulas!)

  2. Term 2 (\(\beta \mu Q\)): \[[\beta]\left(\frac{\text{kg}}{\text{m}\cdot\text{s}}\right)\left(\frac{\text{m}^3}{\text{s}}\right) = \frac{\text{kg}}{\text{m}\cdot\text{s}^2} \implies [\beta]\cdot\frac{\text{kg}\cdot\text{m}^2}{\text{s}^2} = \frac{\text{kg}}{\text{m}\cdot\text{s}^2} \implies \mathbf{[\beta] = \text{m}^{-3}}\] (Physically, \(\beta \propto L / D^4\), matching Hagen–Poiseuille viscous resistance!)

  3. Term 3 (\(\gamma \rho g z\)): \[[\gamma]\left(\frac{\text{kg}}{\text{m}^3}\right)\left(\frac{\text{m}}{\text{s}^2}\right)(\text{m}) = [\gamma]\frac{\text{kg}}{\text{m}\cdot\text{s}^2} \implies \mathbf{[\gamma] = \text{dimensionless } [-]}\]


Practice Problem 3 — Non-Invertible Orifice Gauge vs. Bidirectional Flow

A symmetric differential Venturi flowmeter outputs signed pressure \(\Delta P(Q) = k\,Q\,|Q|\) where \(k = 1200\ \text{Pa}\cdot\text{s}^2/\text{m}^6\) and \(Q\) may be positive (forward) or negative (reverse). Determine whether \(\Delta P(Q)\) is 1-to-1 and write its clean explicit inverse \(Q(\Delta P)\).

🔍 Click to View Complete Step-by-Step Solution
  1. Notice that unlike \(Q^2\) (which turns negative flows positive and fails the Horizontal Line Test!), the signed square \(Q|Q|\) keeps the sign of \(Q\) and is strictly increasing over \((-\infty, +\infty)\), so it is 1-to-1!
  2. To invert \(\Delta P = k\,Q|Q|\): take the magnitude \(|\Delta P| = k |Q|^2 \implies |Q| = \sqrt{|\Delta P|/k}\).
  3. Attach the original sign \(\operatorname{sgn}(\Delta P)\): \[Q(\Delta P) = \operatorname{sgn}(\Delta P)\sqrt{\frac{|\Delta P|}{k}}\] For example, if \(\Delta P = -4800\text{ Pa}\), then \(Q = -\sqrt{4800 / 1200} = \mathbf{-2.0\text{ m}^3/\text{s}}\).

Practice Problem 4 — Piecewise Rocket Payload Mass Function

A two-stage launch vehicle has total remaining mass \(m(t)\) (in metric tons) during burn: \[m(t) = \begin{cases} 500 - 3.2\,t, & 0 \leq t < 100\text{ s (Stage 1 burn)} \\ 140 - 1.1\,(t - 100), & 100 \leq t \leq 180\text{ s (Stage 1 jettisoned, Stage 2 burn)} \end{cases}\] Compute the mass dropped at stage separation (\(t = 100\text{ s}\)), verify why \(m(t)\) is still invertible over \([0, 180]\text{ s}\), and find the mission time \(t\) when vehicle mass reaches \(m = 96\text{ tons}\).

🔍 Click to View Complete Step-by-Step Solution
  1. Mass Just Before vs. After Separation (\(t = 100\text{ s}\)):
    • Just before (\(t \to 100^-\)): \(m(100^-) = 500 - 3.2(100) = 180\text{ tons}\).
    • At \(t = 100\): \(m(100) = 140\text{ tons}\). Thus \(40\text{ tons}\) of empty Stage-1 tankage is dropped!
  2. Check Invertibility: On \([0, 100)\), \(m \in (180, 500]\) strictly decreases. On \([100, 180]\), \(m \in [52, 140]\) strictly decreases. Because the output intervals \((180, 500]\) and \([52, 140]\) do not overlap, every valid mass maps to a unique time \(t\)!
  3. Recover \(t\) when \(m = 96\text{ tons}\): Since \(96 \in [52, 140]\), use Stage 2: \[96 = 140 - 1.1(t - 100) \implies 1.1(t - 100) = 44 \implies t - 100 = 40 \implies \mathbf{t = 140.0\text{ s}}\]

References

🎬 Visual Intuition Animation — Inverse Function Reflection