If you are analyzing first-order transient circuits, the e^x calculator function is your most critical tool. Whether you are timing a 555 monostable pulse, sizing a soft-start capacitor, or debugging an inductor flyback spike, the natural exponential function dictates how voltage and current transition between states. This guide provides the exact formulas, calculator keystrokes for popular bench models, and worked examples with strict unit tracking to ensure your math matches your oscilloscope traces.
The Universal Transient Response Formula
Every first-order RC (resistor-capacitor) and RL (resistor-inductor) circuit follows a single universal step-response equation. This formula calculates the voltage or current at any specific time t after a DC step change (like closing a switch).
Below is the strict definition of every symbol in the formula. Never substitute variables without verifying their base SI units first.
| Symbol | Definition | Base SI Unit | Typical Circuit Context |
|---|---|---|---|
V(t) |
Instantaneous voltage (or current) at time t | Volts (V) or Amps (A) | The value you measure on a scope at a specific cursor position. |
Vf |
Final steady-state value (as t → ∞) | Volts (V) or Amps (A) | The Thevenin equivalent source voltage or final DC current. |
Vi |
Initial value at t = 0 | Volts (V) or Amps (A) | Capacitor voltage right before the switch closes (often 0V). |
t |
Elapsed time since the step change | Seconds (s) | Time delta from the trigger edge on your oscilloscope. |
τ (tau) |
Time constant of the circuit | Seconds (s) | RC: R(Ω) × C(F). RL: L(H) / R(Ω). |
e |
Euler's number (mathematical constant) | Dimensionless (~2.71828) | The base of the natural logarithm, accessed via the e^x key. |
Rearranged Forms for Circuit Debugging
On the bench, you rarely need to find V(t). Usually, you know the voltage threshold and need to find the time t, or you know the timing requirement and need to solve for the component value via τ. Here are the algebraically rearranged forms solving for each primary variable.
- Solve for time (t):
t = -τ · ln( (V(t) - Vf) / (Vi - Vf) ) - Solve for time constant (τ):
τ = -t / ln( (V(t) - Vf) / (Vi - Vf) ) - Solve for initial state (Vi):
Vi = Vf + (V(t) - Vf) · et/τ
ln) to solve for t, the argument inside the parentheses must be positive. If your target voltage V(t) is physically impossible to reach given your Vi and Vf boundaries, your calculator will throw a Domain Error.
Calculator Keystrokes: Typing e^x on Bench Models
Entering the exponential function correctly is a common stumbling block. The e^x function is almost always the secondary (shift) function of the natural log (ln) key. Here is the exact keystroke sequence for the two most common engineering calculators used in 2026.
Casio fx-991EX ClassWiz (and CW series)
- Press SHIFT (top left).
- Press ln (the key will show ex in yellow above it).
- The screen displays e(. Type your exponent (e.g.,
-2/4.7). - Close the parenthesis ) and press =.
Texas Instruments TI-36X Pro
- Press 2nd (top left).
- Press LN (the key will show ex in green above it).
- The screen displays e(. Type your exponent.
- Press ) then enter.
For more detailed manual references, consult the official Texas Instruments TI-36X Pro documentation or the Casio ClassWiz user guides.
Worked Examples with Strict Unit Tracking
The most common reason circuit math fails to match bench measurements is unit mismatch. The formulas above only work if time is in seconds, resistance in ohms, capacitance in farads, and inductance in henries. Let us walk through two real-world scenarios.
Example 1: RC Charging Circuit (Solving for Voltage)
Scenario: A 12V DC source is switched into a series circuit with a 10 kΩ resistor and a 470 μF electrolytic capacitor. The capacitor is initially dead. What is the voltage across the capacitor exactly 2.0 seconds after the switch closes?
Step 1: Convert to Base SI Units
- R = 10 kΩ = 10,000 Ω
- C = 470 μF = 0.00047 F
- Vi = 0 V (initially dead)
- Vf = 12 V (source voltage)
- t = 2.0 s
Step 2: Calculate the Time Constant (τ)
- τ = R × C
- τ = 10,000 Ω × 0.00047 F = 4.7 seconds
Step 3: Apply the Formula
- V(2) = 12 + (0 - 12) · e-2.0 / 4.7
- V(2) = 12 - 12 · e-0.42553
- Calculator keystroke for e^x: e-0.42553 = 0.65341
- V(2) = 12 - 12(0.65341)
- V(2) = 12 - 7.841
- V(2) = 4.159 Volts
Example 2: RL Discharging Circuit (Solving for Time)
Scenario: A relay coil (inductor) with an inductance of 50 mH and internal resistance of 10 Ω is carrying a steady-state current of 5A. The driving transistor turns off, and the current decays through a freewheeling path (assume the freewheeling path resistance is negligible compared to the coil, so R remains 10 Ω for the decay). How long does it take for the current to drop to 1A?
Step 1: Convert to Base SI Units
- L = 50 mH = 0.05 H
- R = 10 Ω
- Ii = 5 A
- If = 0 A (fully discharged)
- I(t) = 1 A
Step 2: Calculate the Time Constant (τ)
- τ = L / R
- τ = 0.05 H / 10 Ω = 0.005 seconds (or 5 ms)
Step 3: Apply the Rearranged Formula for Time
- t = -τ · ln( (I(t) - If) / (Ii - If) )
- t = -0.005 · ln( (1 - 0) / (5 - 0) )
- t = -0.005 · ln( 1 / 5 )
- t = -0.005 · ln( 0.2 )
- Calculator keystroke for ln: ln(0.2) = -1.60944
- t = -0.005 × -1.60944
- t = 0.008047 seconds
- t = 8.05 ms
Assumptions, Limitations, and Unit Traps
Blindly punching numbers into an e^x calculator will yield garbage if the underlying physics assumptions are violated. Keep these constraints in mind.
When the Formula Applies (and Assumptions)
The universal transient formula assumes a linear, time-invariant (LTI) first-order circuit. This means:
- The circuit contains only one energy storage element (one equivalent capacitor or one equivalent inductor). If you have multiple capacitors, they must be reducible to a single equivalent capacitance via series/parallel combinations.
- The components are linear. (e.g., The resistor does not change value with temperature, and the inductor core is not saturating).
- The input is a DC step function. For AC sine wave inputs, you must use phasor analysis and impedance (Z), not the time-domain exponential step formula.
Which Unit Mistakes Break the Math
The most frequent errors occur when engineers leave prefix multipliers in the calculator.
- The Microfarad Trap: Typing
470instead of0.00047for capacitance. This inflates your time constant by a factor of one million. - The Millisecond Trap: If your time
tis in milliseconds, your time constantτmust also be in milliseconds. The ratio-t/τis dimensionless; as long as the numerator and denominator share the exact same prefix, the e^x math holds. But mixing seconds fortand milliseconds forτwill yield completely wrong exponential decay rates.
What a Realistic Answer Magnitude Looks Like
The term e-t/τ represents the percentage of the transition remaining. For any positive time t, this value must be strictly between 0 and 1.
- At t = 1τ, the multiplier is e-1 ≈ 0.368 (36.8% remaining).
- At t = 5τ, the multiplier is e-5 ≈ 0.0067 (0.67% remaining, effectively steady-state).
- If your calculator outputs an
e-t/τvalue greater than 1, you have a sign error in your exponent (you typed positive instead of negative). If it outputs a negative number, you have a fundamental keystroke error.
Frequently Asked Questions
How do I calculate e^x on a basic scientific calculator if it lacks a dedicated button?
Virtually all scientific calculators have an e^x function, but it is almost always hidden as the secondary function above the ln (natural log) key. Press the SHIFT or 2nd button, then press ln. If you are using a basic smartphone calculator, you must rotate it to landscape mode (or enable the scientific toggle) to reveal the ex or exp button. Standard 4-function calculators cannot perform this calculation natively.
Why does my calculator show a 'Math Error' or 'Domain Error' when solving for time?
When using the rearranged formula to solve for t, you must take the natural log (ln) of the voltage ratio: ln( (V(t) - Vf) / (Vi - Vf) ). The natural log function is undefined for zero or negative numbers. You will trigger a Domain Error if:
1) Your target voltage V(t) is outside the physical bounds of Vi and Vf (e.g., trying to calculate when a 12V charging circuit reaches 15V).
2) You swapped Vi and Vf, resulting in a negative ratio. Double-check your initial and final boundary conditions.
When should I use 10^x instead of e^x in electronics calculations?
You use base-10 exponents (10^x) primarily when working with decibels (dB) and Bode plots. For example, converting a voltage gain in dB back to a linear ratio requires the formula Gain = 10^(dB/20). However, for all natural time-domain transient responses (capacitor charging, inductor decay, thermal mass heating), physics dictates the use of the natural base e (Euler's number). For a deeper dive into the distinction between natural and base-10 logarithms in circuit analysis, refer to the All About Circuits DC textbook section on time constants.
Does the e^x formula work for AC circuits?
No. The formula V(t) = Vf + (Vi - Vf)e-t/τ is strictly for DC step responses. If you apply an AC sine wave to an RC or RL circuit, the capacitor or inductor introduces a phase shift and frequency-dependent impedance (XC = 1/(2πfC) and XL = 2πfL). You must use complex phasor algebra (magnitude and phase angle) to calculate steady-state AC voltages and currents, rather than the time-domain exponential decay formula.






