To use Euler’s number (e ≈ 2.71828) on a scientific calculator for electronics, you must use the ex or exp() function—typically accessed via SHIFT + ln or ALPHA + ln. The most common mistake hobbyists and students make is pressing the EXP or EE button. That button is strictly for base-10 scientific notation (e.g., entering 103), not for calculating natural exponential growth or decay in resistor-capacitor (RC) and resistor-inductor (RL) circuits.
Whether you are using a Casio fx-991EX, a Texas Instruments TI-84 Plus CE, or a smartphone scientific calculator app, mastering the e keystroke is mandatory for predicting how long a capacitor takes to charge or an inductor takes to saturate. Below is the complete framework for applying Euler’s number to transient circuit analysis, including formula derivations, unit tracking, and the specific calculator traps that cause math errors.
The Universal Transient Formula & Symbol Definition
The behavior of any first-order RC or RL circuit responding to a DC step input is governed by a single universal exponential equation. This formula calculates the voltage or current at any specific point in time during the transient phase.
v(t) = Vf + (Vi - Vf)e-t/τ
| Symbol | Definition | Standard Unit | Practical Notes |
|---|---|---|---|
| v(t) | Instantaneous voltage (or current) at time t | Volts (V) or Amps (A) | The target variable you are usually solving for. |
| Vf | Final steady-state value | Volts (V) or Amps (A) | The value the circuit settles at after 5τ (t = ∞). |
| Vi | Initial value at t = 0 | Volts (V) or Amps (A) | The state of the component right before the switch toggles. |
| e | Euler's number | Dimensionless | ≈ 2.71828. Base of the natural logarithm. |
| t | Elapsed time | Seconds (s) | Must match the time unit of τ. |
| τ | Time constant (tau) | Seconds (s) | τ = R × C (for RC) or τ = L / R (for RL). |
Rearranged Forms: Solving for Every Variable
In bench testing and circuit design, you rarely just solve for v(t). More often, you know the target voltage and need to calculate the required time, or you are measuring a decay curve and need to extract the time constant. Here are the algebraically rearranged forms of the universal transient equation:
- 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 value (Vi):
Vi = [ (v(t) - Vf) / e-t/τ ] + Vf - Solve for final value (Vf):
Vf = [ v(t) - (Vi × e-t/τ) ] / (1 - e-t/τ)
Note: The 'ln' function on your calculator is the natural logarithm (base e), which is the exact inverse of the ex function. You will use both buttons extensively when working with these rearranged forms.
Worked Examples with Unit Tracking
Abstract formulas cause wiring and component selection mistakes. Let’s run two concrete scenarios, tracking the units through every intermediate step to ensure the exponent remains dimensionless.
Problem 1: Capacitor Charging Voltage at a Specific Time
Scenario: A 100 μF capacitor is fully discharged (0V) and connected in series with a 10 kΩ resistor to a 12V DC supply. What is the voltage across the capacitor at exactly 5 milliseconds?
- Identify Knowns: Vi = 0V, Vf = 12V, R = 10,000 Ω, C = 0.0001 F, t = 0.005 s.
- Calculate τ: τ = R × C = 10,000 Ω × 0.0001 F = 1 second.
- Setup Equation: v(0.005) = 12 + (0 - 12)e-0.005 / 1
- Simplify: v(0.005) = 12 - 12(e-0.005)
- Calculator Keystroke (ex): Calculate e-0.005. On a Casio, press
SHIFTln(-0.005)=. Result: ≈ 0.995012. - Final Math: v(0.005) = 12 - 12(0.995012) = 12 - 11.9401 = 0.0599 V (or 59.9 mV).
Problem 2: Calculating Discharge Time to a Target Voltage
Scenario: A 220 μF capacitor is charged to 24V. It is disconnected from the source and discharged through a 4.7 kΩ bleeder resistor. How long does it take to drop to a safe-to-touch voltage of 5V?
- Identify Knowns: Vi = 24V, Vf = 0V, v(t) = 5V, R = 4,700 Ω, C = 0.00022 F.
- Calculate τ: τ = 4,700 Ω × 0.00022 F = 1.034 seconds.
- Select Rearranged Formula: t = -τ × ln [ (v(t) - Vf) / (Vi - Vf) ]
- Substitute Values: t = -1.034 × ln [ (5 - 0) / (24 - 0) ]
- Simplify Fraction: t = -1.034 × ln [ 5 / 24 ] = -1.034 × ln(0.20833)
- Calculator Keystroke (ln): Press
ln(5÷24)=. Result: ≈ -1.5686. - Final Math: t = -1.034 × (-1.5686) = 1.622 seconds.
Calculator Keystrokes, Assumptions, and Unit Traps
Knowing the math is only half the battle; applying it correctly on the bench requires understanding the physical assumptions and avoiding calculator syntax errors.
When the Formula Applies (and Its Assumptions)
This exponential model assumes linear, time-invariant components (ideal resistors and capacitors) and a constant DC source (a perfect step input). It does not apply to AC sinusoidal steady-state analysis (which requires phasors and complex impedance) or circuits with non-linear switching elements like diodes clamping the voltage mid-transient. Furthermore, it assumes the capacitor has no equivalent series resistance (ESR) that would cause an immediate voltage step upon connection.
The Unit Mistake That Breaks the Math
The exponent -t/τ must be strictly dimensionless. If your time constant τ is calculated in seconds, your elapsed time t must also be converted to seconds before typing it into the calculator. Mixing milliseconds for t and seconds for τ will result in an exponent that is off by a factor of 1,000, yielding a completely invalid voltage. Always convert μF to Farads (×10-6) and ms to seconds (×10-3) during the τ calculation step.
Realistic Answer Magnitudes & The 5τ Rule
In practical electronics, the exponent -t/τ almost always falls between 0 and -5. Because e0 = 1 (the exact moment of the step) and e-5 ≈ 0.0067 (less than 1% remaining), any calculation yielding an exponent outside this range should trigger a sanity check. In industry, we use the 5τ rule: a circuit is considered fully charged or discharged after 5 time constants. If your calculated time for a 100 μF capacitor and 10 kΩ resistor (τ = 1s) is 45 seconds, you have made a math error, as the transient effectively ends at 5 seconds.
e constant is accessed via 2nd + LN (which prints the e symbol), while the ex function is 2nd + LN depending on the OS version, or found in the MATH menu. Never use the EE button located near the bottom right; that is exclusively for entering numbers like 3EE8 (3 × 108).
Frequently Asked Questions
How to use e on calculator for capacitor discharge?
For a pure discharge to 0V, the formula simplifies because Vf = 0. The equation becomes v(t) = Vi × e-t/τ. On your calculator, multiply your initial voltage by the ex function. For example, if Vi is 15V and -t/τ is -2, you type: 15 × SHIFT ln (- 2 ) =. The result is 2.03V. This simplification saves keystrokes and reduces parenthesis-matching errors on basic scientific calculators.
What is the difference between the e^x button and the EXP button?
This is the most common point of failure for beginners. The ex button calculates Euler’s number (2.718...) raised to a power, which models natural continuous growth/decay in physics and RC circuits. The EXP (or EE) button is a shorthand for "times ten to the power of" (×10x), used strictly for scientific notation to handle very large or very small numbers (like entering 4.7EXP3 for 4,700 Ω). Using EXP in place of ex will result in a voltage calculation that is astronomically wrong.
How do I calculate the time constant if my answer is in milliseconds?
The time constant τ is inherently calculated in seconds when you multiply base SI units: Ohms (Ω) × Farads (F) = Seconds (s). If you want τ in milliseconds, you must multiply the final result by 1,000. However, when plugging τ into the exponential formula e-t/τ, it is vastly safer to convert your elapsed time t into seconds instead. Let the calculator handle the small decimals (e.g., 0.005s) rather than risking a unit mismatch in the exponent.
Why does my calculator give a math error when solving for time?
If your calculator throws a Math ERROR or Domain ERROR while using the rearranged time formula, you are attempting to take the natural log (ln) of a negative number. This happens when the target voltage v(t) is physically impossible given your Vi and Vf boundaries. For example, if a capacitor is charging from 0V to 12V, and you ask the calculator how long it takes to reach 15V, the fraction inside the ln function becomes negative. A capacitor cannot charge past its final steady-state DC source voltage without an external boost converter.






