Single-pole double-throw switch for physics teaching