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 B–H curves of the notes, 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 →
Simulation

The Wave Equation

Forward and backward waves f(z − vt) + g(z + vt) of any shape, with a space-time diagram, a probe signal, and the exact solution in a conducting medium compared with the e^{−αz} short-pulse approximation.

Open full-width →
Simulation

Phasor Explorer

A rotating phasor and its real part, in space and in time, for any lossless or lossy medium (k = β − jα), with the addition of two waves of the same frequency.

Open full-width →

Plane electromagnetic waves

Simulation

Polarisation Explorer

The tip of E for E_x = E1 cos(ωt − βz), E_y = E2 cos(ωt − βz + δ) seen facing the wave, with type, IEEE handedness, axial ratio, tilt and the RHCP/LHCP decomposition, plus the helix in space.

Open full-width →
Simulation

Doppler Effect and Radar

Moving source, observer or radar target with crowding wavefronts, the received shift during a pass and its sweep rate at closest approach.

Open full-width →
Simulation

Plane Wave in a Lossy Medium

Exact α, β, η_c and skin depth of any medium against frequency, compared with the low-loss and good-conductor formulas, with the decaying wave animated.

Open full-width →
Simulation

Waves in a Plasma

Plasma cutoff, evanescence and total reflection, and a wave packet whose crests move at v_p and envelope at v_g, with the ω–β diagram.

Open full-width →
Simulation

Normal Incidence and Layers

A plane wave meets an interface, a coating or a conductor at normal incidence: animated standing wave with its envelope, Γ, τ, SWR, power balance and the reflection against frequency.

Open full-width →
Simulation

Oblique Incidence and Fresnel Coefficients

Drag a ray onto a plane interface: Snell's law, Γ and τ for S and P polarisation against angle, the Brewster and critical angles, and the evanescent wave beyond total reflection.

Open full-width →

Waveguides and cavities

Simulation

Parallel-Plate Waveguide Modes

TEM, TE and TM modes between two plates: field lines, the zig-zag plane waves, the ω–τ diagram, cutoffs, impedances, power and losses.

Open full-width →
Simulation

Rectangular Waveguide Modes

TE and TM modes of a rectangular guide: cross-section field lines, wall currents, mode chart with the single-mode band, power and copper loss.

Open full-width →
Simulation

Circular Waveguide Modes

TE and TM modes of a round pipe from computed Bessel zeros: field patterns, cutoff order, both polarisations, and conductor loss with the falling TE₀₁ curve.

Open full-width →
Simulation

Transmission Line Designer

Coaxial and microstrip lines: impedance, line constants, losses, frequency limits and the TEM / quasi-TEM fields.

Open full-width →
Simulation

Dielectric Slab and Optical Fibre

Graphical solution of the slab modes with profiles and rays, and the fibre's acceptance cone, V number and LP modes.

Open full-width →
Simulation

Cavity Resonator

Resonant spectrum, dominant-mode field pattern, Q and resonance curve of rectangular and circular cavities.

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