clc //Chapter3 //Ex_20 //Given P_out=2.5*10^-3 // in Watt I=5*10^-3 // in Amp V=2000 // in volts P_in=V*I E=(P_out/P_in)*100 disp(E,"Efficiency of the laser in % is")