1 2 3 4 5 6 7 8 9 10 11 12
clear //Given L=10.0 //H e=300 //V t=10**-2 //S //Calculation dl=(e*t)/L a=e*t //Result printf("\n Charge in magnetic flux is %0.3f Wb", a)