Seng Kwang Tan

Simulation on Radioactive Decay using Dice

A simulation based on the casting of dice can be used to demonstrate the concept of half-life. Imagine a certain number of dice being cast together. All the dice that show a six are removed from the population. The remainder are cast again repeatedly, and each time, those that show a six are removed.

The question posed to students is : around which cast will the number of dice be reduced to half the original?

Here is the simulation:

Open in new tab 🔗

Lens Ray Diagram Simulation

I initially wanted to modify my GeoGebra applet on the converging lens ray diagram to include the case for infinitely far objects but thought I should give Claude.ai a try to generate one using javascript. It went very smooth. I merely took a screenshot of the original GeoGebra applet for reference, and used the following prompts: “Refer to this geogebra applet and make a html5 version. The user can change the focal length, the lens position and object height using mouse clicks or touchscreen drags. Keep the size responsive. Keep the buttons as overlays.” There were a few iterations after that but the first iteration was already good enough as a minimum-viable product.

This is the screenshot of the original applet that was used as reference by Claude.ai.

This is the end product:

Open in new tab 🔗

Access the full version here.

Lennard-Jones Potential

Open simulation here. This was built using Claude.AI, which I notice, is better at suggesting UI features than ChatGPT or Gemini. I did not put too much effort into this as I only wanted to explain to upper sec IP students why intermolecular forces need not always be attractive, as well as to link it to the potential energy between particles in the kinetic particle model of matter.

Open in new tab 🔗

Charging Two Conductors by Induction Simulation

Open in new tab 🔗

Following a previous simulation on charging by induction, this simulation allows students to investigate the effects of performing the actions of bringing or removing a charged rod near a pair of conducting cans that can be placed in contact or separated-in any order they choose. Each sequence produces a distinct outcome: the cans may finish with opposite charges or both neutral. The simulation makes the invisible electron shifts clear, helping learners see exactly when charge flows between cans and when it merely redistributes inside a single conductor.

The above screenshot shows one possible state of the charges after a particular sequence of buttons are clicked. Could you figure out what is the order of buttons pressed?

Charging by Induction Simulation

Open in new tab 🔗

In the topic of Static Electricity, charging by induction often presents a challenge for students. The process involves several invisible steps — the movement of electrons, the effect of grounding, and the lasting net charge after removing the influencing object. To bridge this gap between theory and understanding, I have created this interactive simulation to help students visualise the interactions and changes. Students can be asked to predict what will happen using various button sequences to help challenge students’ preconceptions about electric charge and behaviour during induction.

Charging by Induction Javascript Simulation

Refer to the scenario above. What will happen next if we:
a) Remove the earth wire before removing the rod, or
b) Remove the rod before removing the earth wire?

Induced Magnetism Simulation

Open in new tab 🔗

When certain materials like iron, steel, or nickel are placed near a magnet or inside a solenoid (coil of wire with current), they can become temporary magnets. This process is called induced magnetism.

You can explore this using the simulation above.

Use the Permanent Magnet
Click “Use Permanent Magnet” and drag the red-blue magnet near the grey block.
As you move it close, the arrows start to align — this shows that a magnetic field is aligning the domains, turning the material into a temporary magnet.

Try the Solenoid (Electromagnet)
Click “Use Solenoid”. This simulates a current-carrying coil.
Again, when it’s brought near the material, you’ll see the arrows align — the material becomes magnetized by the magnetic field of the solenoid.

Remove the Field
Click “Remove Magnetic Field” — the arrows scatter back to random directions. This shows that induced magnetism is temporary unless the material is a permanent magnet itself.