Archive
Electric dipole moment, field and torque in JavaScript
Coulomb's law force between charges in JavaScript
Lenz's law: induced emf and current direction in JavaScript
Pascal's law and the hydraulic lift in JavaScript
Newton's law of cooling in JavaScript: find k and predict temperature
Electrolysis of water and Faraday's law in JavaScript
The work-energy theorem with a variable force in JavaScript
Eddy currents: induced emf and losses in JavaScript
The electromagnetic spectrum in a few lines of JavaScript
The Doppler effect formula in JavaScript: a passing siren and the speed of the source
Finding Planck's constant from photoelectric data with a least-squares fit
Simulating radioactive decay and carbon dating in JavaScript
Simple pendulum period at large angles: the exact formula in JavaScript
Nernst equation and galvanic cell emf in a few lines of JavaScript
How do you calculate Carnot engine efficiency? (JavaScript)
How do you use the lens formula 1/v - 1/u = 1/f? (JavaScript)
How do you calculate fringe width in Young's double slit experiment? (JavaScript example)
How to find equivalent resistance in series and parallel (with a JavaScript calculator)
Snell's law and total internal reflection in a few lines of JavaScript
Faraday's law of electrolysis in 10 lines of JavaScript (with two worked examples)