summaryrefslogtreecommitdiff
path: root/Solid_State_Physics_by_Dr._M._Arumugam/Chapter10_uTyvarI.ipynb
diff options
context:
space:
mode:
authorTrupti Kini2017-01-25 23:30:36 +0600
committerTrupti Kini2017-01-25 23:30:36 +0600
commit9086de783b2c774a5812b19304b5a692c702b20e (patch)
tree1bfa0d979fff9453f511eb5286d02a5201e6035e /Solid_State_Physics_by_Dr._M._Arumugam/Chapter10_uTyvarI.ipynb
parentb2eda18274f2f1e4dc1f2eb2037cd746d087d660 (diff)
downloadPython-Textbook-Companions-9086de783b2c774a5812b19304b5a692c702b20e.tar.gz
Python-Textbook-Companions-9086de783b2c774a5812b19304b5a692c702b20e.tar.bz2
Python-Textbook-Companions-9086de783b2c774a5812b19304b5a692c702b20e.zip
Added(A)/Deleted(D) following books
A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter10_EAg6827.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter10_FWFi3lU.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter10_Goix5H9.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter10_VriTfiQ.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter10_Yq1Psz2.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter10_l9H0tzb.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter10_pYSKzNA.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter10_zs7Ebyd.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter11_27AWa1S.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter11_47129pd.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter11_CGVC5S7.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter11_aM6HbOJ.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter11_elTomjM.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter11_hIH40hA.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter11_hfcwfMy.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter11_rDaXznv.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter12_4CIoGBj.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter12_8Ha6SRC.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter12_BV4qq7W.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter12_DcqNS3a.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter12_GaxQomY.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter12_TWDQmEU.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter12_gYL8x2U.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter12_pwlIEac.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter1_9Ph1wQl.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter1_H4ZXqG6.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter1_R7vvA9U.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter1_RJFpm9n.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter1_hdpf5pv.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter1_s7mmHTE.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter1_svi606z.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter1_yZrBrGW.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter2_1u2hkaL.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter2_4iVYyIH.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter2_96qogp8.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter2_97bKbrn.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter2_KU6DQxX.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter2_WQAFWBB.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter2_kXmkQiI.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter2_rMDgBlb.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter3_0Gpo8ij.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter3_1HFLVW3.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter3_Kef4wQi.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter3_MWqVgIK.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter3_QiNYdnt.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter3_ZOEnqWz.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter3_t8ZxgMJ.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter3_yX7jRTL.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter4_12jIRAa.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter4_7TlydJM.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter4_9F6nz40.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter4_Iv6UqxF.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter4_QznuUog.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter4_Tlme4Nt.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter4_kKbunDz.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter4_kj2kQSj.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter5_ELZ4gfb.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter5_HmzPXBx.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter5_NsyjFuf.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter5_dQcqRqy.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter5_fpjVXLa.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter5_qEtyNEB.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter5_wOjIeEX.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter5_zpdMjKp.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter6_4sTMSct.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter6_OaXeXza.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter6_OzarWlo.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter6_ZcykI2A.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter6_Ztedvce.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter6_hp8AaKa.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter6_j1y0oTK.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter6_srj5dHs.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter7_7s2tMTN.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter7_9XJ7DgO.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter7_Kxvh43O.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter7_St5Khwo.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter7_XgCkEpd.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter7_YxJXxam.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter7_cYbOBPv.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter7_wdE8t89.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter8_3OxJHIx.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter8_Bj4FcI7.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter8_GBeiA21.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter8_QSOQgt9.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter8_lwCA1i3.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter8_m8vzt2q.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter8_pYLCIKK.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/Chapter8_yBBd5FI.ipynb A BSc_First_Year_Physics_by_P._BalaBhaskar,_N._Srinivasa_Rao,_B._Sanjeeva_Rao/screenshots/11.png A Solid_State_Physics_by_Dr._M._Arumugam/Chapter10_uTyvarI.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter11_j1rU3Z4.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter12_MsiPuok.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter13_Nvp3wKs.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter14_EldnQKR.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter1_wnjphci.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter2_MymLk0N.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter3_rTdfw6Q.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter4_OPOooLb.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter5_YkzzeVY.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter6_wKefPQQ.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter8_B0hDPyA.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/screenshots/22_X7ip5yw.png A Solid_State_Physics_by_Dr._M._Arumugam/screenshots/33_mVM81ix.png A Solid_State_Physics_by_Dr._M._Arumugam/screenshots/44_gepd6Lu.png A sample_notebooks/nitinkumar/Chapter2.ipynb
Diffstat (limited to 'Solid_State_Physics_by_Dr._M._Arumugam/Chapter10_uTyvarI.ipynb')
-rw-r--r--Solid_State_Physics_by_Dr._M._Arumugam/Chapter10_uTyvarI.ipynb212
1 files changed, 212 insertions, 0 deletions
diff --git a/Solid_State_Physics_by_Dr._M._Arumugam/Chapter10_uTyvarI.ipynb b/Solid_State_Physics_by_Dr._M._Arumugam/Chapter10_uTyvarI.ipynb
new file mode 100644
index 00000000..76c25efb
--- /dev/null
+++ b/Solid_State_Physics_by_Dr._M._Arumugam/Chapter10_uTyvarI.ipynb
@@ -0,0 +1,212 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# 10: Dielectric Properties"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example number 1, Page number 10.26"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "insulation resistance is 0.85 *10**18 ohm\n",
+ "answer varies due to rounding off errors\n"
+ ]
+ }
+ ],
+ "source": [
+ "#importing modules\n",
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#Variable declaration\n",
+ "rho=5*10**16; #resistivity(ohm m)\n",
+ "l=5*10**-2; #thickness(m)\n",
+ "b=8*10**-2; #length(m)\n",
+ "w=3*10**-2; #width(m)\n",
+ "\n",
+ "#Calculation\n",
+ "A=b*w; #area(m**2)\n",
+ "Rv=rho*l/A; \n",
+ "X=l+b; #length(m)\n",
+ "Y=w; #perpendicular(m)\n",
+ "Rs=Rv*X/Y; \n",
+ "Ri=Rs*Rv/(Rs+Rv); #insulation resistance(ohm)\n",
+ "\n",
+ "#Result\n",
+ "print \"insulation resistance is\",round(Ri/10**18,2),\"*10**18 ohm\"\n",
+ "print \"answer varies due to rounding off errors\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example number 2, Page number 10.26"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "polarisability of He is 0.185 *10**-40 farad m**2\n",
+ "relative permittivity is 1.0000564\n",
+ "answer varies due to rounding off errors\n"
+ ]
+ }
+ ],
+ "source": [
+ "#importing modules\n",
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#Variable declaration\n",
+ "epsilon0=8.84*10**-12;\n",
+ "R=0.55*10**-10; #radius(m)\n",
+ "N=2.7*10**25; #number of atoms\n",
+ "\n",
+ "#Calculation\n",
+ "alpha_e=4*math.pi*epsilon0*R**3; #polarisability of He(farad m**2)\n",
+ "epsilonr=1+(N*alpha_e/epsilon0); #relative permittivity\n",
+ "\n",
+ "#Result\n",
+ "print \"polarisability of He is\",round(alpha_e*10**40,3),\"*10**-40 farad m**2\"\n",
+ "print \"relative permittivity is\",round(epsilonr,7)\n",
+ "print \"answer varies due to rounding off errors\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example number 3, Page number 10.27"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "field strength is 3.535 *10**7 V/m\n",
+ "total dipole moment is 33.4 *10**-12 Cm\n"
+ ]
+ }
+ ],
+ "source": [
+ "#importing modules\n",
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#Variable declaration\n",
+ "A=360*10**-4; #area(m**2)\n",
+ "V=15; #voltage(V)\n",
+ "C=6*10**-6; #capacitance(farad)\n",
+ "epsilonr=8;\n",
+ "epsilon0=8.84*10**-12;\n",
+ "\n",
+ "#Calculation\n",
+ "E=V*C/(epsilon0*epsilonr*A); #field strength(V/m)\n",
+ "dm=epsilon0*(epsilonr-1)*V*A; #total dipole moment(Cm)\n",
+ "\n",
+ "#Result\n",
+ "print \"field strength is\",round(E/10**7,3),\"*10**7 V/m\"\n",
+ "print \"total dipole moment is\",round(dm*10**12,1),\"*10**-12 Cm\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example number 4, Page number 10.27"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "the complex polarizability is (3.50379335033-0.0600074383321j) *10**-40 F-m**2\n",
+ "answer cant be rouned off to 2 decimals as given in the textbook. Since it is a complex number and complex numbers cant be converted to float\n"
+ ]
+ }
+ ],
+ "source": [
+ "#importing modules\n",
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#Variable declaration\n",
+ "epsilonr=4.36; #dielectric constant\n",
+ "t=2.8*10**-2; #loss tangent(t)\n",
+ "N=4*10**28; #number of electrons\n",
+ "epsilon0=8.84*10**-12; \n",
+ "\n",
+ "#Calculation\n",
+ "epsilon_r = epsilonr*t;\n",
+ "epsilonstar = (complex(epsilonr,-epsilon_r));\n",
+ "alphastar = (epsilonstar-1)/(epsilonstar+2);\n",
+ "alpha_star = 3*epsilon0*alphastar/N; #complex polarizability(Fm**2)\n",
+ "\n",
+ "#Result\n",
+ "print \"the complex polarizability is\",alpha_star*10**40,\"*10**-40 F-m**2\"\n",
+ "print \"answer cant be rouned off to 2 decimals as given in the textbook. Since it is a complex number and complex numbers cant be converted to float\""
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 2",
+ "language": "python",
+ "name": "python2"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 2
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython2",
+ "version": "2.7.11"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}