1 2 3 4 5
//EXAMPLE 1-51 PG NO-45-46 TR=2.05; //TOTAL RESISTANCE V=2; //VOLTAGE P=V^2/TR; //ower disp('i)POWER = '+string (P)+' W')