clc; PL=0.24; //watt Pdc=1.2; //watt efficiency=(PL/Pdc)*100; disp('%',efficiency,"efficiency=");//The answers vary due to round off error