1 2 3 4 5 6 7 8 9 10 11
clear //Given E=4*10**5 q=1*10**-6 a=3*10**-2 //Calculation t=q*a*E //Result printf("\n Maximum torque on the dipole is %0.3f *10**-2 Nm", t*10**2)