From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1952/CH8/EX8.5/Ex8_5.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 1952/CH8/EX8.5/Ex8_5.sce (limited to '1952/CH8/EX8.5') diff --git a/1952/CH8/EX8.5/Ex8_5.sce b/1952/CH8/EX8.5/Ex8_5.sce new file mode 100755 index 000000000..25f83e044 --- /dev/null +++ b/1952/CH8/EX8.5/Ex8_5.sce @@ -0,0 +1,15 @@ +// chapter 8 , Example 8.5 , pg 239 +B=0.65 //magnetic induction (in T) +d=8906 //density (in Kg/m^3) +M=58.7 //atomic weight +e=1.6*10^-19 //charge of electron (in C) +h=6.625*10^-34 //plancks constant (in m^2*Kg*S^-1) +m=9.11*10^-31 //mass of electron (in Kg) +Uo=4*%pi*10^-7 //vacuum permeability +Na=6.023*10^26 //Avogadro constant +Ub=(e*h)/(4*%pi*m) //Bhor magneton (in A*m^2) +N=(d*Na)/M //number of atoms per unit volume +Ur=B/(N*Uo) //relative permeability (in A/m^2) +M=Ur/(Ub) //magnetic moment +printf("Magnetic moment") +printf("M=%.2f A*m^2",M) -- cgit