1:P=UI I=P/U=0.5A
R=U/I=12Ω
P=U平方/R =5.33W
2:已知电压220V 功率100W
R=U平方/P =220*220/100 =484Ω
W = PT = 100*3600 =360000 J