>[!warning]
>This content has not been peer reviewed.
# Constructal law — Code
Script: `rst_constructal_n_efficiency.py`.
## Purpose
Shows that the RST exponent $n$ (transition sharpness) is the same as the **Constructal least-resistance** dimension: plot $\mu(\eta, n)$ for several $n$ and mark $n_0 \approx 1.24$ (derived; SPARC confirms); optionally plot a flow-efficiency or "access" metric vs $n$ that peaks near 1.25 to illustrate that this $n$ **eases the flow of currents**.
## Engine
Imports `mu_rst` from `rst_engine`. Workspace root = three levels up.
## Output
- `constructal_n_efficiency.png`: (1) $\mu(\eta)$ for $n \in \{1.0, 1.25, 1.5, 2.0\}$ with $n_0 = 1.25$ highlighted; (2) or a second panel: efficiency vs $n$ peaking near 1.25.
- Console: summary.
## Links
- **Application:** [[Constructal Law (RST)]]