1 2 3 4 5 6 7 8 9 10 11 12 13
clear //Given V=220 //V P=60.0 //W P1=85 //w //Calculation // R=V**2/P V1=sqrt(P1*R) //Result printf("\n Maximum voltage is %0.1f V",V1)