clc // Given that X = 1.2e-5 // magnetic susceptibility of magnesium // Sample Problem 3 on page no. 18.22 printf("\n # PROBLEM 3 # \n") printf("Standard formula used \n ") printf(" B = mu_0*H \n") p = 100 * X printf("\n Percentage increase in magnetic induction is %f percent.",p)