Experimenting with electricity and magnetism