A battery is connected to a wire as shown. Locations a, b, and c are inside the wire. Location b is at the midpoint of the wire. What is the purpose of connecting the battery to the wire?
1) To generate electricity
2) To create a magnetic field
3) To heat up the wire
4) To measure the resistance of the wire