1 2 3 4 5 6 7 8 9 10 11 12
clear //Given I=35 e=5.0 //lumen/watt //Calculation // a=4*%pi*I P=a/e //Result printf("\n Power of the lamp is %0.0f Watt",P)