//Given that i = 28 //in A LD = 46.6*10^-3 //in kg/m g = 9.8 //in m/s^2 //Sample Problem 29-6 printf("**Sample Problem 29-6**\n") L = 1 //(say) m = LD*L B = m*g/i/L printf("The minimum magnetic field required to suspend the wire is equal to %eT", B)