1 2 3 4 5
clc; Vpk=20; //Volt RL=75; //Ohm PL=Vpk^2/(2*RL);//Watt disp('W',PL,"PL=");//The answers vary due to round off error