The Direct Answer: How to Put e in a Calculator
Euler’s number (e ≈ 2.71828) is the mathematical foundation of exponential growth and decay in electronics. If you are trying to calculate capacitor charge times, inductor current ramps, or diode voltage drops, you need to know exactly which buttons to press. Here is the definitive keystroke path for the most common bench calculators:
- Texas Instruments (TI-36X Pro, TI-84): Press
[2nd]then[LN]. The screen will displaye^(. Type your exponent, then close the parenthesis. - Casio (fx-115EX, fx-991EX): Press
[SHIFT]then[LN]. The screen displayse^(. Enter your exponent and press[=]. - Smartphone (iOS/Android native apps): Rotate to landscape mode. Press
[2nd]to reveal secondary functions, then tape^xor the standaloneeconstant button depending on the OS version.
y^x button. Rounding e to 2.718 introduces a 0.01% error that compounds in high-precision timing circuits. Always use the calculator's built-in e^x function, which retains full floating-point precision.
The Core Formula: Exponential Decay in RC Circuits
The most frequent reason you need e on the bench is calculating the voltage across a discharging capacitor. This formula is derived from the differential equation governing current flow ($I = -C \frac{dV}{dt}$) combined with Ohm's Law ($I = \frac{V}{R}$). Integrating this yields the exponential decay model.
Formula: $$V(t) = V_0 \cdot e^{-\frac{t}{RC}}$$
| Symbol | Definition | Standard Unit |
|---|---|---|
| $V(t)$ | Voltage across the capacitor at time t | Volts (V) |
| $V_0$ | Initial voltage at $t = 0$ | Volts (V) |
| $e$ | Euler's number (base of natural logarithm) | Dimensionless (~2.718) |
| $t$ | Elapsed time | Seconds (s) |
| $R$ | Discharge resistance | Ohms (Ω) |
| $C$ | Capacitance | Farads (F) |
When it applies: This formula applies to a simple first-order RC network where a pre-charged capacitor discharges through a fixed, linear resistor.
Assumptions: It assumes an ideal capacitor (no equivalent series resistance or leakage current), a constant ambient temperature (resistance doesn't drift), and that the initial charge is exactly $V_0$ with no parasitic inductance in the loop.
Rearranged Forms: Solving for Time, Resistance, and Capacitance
You rarely have the luxury of just solving for $V(t)$. Usually, you know the target safe voltage and need to size the bleeder resistor or calculate the wait time. Here are the algebraically rearranged forms using the natural logarithm ($\ln$):
- Solve for Time ($t$): $t = -RC \cdot \ln\left(\frac{V(t)}{V_0}\right)$
- Solve for Resistance ($R$): $R = \frac{-t}{C \cdot \ln\left(\frac{V(t)}{V_0}\right)}$
- Solve for Capacitance ($C$): $C = \frac{-t}{R \cdot \ln\left(\frac{V(t)}{V_0}\right)}$
- Solve for Initial Voltage ($V_0$): $V_0 = \frac{V(t)}{e^{-\frac{t}{RC}}}$
Worked Example 1: Capacitor Discharge Time to a Safe Voltage
Scenario: You are servicing a motor drive with a 400V DC bus. The bus has a 470μF smoothing capacitor and a 220kΩ bleeder resistor. You need to know exactly how long to wait after pulling the plug before the voltage drops to a safe touch threshold of 50V.
- Identify Knowns and Convert Units:
$V_0 = 400 \text{ V}$
$V(t) = 50 \text{ V}$
$R = 220,000 \text{ } \Omega$ (not 220)
$C = 0.00047 \text{ F}$ (not 470) - Calculate the Time Constant ($\tau = RC$):
$\tau = 220,000 \text{ } [\Omega] \times 0.00047 \text{ } [F] = 103.4 \text{ } [s]$
Unit tracking check: Ohms $\times$ Farads = Seconds. - Apply the Time Formula:
$t = -103.4 \cdot \ln\left(\frac{50}{400}\right)$ - Execute Calculator Keystrokes:
Calculate the fraction: $50 / 400 = 0.125$
Take the natural log: $\ln(0.125) = -2.07944$
Multiply by negative tau: $-103.4 \times -2.07944 = 215.01 \text{ seconds}$
Result: You must wait 215 seconds (3 minutes, 35 seconds) before touching the bus. I've seen apprentices blow up a meter (or worse) because they assumed a 400V bus was dead after 30 seconds, fundamentally misunderstanding the $RC$ time constant.
Worked Example 2: Sizing a Bleeder Resistor for a Power Supply
Scenario: You are designing a 50V linear power supply with a 1000μF output capacitor. Safety standards dictate the output must drop below 5V within 3 seconds of power removal. What value bleeder resistor do you need?
- Identify Knowns:
$V_0 = 50 \text{ V}$
$V(t) = 5 \text{ V}$
$t = 3 \text{ s}$
$C = 0.001 \text{ F}$ - Apply the Resistance Formula:
$R = \frac{-3}{0.001 \cdot \ln\left(\frac{5}{50}\right)}$ - Execute Intermediate Math:
Fraction: $5 / 50 = 0.1$
Natural log: $\ln(0.1) = -2.30258$
Denominator: $0.001 \times -2.30258 = -0.00230258$ - Final Division:
$R = \frac{-3}{-0.00230258} = 1302.88 \text{ } \Omega$
Result & Part Selection: The math demands 1302Ω. To guarantee the voltage drops faster than 3 seconds, you must choose a standard resistor value lower than the calculated maximum. Select a 1.2kΩ 2W metal film resistor (e.g., Vishay PR02 series). The lower resistance yields a faster discharge, ensuring compliance.
Common Unit Mistakes and Realistic Magnitudes
The math is straightforward; the unit conversions are where bench engineers fail. Here is what breaks the formula:
- The Microfarad Trap: Entering 470 instead of 0.00047. If your calculated time constant is in the hundreds of thousands of seconds for a standard PCB, you forgot to convert μF to Farads.
- The Kilohm Oversight: Entering 10 instead of 10,000 for a 10kΩ resistor.
- Missing the Negative Sign: Forgetting the negative sign in the exponent ($e^{-t/RC}$) or inside the natural log rearrangement. A positive exponent calculates a charging curve blowing up to infinity, not a decay curve.
Realistic Magnitudes: In hobby and commercial low-power electronics, $RC$ time constants typically range from 1 millisecond to 10 seconds. If you are calculating a 555 timer delay and your math spits out 4,500 seconds, your units are wrong. For high-voltage industrial bus caps (like the 400V example above), time constants of 50 to 300 seconds are normal and expected.
Calculator Selection Decision Tree
Not all calculators handle exponential syntax cleanly. Cheap basic scientific calculators often lack parenthesis tracking, leading to order-of-operations errors when calculating $e^{-(t/RC)}$. Use this decision matrix to pick your tool:
| If your workflow requires... | Then you need... | Recommended Model |
|---|---|---|
| Basic RC timing and Ohm's law | Multi-line display, dedicated $e^x$ key | Texas Instruments TI-36X Pro |
| Complex impedance (j-notation) | Native complex number support | Casio fx-115EX ClassWiz |
| Graphing transient curves | Pixel display, CAS capabilities | Texas Instruments TI-Nspire CX II |
For 95% of electrical bench work, graphing capabilities are a distraction and CAS (Computer Algebra System) calculators are overkill. You need a tool that displays the full equation so you can verify your parenthesis placement before hitting enter.
Default Recommendation: Buy the Texas Instruments TI-36X Pro (typically $20-$25). Its MathPrint display shows the exponent visually above the e, completely eliminating the syntax errors common on cheaper single-line models. It is the undisputed standard for professional engineering exams and bench troubleshooting. For deeper reading on RC transient responses and differential derivations, consult the Georgia State University HyperPhysics database or the Electronics Tutorials RC circuit guides.






