clear //Given m=1.2*10**-3 B=0.6 //T g=9.8 //m/s**2 r=0.05 b=3.8 //Calculation I=(m*g)/B R=r*b V=I*R //Result printf("\n Potentila difference is %0.1f *10**-3 V",V*10**3)