Magnetic field of a Solenoid & of the Earth