{ "metadata": { "name": "" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "heading", "level": 1, "metadata": {}, "source": [ "Chapter 16 : Magnetic Materials" ] }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "Example 16.1, Page No 396" ] }, { "cell_type": "code", "collapsed": false, "input": [ "import math\n", "#initialisation of variables\n", "a = 2.87 # lattice parameter in angstrom\n", "n = 2 # number of atoms per unit cell\n", "m = 1750 # Saturation magnetization in kAm^-1\n", "mu = 9.273e-24 # bohr magneton \n", "\n", "#Calculations\n", "m_atom = m*1e3*(a*1e-10)**3/n\n", "mu_b = m_atom/mu\n", "\n", "#Results\n", "print(\" Net magnetic moment per iron atom in crystal is %.3e Am^2\" %m_atom)\n", "print(\" In unit of mu_b, Net magnetic moment per iron atom in crystal is %.1f \" %mu_b)\n" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ " Net magnetic moment per iron atom in crystal is 2.068e-23 Am^2\n", " In unit of mu_b, Net magnetic moment per iron atom in crystal is 2.2 \n" ] } ], "prompt_number": 1 }, { "cell_type": "heading", "level": 2, "metadata": {}, "source": [ "Example 16.2, Page No 398" ] }, { "cell_type": "code", "collapsed": false, "input": [ "import math\n", "#initialisation of variables\n", "t1 = 0 \t\t\t# temperature in kelvin\n", "t2 = 300.0 \t\t# temperature in kelvin\n", "m_net_Gd = 7.0 \t# net magnetic moment of gadolinium\n", "m_net_Co = 1.7 \t# net magnetic moment of cobalt\n", "t_c_Gd = 289.0 # curie temperature for Gd\n", "\n", "#Calculations\n", "print(\" Part A:\")\n", "if m_net_Gd> m_net_Co :\n", "\tprint(\" At %d K, Net magnetic moment of gadolinium i.e. %d is greater than net magnetic moment of cobalt i.e. %.1f \" %(t1,m_net_Gd,m_net_Co))\n", "\tprint(\" So, Gd will have higher saturation magnetization\")\n", "\n", "print(\" Part B:\")\n", "if t_c_Gd