1 2 3 4 5 6 7 8 9 10 11
clear //Given V=240 //V I=5 //A R=4 //ohm //Calculation Eb=V-(I*R) //Result printf("\n Value of back e.m.f is %0.3f V", Eb)