Interactive Lab

Simulations

Every simulation of the course in one place. They run in your browser, respond instantly to dragging and show the formula behind each number. Each one also appears in the section where it is needed.


Vector analysis

Simulation

Vector Algebra

Drag two vectors and see their sum, difference, dot product (as a projection) and cross product (as an oriented area).

Open full-width →
Simulation

Gradient and Directional Derivative

Contour map of a scalar hill with its gradient field. Move a point and a direction to see the directional derivative.

Open full-width →
Simulation

Vector Field Explorer

Arrows, divergence and curl maps of 2-D vector fields, with a probe that shows net outflow and paddle-wheel rotation, and a loop that checks the divergence and Stokes theorems numerically.

Open full-width →
Simulation

Coordinate Systems in 3-D

Rotate a 3-D scene, move a point in Cartesian, cylindrical or spherical coordinates and watch the local unit vectors and coordinate surfaces.

Open full-width →

Electrostatics

Simulation

Point-Charge Playground

Drag point charges, change their values and see the Coulomb forces, field vectors, field lines and equipotentials update instantly.

Open full-width →
Simulation

Building a Continuous Charge from Point Charges

Approximate a line, ring or disk charge by N point charges and watch the field at a point converge to the integral.

Open full-width →
Simulation

Finite Line Charge

Field of a finite line charge at a movable point, compared with the infinite-line result.

Open full-width →
Simulation

Ring, Disk and Annulus on Axis

On-axis field and potential of a charged ring, disk or annulus, with the point-charge and infinite-sheet limits.

Open full-width →
Simulation

Electron Beam Deflection

Accelerate an electron through a potential difference and deflect it between parallel plates onto a screen (CRT and electron gun).

Open full-width →
Simulation

Gaussian Surface Lab

Move and resize a Gaussian sphere among point charges. The numerically integrated flux always equals the enclosed charge over epsilon-zero.

Open full-width →
Simulation

2-D Laplace / Poisson Field Solver

Finite-difference solver running in the browser: draw electrodes and dielectrics, solve for the potential and see equipotentials, field lines and capacitance.

Open full-width →
Simulation

Work Along a Path

Line integral of a field along two different paths between the same points: path independence of conservative fields.

Open full-width →
Simulation

Poisson's Equation in a pn Junction

Depletion-approximation charge, field and potential of an abrupt pn junction with adjustable doping and bias.

Open full-width →
Simulation

Refraction of E at a Dielectric Interface

Boundary conditions in action: tangential E and normal D are continuous, so field lines bend at the interface.

Open full-width →
Simulation

Method of Images

A point or line charge above a grounded plane: field lines, the image charge, the induced surface charge and the attraction force.

Open full-width →
Simulation

Pushing a Dielectric Slab into a Capacitor

Drag the slab into the plates and see capacitance, stored energy, charge and the electrostatic force update, at constant voltage or constant charge.

Open full-width →
Simulation

Capacitor Designer

Parallel-plate, coaxial and spherical capacitors: capacitance, field maximum, breakdown voltage and stored energy.

Open full-width →

Magnetostatics

Simulation

Charged Particle in E and B

Drag the initial velocity of an electron or proton and watch it circle, drift in crossed fields or pass a velocity selector, with the forces qE and qv×B drawn on it.

Open full-width →
Simulation

Hall Effect

Carriers in a current-carrying strip are pushed sideways by B until the Hall field balances them. Compare V_H = IB/nqt for metals and semiconductors and for electrons and holes.

Open full-width →
Simulation

Biot–Savart Field Lines

Field lines and a draggable probe for wires, a loop, a solenoid and a Helmholtz pair, with the numerically integrated Biot–Savart field checked against the closed forms.

Open full-width →
Simulation

Forces Between Parallel Currents

Drag long parallel wires, set their currents in or out of the page, and see the field lines and the force per unit length, including the three-wire balance.

Open full-width →
Simulation

DC Motor and Commutator

A rotating armature coil between magnet poles with its forces, the torque over one turn, the effect of the commutator, the mean torque and the power.

Open full-width →
Simulation

Refraction of B at a Magnetic Interface

Drag the flux density across the interface of two magnetic media and see B_n and H_t stay continuous and the lines bend by tanθ₁/tanθ₂ = μ₁/μ₂.

Open full-width →
Simulation

Hysteresis Loop of a Ferromagnet

Drive soft and hard magnetic materials with a sinusoidal H and watch the initial curve, saturation, remanence, coercivity, minor loops and the hysteresis loss per cycle.

Open full-width →
Simulation

Inductance and Magnetic Energy

L and the stored energy of a solenoid, a gapped toroid, a coaxial cable and two coupled coils, with a sketch, the formulas and a plot of L against the varied parameter.

Open full-width →
Simulation

Magnetic Circuit Solver

A gapped C-core and Problems 4.3.1–4.3.3 solved with the loop and node rules on the book's B–H curves, with the equivalent circuit, the mmf budget and the operating points.

Open full-width →
Simulation

Lifting Electromagnet

A U-magnet over a steel plate: the gap induction, the pull B²S/μ0 on the two poles and its collapse as the plate is dragged away.

Open full-width →

Maxwell's equations

Simulation

Faraday's Law of Induction

A sliding bar, a loop in a changing field, a generator, a moving frame, the Faraday disk and a magnet, with Φ(t), e(t) = −dΦ/dt split into motional and transformer parts, and the induced current by Lenz's law.

Open full-width →
Simulation

Displacement Current

A capacitor driven by V0 cos ωt shows that Ampère's law gives the same circulation on the flat surface and on the bag through the gap only with ε∂E/∂t, plus the ratio σ/(ωε) of real media against frequency.

Open full-width →
Simulation

Uniform Plane Wave

A rotatable 3-D animation of E and H in a uniform plane wave, with the speed, wavelength, wave number, intrinsic impedance and Poynting vector for any f, εr and μr.

Open full-width →
Electromagnetic Fields and Waves · Prof. Gökhan Çınar© 2026 Gökhan Çınar. All rights reserved. Copyright