A diode carries 20 mA with a 2.0 V forward voltage drop. What is the power dissipation?

P = V*I = 2 * 20 = 40 mW. = 0.04 W.