clear //Initialization l=10*10**-3 //inductance in henry di=3 //Calculation v=l*di //voltage //Results printf("\n Voltage, V = %d mV",v*10**3)