A small bulb has a resistance of 2 ohm when cold. It takes a current of 0.4 ampere and a source of 4 volts. Calculate the resistance of the bulb when it is glowing.