AIPLA — University of Copenhagen AIPLA — University of Copenhagen
  • Home
  • About
  • Strands
  • Examples
  • Timeline
  • Architecture
  • Evaluation
  • Self-hosting

LED Planck virtual lab

Procedural virtual lab — determine Planck’s constant via LED spectroscopy (Danish stx physics-A)

Generated from the Danish stx physics-A experiment Lysdioder og bestemmelse af Plancks konstant (Erik Vestergaard) by AR using a single prompt. Students follow a real four-step experimental procedure:

  1. Assemble the circuit — drag power supply, breadboard, resistor, LED holder, ammeter (series), voltmeter (parallel) to the correct positions and wire them up
  2. I-U characteristic — sweep supply voltage for one LED, identify the threshold voltage U₀ at the “knee” of the current–voltage curve
  3. Spectroscopy — repeat for six LED colours (red, orange, yellow, green, blue, infrared); read peak wavelength λ from the simulated USB650 spectrometer for each
  4. Report — auto-generated table of (colour, λ, U₀, h), mean Planck’s constant, and % error vs the accepted value (6.626 × 10⁻³⁴ J·s)

AR’s prompt:

“Can you transform this into an interactive virtual lab where students can mimic the experimental procedure described in the file? The virtual lab should not only provide sliders or variables that can be changed, but also tools and equipment that can be moved and used for measurement.”

Fully self-contained — no external dependencies, no API keys, works offline. Physics engine solves the nonlinear diode equation via Newton iteration; calibrated to within ±3% of real LEDs. AR noted “few hallucinations in reading the tools but overall ok” — AIPLA’s physics-lab-builder skill will ground-truth generated labs against source documents before publishing.

This lab is being integrated as AIPLA skill 3. The integration brief includes the full Danish Socratic tutor system prompt and postMessage integration spec.

Open in a new tab for more room.

← Back to Examples

AIPLA — Center for Digital Education, University of Copenhagen

 
  • Edit this page
  • Report an issue

Built with Quarto