Skip to content
Tactiverge

Tactiverge Equation Lab · free · runs in your browser

Maths you can push, pull and break.

Drag a slider and watch a spring ring, a capacitor charge or a descent algorithm fall off a cliff. Every equation shows its live numbers, and every unit is checked by the Unit Intelligence engine, so you can see why a watt is not a joule.

00 · Unit Intelligence

The Unit Checker

Write a calculation the way you would on paper. The checker carries units through every step. When two quantities cannot be added or compared, it says which dimensions differ, why the sum could not mean anything physical, and what you probably meant.

It knows SI base units, N J W Pa V A Ω C F Hz, rad and deg, °C (handled as an offset scale, so 20 °C + 5 K is 25 °C but 40 °C is not “twice” 20 °C), min, h, L, Wh, Ah, and the prefixes n µ m c k M G.

Related: A number without a unit is a mystery · SI prefixes · SI unit style

01 · models are functions

Functions and graphs

y = f(x; a, b, c)

Where engineers meet it

A calibration line, a ball's height, an AC voltage and a cooling curve are all functions with parameters. Engineers read a graph by asking what each parameter does to its shape.

what to notice

Which parameter moves the graph, which stretches it, and which changes its shape entirely? For the sine, b changes how often it repeats, not how tall it is.

02 · arrows you can add

Vectors: addition and the dot product

R = F₁ + F₂; F₁·F₂ = |F₁||F₂|cos θ

Where engineers meet it

Two cables pull on one hook. The hook feels the vector sum. The dot product tells you how much of one force acts along the other: the same maths gives the work done by a force along a path.

what to notice

Make the angle 90°: the dot product is zero, so neither force has any component along the other. Past 90° it turns negative: the forces partly oppose.

03 · a matrix moves space

Matrix transformations of a grid

[x′; y′] = [a b; c d]·[x; y]

Where engineers meet it

Robot arms, game cameras and CAD tools move points with matrices. The columns of the matrix are where the unit arrows land; the determinant is how much every area is scaled.

what to notice

Watch the determinant. When it reaches zero the grid collapses onto a line and the transformation cannot be undone. A negative determinant flips the grid over.

04 · rate of change

Derivatives: secant to tangent

f′(x) = lim (h→0) [f(x + h) − f(x)] / h

Where engineers meet it

Speed is the derivative of position; current is the derivative of charge; power is the derivative of energy. A sensor only gives samples, so engineers estimate derivatives with secants and must choose h.

what to notice

Shrink h and the secant slope closes in on the tangent slope. Where f has a peak, f′ crosses zero; where f is steepest, f′ is largest.

05 · accumulation

Integrals: adding up strips

∫ₐᵇ P(t) dt ≈ Σ ½[P(tᵢ) + P(tᵢ₊₁)]·Δt

Where engineers meet it

A power meter samples watts; your bill is in energy. Energy is the area under the power–time graph, so a battery monitor adds thin strips of P·Δt.

what to notice

Left and right sums miss in opposite directions on a rising curve. The trapezoid rule is exact for a straight line and its error falls about four times when you double the strips.

06 · RC charging and cooling

First-order ODE: Euler versus exact

τ·dy/dt = y∞ − y; y(t) = y∞ + (y₀ − y∞)·e^(−t/τ)

Where engineers meet it

A capacitor charging through a resistor, a mug of tea cooling and a thermometer catching up all follow one equation. Simulators step it forward with methods like Euler's.

what to notice

Halve the step h and Euler's error roughly halves: it is a first-order method. Push h past τ and the steps overshoot; past 2τ they blow up, though the real circuit never does.

07 · ωn and ζ

Second-order oscillator: mass, spring, damper

m·ẍ + c·ẋ + k·x = F

Where engineers meet it

A car suspension, a building in wind, a robot joint and a loudspeaker cone are all masses on springs with damping. Two numbers, ωn and ζ, predict how they ring and settle.

what to notice

Keep k and m fixed and raise c: the ringing dies faster until ζ = 1 (critical damping), after which the response gets slower again. Doubling the mass lowers ωn by √2, not by 2.

08 · normal and binomial

Probability distributions and sampling

p(x) = e^(−(x−μ)²/2σ²) / (σ√2π); P(k) = C(n,k)·pᵏ(1−p)ⁿ⁻ᵏ

Where engineers meet it

No two machined shafts are identical and no sensor reading is exact. Quality engineers model spread with the normal distribution and count defects with the binomial.

what to notice

With few samples the histogram is lumpy and the sample mean wanders. Increase the sample size and it settles onto the curve: the standard error shrinks like 1/√n.

09 · solve f(x) = 0

Root finding: bisection and Newton

bisection: keep the half where the sign changes; Newton: x ← x − f(x)/f′(x)

Where engineers meet it

When does the capacitor reach 3 V? Which current makes a diode circuit balance? Many engineering questions are 'where is f(x) = 0?', and most have no tidy formula.

what to notice

Bisection is slow but certain: the bracket halves every step. Newton roughly doubles the correct digits each step near the root, but a bad start or a flat tangent sends it away.

10 · walk downhill

Optimisation: gradient descent on a landscape

x ← x − η·∇f(x)

Where engineers meet it

Thicker insulation costs more to install but less to heat. Somewhere between is the cheapest design. Gradient descent finds it by stepping downhill, the same idea that trains machine-learning models.

what to notice

Too small a learning rate η crawls; too large overshoots and diverges. In a long narrow valley, the steps zig-zag across instead of along it. With two valleys, where you start decides where you end.

11 · two designs, one plot

Dynamic response comparison

design A vs design B: m·ẍ + c·ẋ + k·x = F

Where engineers meet it

Engineers rarely ask 'is this good?' in isolation. They ask 'is design B better than design A, by which measure, and what did it cost?' Overlaying two responses makes the trade-off visible.

what to notice

Stiffening the spring makes the response faster but, with the same damper, also less damped (ζ falls as k rises). Faster and calmer usually needs more damping too.

How this lab keeps itself honest

  • The oscillator is checked against an independent RK4 integration; Euler's error order, trapezoid exactness on straight lines, Newton's quadratic convergence and the binomial mean are all automated tests.
  • Random samples come from a seeded generator, so the same seed always gives the same histogram.
  • The models are simplified on purpose: linear springs, viscous damping, ideal components, constant parameters. Real systems add friction, saturation, noise and drift.
  • Spotted a mistake? Tell us on the corrections page.