DETERMINE CURRENT AND POWER ABSORBED
BY RESISTOR