8. Battery Internal Resistance Tool
Solve a battery’s internal resistance using the Thevenin model: \(V_{\text{terminal}}=\varepsilon - I\,r\). Also compute the operating point with a load \(R_L\) and the maximum power-transfer case \(R_L=r\).
pi, e, sqrt(), sin, cos, exp, log. Use * for multiplication.