1 2 3 4 5 6 7 8
//Ex:13.7 clc; clear; close; r=12;//in ohms i=0.5;//in amps P_r=i*i*r;//in W printf("Power radiated = %d W",P_r);