diff options
31 files changed, 14374 insertions, 0 deletions
diff --git a/Engineering_Mechanics_of_Solids_by_Popov_E_P/Chapter1.ipynb b/Engineering_Mechanics_of_Solids_by_Popov_E_P/Chapter1.ipynb new file mode 100644 index 00000000..ed833104 --- /dev/null +++ b/Engineering_Mechanics_of_Solids_by_Popov_E_P/Chapter1.ipynb @@ -0,0 +1,437 @@ +{
+ "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.10"
+ },
+ "name": "",
+ "signature": "sha256:5ef00909be24a2b4d65cd7f64da2e07a8b79e5ac34c1eea3e4cbb11c87e75590"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 1 : Stress, Axial loads and Safety concepts"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.1 page number 24"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "import math\n",
+ "d_bolt = 20.0 #mm,diameter,This is not the minimum area\n",
+ "d_bolt_min = 16.0 #mm This is at the roots of the thread \n",
+ "#This yealds maximum stress \n",
+ "A_crossection = (math.pi)*(d_bolt**2)/4 #mm*2\n",
+ "A_crossection_min = (math.pi)*(d_bolt_min**2)/4 #mm*2 ,This is minimum area which yeilds maximum stress\n",
+ "load = 10.0 #KN\n",
+ "BC = 1.0 #m\n",
+ "CF = 2.5 #m\n",
+ "contact_area = 200*200 # mm*2 , The contact area at c\n",
+ "\n",
+ "#caliculations \n",
+ "#Balancing forces in the x direction:\n",
+ "# Balncing the moments about C and B:\n",
+ "Fx = 0 \n",
+ "R_cy = load*(BC+CF) #KN , Reaction at C in y-direction\n",
+ "R_by = load*(CF) #KN , Reaction at B in y-direction\n",
+ "#Because of 2 bolts\n",
+ "stress_max = (R_by/(2*A_crossection_min))*(10**3) # MPA,maximum stess records at minimum area\n",
+ "stress_shank = (R_by/(2*A_crossection))*(10**3) # MPA\n",
+ "Bearing_stress_c = (R_cy/contact_area)*(10**3) #MPA, Bearing stress at C\n",
+ "\n",
+ "print\"The bearing stress at C is \",(Bearing_stress_c) ,\"MPA\"\n",
+ "print\"The maximum normal stress in BD bolt is: \",round(stress_max),\"MPA\"\n",
+ "print\"The tensile strss at shank of the bolt is: \",round(stress_shank),\"MPA\"\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The bearing stress at C is 0.875 MPA\n",
+ "The maximum normal stress in BD bolt is: 62.0 MPA\n",
+ "The tensile strss at shank of the bolt is: 40.0 MPA\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.2 page number 26"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "load_distributed = 20 #KN/m*2, This is the load distributed over the pier\n",
+ "H = 2 # m, Total height \n",
+ "h = 1 #m , point of investigation \n",
+ "base = 1.5 #m The length of crossection in side veiw \n",
+ "top = 0.5 #m ,The length where load is distributed on top\n",
+ "base_inv = 1 #m , the length at the point of investigation \n",
+ "area = 0.5*1 #m ,The length at a-a crossection \n",
+ "density_conc = 25 #KN/m*2\n",
+ "#caliculation of total weight \n",
+ "\n",
+ "v_total = ((top+base)/2)*top*H #m*2 ,The total volume \n",
+ "w_total = v_total* density_conc #KN , The total weight\n",
+ "R_top = (top**2)*load_distributed #KN , THe reaction force due to load distribution \n",
+ "reaction_net = w_total + R_top\n",
+ "\n",
+ "#caliculation of State of stress at 1m \n",
+ "v_inv = ((top+base_inv)/2)*top*h #m*2 ,The total volume from 1m to top\n",
+ "w_inv = v_inv*density_conc #KN , The total weight from 1m to top\n",
+ "reaction_net = w_inv + R_top #KN\n",
+ "Stress = reaction_net/area #KN/m*2\n",
+ "print\"The total weight of pier is\",w_total,\"KN\"\n",
+ "print\"The stress at 1 m above is\",Stress,\"MPA\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The total weightof pier: 25.0 KN\n",
+ "The stress at 1 m above is 28.75 MPA\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.3 page number 27"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "from math import pow\n",
+ "d_pins = 0.375 #inch\n",
+ "load = 3 #Kips\n",
+ "AB_x = 6 #inch,X-component\n",
+ "AB_y = 3 #inch,Y-component \n",
+ "BC_y = 6 #inch,Y-component\n",
+ "BC_x = 6 #inch,X-component\n",
+ "area_AB = 0.25*0.5 #inch*2 \n",
+ "area_net = 0.20*2*(0.875-0.375) #inch*2 \n",
+ "area_BC = 0.875*0.25 #inch*2 \n",
+ "area_pin = d_pins*2*0.20 #inch*2 \n",
+ "area_pin_crossection = 3.14*((d_pins/2)**2)\n",
+ "#caliculations\n",
+ "\n",
+ "slope = AB_y/ AB_x #For AB\n",
+ "slope = BC_y/ BC_x #For BC\n",
+ "\n",
+ "#momentum at point C:\n",
+ "F_A_x = (load*AB_x )/(BC_y + AB_y ) #Kips, F_A_x X-component of F_A\n",
+ "\n",
+ "#momentum at point A:\n",
+ "F_C_x = -(load*BC_x)/(BC_y + AB_y ) #Kips, F_C_x X-component of F_c\n",
+ "\n",
+ "#X,Y components of F_A\n",
+ "F_A= (pow(5,0.5)/2)*F_A_x #Kips\n",
+ "F_A_y = 0.5*F_A_x #Kips\n",
+ "\n",
+ "#X,Y components of F_C \n",
+ "F_C= pow(2,0.5)*F_C_x #Kips\n",
+ "F_C_y = F_C_x #Kips\n",
+ "\n",
+ "T_stress_AB = F_A/area_AB #Ksi , Tensile stress in main bar AB\n",
+ "stress_clevis = F_A/area_net #Ksi ,Tensile stress in clevis of main bar AB\n",
+ "c_strees_BC = F_C/area_BC #Ksi , Comprensive stress in main bar BC\n",
+ "B_stress_pin = F_C/area_pin #Ksi , Bearing stress in pin at C\n",
+ "To_stress_pin = F_C/area_pin_crossection #Ksi , torsion stress in pin at C\n",
+ "\n",
+ "print\"Tensile stress in main bar AB:\",round(T_stress_AB,2),\"Ksi\"\n",
+ "print\"Tensile stress in clevis of main bar AB:\",round(stress_clevis,2),\"Ksi\"\n",
+ "print\"Comprensive stress in main bar BC:\",round(-c_strees_BC,2),\"Ksi\"\n",
+ "print\"Bearing stress in pin at C:\",round(-B_stress_pin,2),\"Ksi\"\n",
+ "print\"torsion stress in pin at C:\",round(To_stress_pin,2),\"Ksi\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Tensile stress in main bar AB: 17.89 Ksi\n",
+ "Tensile stress in clevis of main bar AB: 11.18 Ksi\n",
+ "Comprensive stress in main bar BC: 12.93 Ksi\n",
+ "Bearing stress in pin at C: 18.86 Ksi\n",
+ "torsion stress in pin at C: -25.62 Ksi\n"
+ ]
+ }
+ ],
+ "prompt_number": 35
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.4 page number 38"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "strength_steel = 120 #Ksi\n",
+ "factor = 2.5\n",
+ "F_C = 2.23 #Ksi\n",
+ "\n",
+ "#caliculations\n",
+ "\n",
+ "stress_allow = strength_steel/factor #Ksi\n",
+ "A_net = F_C/strength_steel #in*2 , \n",
+ "#lets adopt 0.20x0.25 in*2 and check wether we are correct or not? \n",
+ "\n",
+ "A_net_assumption = 0.25*0.20 #in*2 , this is assumed area which is near to A_net\n",
+ "stress = 2.23/A_net_assumption #Ksi\n",
+ "factor_assumed = strength_steel/stress \n",
+ "\n",
+ "if factor_assumed > factor :\n",
+ " print \"The factor\",factor,\"is less than assumed factor\",round(factor_assumed,1),\"so this can be considered\"\n",
+ "else:\n",
+ " print \"The assumed factor\",factor, \"is more than assumed factor\",factor_assumed,\"factor_assumed\"\n",
+ " \n",
+ " \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The factor 2.5 is less than assumed factor 2.7 so this can be considered\n"
+ ]
+ }
+ ],
+ "prompt_number": 36
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.6 page number 35"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "mass = 5 #Kg\n",
+ "frequency = 10 #Hz\n",
+ "stress_allow = 200 #MPa\n",
+ "R = 0.5 #m\n",
+ "\n",
+ "#caliculations \n",
+ "from math import pi\n",
+ "w = 2*pi*frequency #rad/sec\n",
+ "a = (w**2)*R #m*2/sec\n",
+ "F = mass*a #N\n",
+ "A_req = F/stress_allow #m*2 , The required area for aloowing stress\n",
+ "print\"The required size of rod is:\",round(A_req,2),\"m*2\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The required size of rod is: 49.35 m*2\n"
+ ]
+ }
+ ],
+ "prompt_number": 40
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.7 page number 45"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "D_n = 5.0 #kips, dead load\n",
+ "L_n_1 = 1.0 #kips ,live load 1\n",
+ "L_n_2 = 15 #kips ,live load 2\n",
+ "stress_allow = 22 #ksi\n",
+ "phi = 0.9 #probalistic coefficients\n",
+ "y_stress = 36 #ksi,Yeild strength\n",
+ "#According to AISR \n",
+ "\n",
+ "#a\n",
+ "p_1 = D_n + L_n_1 #kips since the total load is sum of dead load and live load\n",
+ "p_2 = D_n + L_n_2 #kips, For second live load\n",
+ "\n",
+ "Area_1 = p_1/stress_allow #in*2 ,the allowable area for the allowed stress\n",
+ "Area_2 = p_2/stress_allow #in*2\n",
+ "print \"the allowable area for live load\",L_n_1,\"is\",round(Area_1,3),\"in*2\"\n",
+ "print \"the allowable area for live load\",L_n_2,\"is\",round(Area_2,3),\"in*2\"\n",
+ "\n",
+ "#b\n",
+ "#area_crossection= (1.2*D_n +1.6L_n)/(phi*y_stress)\n",
+ "\n",
+ "area_crossection_1= (1.2*D_n +1.6*L_n_1)/(phi*y_stress) #in*2,crossection area for first live load\n",
+ "area_crossection_2= (1.2*D_n +1.6*L_n_2)/(phi*y_stress) #in*2,crossection area for second live load\n",
+ "print \"the crossection area for live load\",L_n_1,\"is\",round(area_crossection_1,3),\"in*2\"\n",
+ "print \"the crossection area for live load\",L_n_2,\"is\",round(area_crossection_2,3),\"in*2\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the allowable area for live load 1.0 is 0.273 in*2\n",
+ "the allowable area for live load 15 is 0.909 in*2\n",
+ "the crossection area for live load 1.0 is 0.235 in*2\n",
+ "the crossection area for live load 15 is 0.926 in*2\n"
+ ]
+ }
+ ],
+ "prompt_number": 46
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.8 page number 51"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "A_angle = 2 #in*2 \n",
+ "stress_allow = 20 #ksi, The maximum alowable stress\n",
+ "F = stress_allow*A_angle #K, The maximum force\n",
+ "AD = 3 #in, from the figure\n",
+ "DC = 1.06 #in, from the figure\n",
+ "strength_AWS = 5.56 # kips/in,Allowable strength according to AWS\n",
+ "\n",
+ "#caliculations \n",
+ "#momentum at point \"d\" is equal to 0\n",
+ "R_1 = (F*DC)/AD #k,Resultant force developed by the weld\n",
+ "R_2 = (F*(AD-DC))/AD #k,Resultant force developed by the weld\n",
+ "\n",
+ "l_1 = R_1/strength_AWS #in,Length of the Weld 1\n",
+ "l_2 = R_2/strength_AWS #in,Length of the Weld 2\n",
+ " \n",
+ "print \"Length of the Weld 1:\",round(l_1,2),\"in\"\n",
+ "print \"Length of the Weld 2:\",round(l_2,2),\"in\" \n",
+ " \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Length of the Weld 1: 2.54 in\n",
+ "Length of the Weld 2: 4.65 in\n"
+ ]
+ }
+ ],
+ "prompt_number": 52
+ },
+ {
+ "cell_type": "code",
+ "collapsed": true,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "ename": "IOError",
+ "evalue": "[Errno 2] No such file or directory: 'arr'",
+ "output_type": "pyerr",
+ "traceback": [
+ "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m\n\u001b[1;31mIOError\u001b[0m Traceback (most recent call last)",
+ "\u001b[1;32m<ipython-input-1-7d69e32f0cee>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m()\u001b[0m\n\u001b[0;32m 1\u001b[0m \u001b[1;32mimport\u001b[0m \u001b[0mnumpy\u001b[0m \u001b[1;32mas\u001b[0m \u001b[0mnp\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m----> 2\u001b[1;33m \u001b[0mnp\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mload\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;34m'arr'\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m",
+ "\u001b[1;32mC:\\Users\\Kowshik\\AppData\\Local\\Enthought\\Canopy\\User\\lib\\site-packages\\numpy\\lib\\npyio.pyc\u001b[0m in \u001b[0;36mload\u001b[1;34m(file, mmap_mode)\u001b[0m\n\u001b[0;32m 367\u001b[0m \u001b[0mown_fid\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mFalse\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 368\u001b[0m \u001b[1;32mif\u001b[0m \u001b[0misinstance\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mfile\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mbasestring\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 369\u001b[1;33m \u001b[0mfid\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mopen\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mfile\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;34m\"rb\"\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 370\u001b[0m \u001b[0mown_fid\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mTrue\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 371\u001b[0m \u001b[1;32melif\u001b[0m \u001b[0misinstance\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mfile\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mgzip\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mGzipFile\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
+ "\u001b[1;31mIOError\u001b[0m: [Errno 2] No such file or directory: 'arr'"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter10.ipynb b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter10.ipynb new file mode 100644 index 00000000..695fe138 --- /dev/null +++ b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter10.ipynb @@ -0,0 +1,896 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:42031753a466b3ba5ee8c11468e375015d1a3d943c879daacc89b28eec81ab67"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 10:Deflections of beams "
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.1 page number 501"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "dia = 400 #mm - The diameter of a pulley\n",
+ "E = 200 #Gpa - Youngs modulus\n",
+ "t = 0.6 #mm - The thickness of band\n",
+ "c = t/2 #mm - The maximum stress is seen \n",
+ "#Caliculations\n",
+ "\n",
+ "stress_max = E*c*(10**3)/(dia/2) #Mpa - The maximum stress on the crossection occurs at the ends\n",
+ "print \"The maximum bending stress developed in the saw \",stress_max,\"Mpa\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum bending stress developed in the saw 300.0 Mpa\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.3 page number 512"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "import numpy\n",
+ "l_ab = 1.0 #L in - The length of the beam\n",
+ "F_D = 1.0 #W lb/in - The force distribution \n",
+ "F = F_D*l_ab #WL - The force applied\n",
+ "#Beause of symmetry the moment caliculations can be neglected\n",
+ "#F_Y = 0\n",
+ "R_A = F/2 #wl - The reactive force at A\n",
+ "R_B = F/2 #wl - The reactive force at B\n",
+ "#EI - The flxure rigidity is constant and 1/EI =1 # k\n",
+ "\n",
+ "#part - A\n",
+ "#section 1--1\n",
+ "l_1 = [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1] #L taking each section at 0.1L distance \n",
+ "M_1 = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "v = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "for i in range(10):\n",
+ " v[i] = R_A - F_D*l_1[i] \n",
+ " M_1[i] = R_A*l_1[i] - F_D*(l_1[i]**2)/2\n",
+ "# (EI)y'' = M_1[i] we will integrate M_1[i] twice where variable is l_1[i]\n",
+ "#(EI)y'- \n",
+ "\n",
+ "M_1_intg1 = R_A*(l_1[i]**2)/4 - F_D*(l_1[i]**3)/6 - F_D*(l_ab**3)*l_1[i]/24 #integration of x**n = x**n+1/n+1\n",
+ "#(EI)y- Using end conditions for caliculating constants \n",
+ "\n",
+ "M_1_intg2 = R_A*(l_1[i]**3)/12.0 - F_D*(l_1[i]**4)/24.0 + F_D*(l_ab**3)*l_1[i]/24.0 \n",
+ "#Equations \n",
+ "\n",
+ "l_1 = [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1] #L taking each section at 0.1L distance \n",
+ "M_1_intg2 = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "Y = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "for i in range(10):\n",
+ " M_1_intg2[i] = (l_1[i]**3)/12.0 - (l_1[i]**4)/24.0 - l_1[i]/24.0 # discluding every term for ruling out float values\n",
+ " Y[i] = M_1_intg2[i] #W(l**4)/EI k = 1/EI\n",
+ "#The precision is very less while caliculating through this equation because the least count in X direction is 0.1\n",
+ "print \"a) The maximum displacement in y direction is\",min(Y),\"W(l**4)/EI \"\n",
+ "print \"a) The maximum deflection occured at\",l_1[Y.index(min(Y))],\"L\"\n",
+ "\n",
+ "#Part - B\n",
+ "#Graphs\n",
+ "import numpy as np\n",
+ "values = M_1\n",
+ "y = np.array(values)\n",
+ "t = np.linspace(0,1,11)\n",
+ "poly_coeff = np.polyfit(t, y, 2)\n",
+ "import matplotlib.pyplot as plt\n",
+ "plt.plot(t, y, 'o')\n",
+ "plt.plot(t, np.poly1d(poly_coeff)(t), '-')\n",
+ "plt.show()\n",
+ "print \"b) The above graph is bending moment graph\"\n",
+ "import numpy as np\n",
+ "values = Y \n",
+ "y = np.array(values)\n",
+ "t = np.linspace(0,1,11)\n",
+ "poly_coeff = np.polyfit(t, y, 2)\n",
+ "import matplotlib.pyplot as plt\n",
+ "plt.plot(t, y, 'o')\n",
+ "plt.plot(t, np.poly1d(poly_coeff)(t), '-')\n",
+ "plt.show()\n",
+ "print \"b)The above graph is beam displacement graph\"\n",
+ "print \"b)The maximum occures in the middle from the above graph \"\n",
+ "\n",
+ "\n",
+ " \n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a) The maximum displacement in y direction is -0.0130208333333 W(l**4)/EI \n",
+ "a) The maximum deflection occured at 0.5 L\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYQAAAEACAYAAACznAEdAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xl4FeX5xvHvQwIJKLIoiywVBRTFIiggKmqURXaxWq0L\nAWsrYllcWkUoBeuCWvtTgxsqKK64I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HaIVaSv4mWQF0ze9vMFpvZgEpLV7lKsi0eBVqb2SZgGTCikrJFolLt\nN8O57LQ8lfSDXPQS1FjcAZT432RmZ5F/l/dpFRcnMCXZDvcCI93dzcz49d9HrCjJtqgKnAh0AWoA\nC83sfXf/vEKTVb6SbItRwFJ3TzGz5sBcMzvB3XdWcLZIVeL9ZqQUhI1A00LTTcmvZPtr0yQ0L9aU\nZFsQ6kh+FOjh7vs7ZIxWJdkOJwFT82sBhwE9zSzH3adXTsRKU5JtsR7Y6u57gD1mtgA4AYi1glCS\nbXEqcBuAu682sy+AY8i/LyrelGq/GSmnjApuYDOzauTfwFb0Qz0dSIWCO6C3+89jKcWSA24LM/sN\n8ApwmbuvCiBjZTjgdnD3o9z9SHc/kvx+hCExWAygZJ+P14DOZpZgZjXI70BcXsk5K0NJtsUKoCtA\n6Hz5McCaSk0ZOUq134yIIwR3zzWzocBsfr6BLdPMBoden+juM82sl5mtAnYDlwcYucKUZFsA/wDq\nAA+Fvh3nuHvHoDJXhBJuh7hQws/HCjN7E/gYyCP/5tCYKwgl/Lu4HXjczJaR/6X3Bnf/rtiVRjEz\new44EzjMzNYDY8k/fVim/aZuTBMRESByThmJiEjAVBBERARQQRARkRAVBBERAVQQREQkRAVBREQA\nFQQREQlRQRAREQD+H2Gz7ECR6pNEAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x8059b00>"
+ ]
+ },
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "b) The above graph is bending moment graph\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYsAAAEACAYAAABCl1qQAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xd4VNXWx/HvSiihSAkgHcEY6QLSIhZigQSQYgHEhoA0\nBWyvgheRgHJFvYoCFsSA2EDFQjS0iERQKQLShFCiIKCgKL2ElP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qHnGtrgJq+Tijr+Tk5wJgODAX+MOX4XwsJ/viduBjVd0LoKoHfZzR\nV3KyL34DyrmWywF/avq51UJFVZeTfjVpVs77fdPfi0VObupz16Ywvkme7w2OA4D5+ZrIOR73hYjU\nJP2N4jXXpsJ6ci4nPxehQLCILBWRNSJyl8/S+VZO9sV0oLGI/ApsAB7wUTZ/c97vm95cOusLOf0F\nz3wJbWF8Y8jx9yQi1wL9gSvzL46jcrIvXgJGqaq6bu4srJdZ52RfFAcuB64HSgMrRGSlqu7I12S+\nl5N98R9gvaqGi0gIECcizVT1WD5n80fn9b7p78ViH1A7w3pt0itgdm1qubYVNjnZF7hOak8HIlU1\nu2FoQZaTfdESmOOaBKAy0ElEklU1xjcRfSYn+2IPcFBVTwGnRGQZ0AwobMUiJ/uiHTABQFUTReRn\noD7p94QVJef9vunvh6HO3tQnIiVIv6kv8y97DHA3gIiEAYf1nzmrChOP+0JE6gCfAHeq6k4HMvqK\nx32hqheraj1VrUf6eYuhhbBQQM5+R+YBV4lIoIiUJv2EZmGcpDMn+yIBuAHAdYy+PumTlhY15/2+\n6dcjC1VNEZG/b+oLBKJVdauIDHY9Pk1V54tIZxHZCZwA+jkYOd/kZF8ATwIVgddcf1Enq2obpzLn\nlxzuiyIhh78jCSKyENgIpAHTVbXQFYsc/lz8F5gpIhtI/2P5MVX9y7HQ+UREZgPtgcqum5/Hkn44\nMtfvm3ZTnjHGGI/8/TCUMcYYP2DFwhhjjEdWLIwxxnhkxcIYY4xHViyMMcZ4ZMXCGGOMR1YsjDHG\neGTFwhhjjEf/D05C44YG+g5FAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x8217320>"
+ ]
+ },
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "b)The above graph is beam displacement graph\n",
+ "b)The maximum occures in the middle from the above graph \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.4 page number 514"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "import numpy\n",
+ "l_ab = 1.0 #L in - The length of the beam\n",
+ "F_D = 1.0 #W lb/in - The force distribution \n",
+ "F = F_D*l_ab #WL - The force applied\n",
+ "#Beause of symmetry the moment caliculations can be neglected\n",
+ "#F_Y = 0\n",
+ "R_A = F/2 #wl - The reactive force at A\n",
+ "R_B = F/2 #wl - The reactive force at B\n",
+ "#EI - The flxure rigidity is constant and 1/EI =1 # k\n",
+ "#M_A and M_B are applied at the ends\n",
+ "\n",
+ "#part - A\n",
+ "#section 1--1\n",
+ "l_1 = [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1] #L taking each section at 0.1L distance \n",
+ "M = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "for i in range(10):\n",
+ " M[i] = l_1[i]/2.0 - (l_1[i]**2)/2.0 -1.0/12.0 #The moment euation at 1--1 section\n",
+ "# M_1 = R_A*l_1[i]/2.0 - F_D*(l_1[i]**2)/2.0 -F_D*(l_ab**2)/12.0 #The moment euation at 1--1 section \n",
+ "# (EI)y'' = M_1[i] we will integrate M_1[i] twice where variable is l_1[i]\n",
+ "#(EI)y'\n",
+ "M_1_intg1 = R_A*(l_1[i]**2)/4 - F_D*(l_1[i]**3)/6 - F_D*(l_ab**2)*l_1[i]/12.0 #integration of x**n = x**n+1/n+1\n",
+ "#(EI)y\n",
+ "M_1_intg2[i] = R_A*(l_1[i]**3)/12.0 - F_D*(l_1[i]**4)/24.0 + F_D*(l_ab**2)*(l_1[i]**2)/24.0 \n",
+ "\n",
+ "l_1 = [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1] #L taking each section at 0.1L distance \n",
+ "M_1_intg2 = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "Y = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "for i in range(10):\n",
+ " M_1_intg2[i] = (l_1[i]**3)/12.0 - (l_1[i]**4)/24.0 - (l_1[i]**2)/24.0 # discluding every term for ruling out float values\n",
+ " Y[i] = M_1_intg2[i] #W(l**4)/EI k = 1/EI\n",
+ " \n",
+ "#Part - B\n",
+ "#Graphs\n",
+ "import numpy as np\n",
+ "values = M\n",
+ "y = np.array(values)\n",
+ "t = np.linspace(0,1,11)\n",
+ "poly_coeff = np.polyfit(t, y, 2)\n",
+ "import matplotlib.pyplot as plt\n",
+ "plt.plot(t, y, 'o')\n",
+ "plt.plot(t, np.poly1d(poly_coeff)(t), '-')\n",
+ "plt.show()\n",
+ "print \"b) The above graph is bending moment graph\"\n",
+ "import numpy as np\n",
+ "values = Y \n",
+ "y = np.array(values)\n",
+ "t = np.linspace(0,1,11)\n",
+ "poly_coeff = np.polyfit(t, y, 2)\n",
+ "import matplotlib.pyplot as plt\n",
+ "plt.plot(t, y, 'o')\n",
+ "plt.plot(t, np.poly1d(poly_coeff)(t), '-')\n",
+ "plt.show()\n",
+ "\n",
+ "\n",
+ " \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEACAYAAABcXmojAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xl4FGW6/vHvQ1iCKCCigIAyrMLouB0R94ACYTEoKAwi\n4jZubM444wIunKMedZxRWUZ+HhTEGQERQULCkqAERAWXAXVkj4OCLIojImAgy/P7g7YJMUCSTro6\nyf25rr6o5a3qm7q660lVvVVt7o6IiAhAlaADiIhI7FBREBGRMBUFEREJU1EQEZEwFQUREQlTURAR\nkbCIi4KZJZrZGjNbb2b3HabNmND8T8zs7HzT65rZDDNbbWarzKxDpHlERKTkIioKZhYHjAMSgXZA\nfzNrW6BNd6Clu7cCbgPG55s9Gpjr7m2B3wCrI8kjIiKRifRIoT2wwd03uns2MA3oVaBNEjAZw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FmZ0CzASud/cN\nAWSMlqNuC3dv7u6/cvdfceC6wp0VsCBA0b4js4GLzSzOzI7hwIXFVVHOGQ1F2RZrgCsAQufQ2wBf\nRDVlbCj2fjMmjhTcPcfMhgALONCz4CV3X21mt4fmv+Duc82su5ltAPYANwUYucwUZVsADwPHA+ND\nfyFnu3v7oDKXlSJui0qhiN+RNWY2H/gUyOPATaQVrigU8XPxv8AkM/uEA3/83uvu/wksdBnJd3Nw\nfTPbBDzCgdOIJd5v6uY1EREJi5XTRyIiEgNUFEREJExFQUREwlQUREQkTEVBRETCVBRERCRMRUFE\nRMJUFEREJOz/A6arfahQrjHdAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x22dba90>"
+ ]
+ },
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "b) The above graph is bending moment graph\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAZEAAAEACAYAAAByG0uxAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xl4VOXZx/HvDUgQBBFQVhVNUUBFIBZoFUmAQIAqWrU2\nIItSaa0siii7RAUFBBSiUqVYA2p9VVzQsCRAAtYqFhRFIQoRLGuEIoIIIcv9/pEDhjBJJjOZOZnJ\n/bmuuTjL85z55TA5d846oqoYY4wxvqjidgBjjDGhy4qIMcYYn1kRMcYY4zMrIsYYY3xmRcQYY4zP\nrIgYY4zxmd9FRETiRCRDRLaKyJhi2sx15n8uIu1K6ysi9UQkVUS+EZEUEanrTG8uIsdE5DPn9Zy/\n+Y0xxvjOryIiIlWBZ4A4oDUQLyKtirTpDfxKVVsAQ4F5XvQdC6Sq6mXAKmf8pG2q2s55/dWf/MYY\nY/zj755IBwo26jtUNQd4DehbpM2NQBKAqq4D6opIo1L6nurj/HuTnzmNMcYEgL9FpCmws9D4Lmea\nN22alNC3oapmOcNZQMN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gLOKoGcAAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x81fa630>"
+ ]
+ }
+ ],
+ "prompt_number": 68
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.5 page number 517"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "#because of symmetry the problem can be solved by considering first half\n",
+ "#Given\n",
+ "import numpy\n",
+ "l_ab = 1.0 #L in - The length of the beam\n",
+ "F_D = 1.0 #W lb/in - The force distribution \n",
+ "F = F_D*l_ab #WL - The force applied\n",
+ "#Beause of symmetry the moment caliculations can be neglected\n",
+ "#EI - The flxure rigidity is constant and 1/EI =1 # k\n",
+ "\n",
+ "#part - A\n",
+ "#section 1--1\n",
+ "l_1 = [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1] #L taking each section at 0.1L distance \n",
+ "M_1 = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "v = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "for i in range(10):\n",
+ " v[i] = R_A - F_D*l_1[i] \n",
+ " M_1[i] = R_A*l_1[i] - F_D*(l_1[i]**2)/2\n",
+ "# (EI)y'' = M_1[i] we will integrate M_1[i] twice where variable is l_1[i]\n",
+ "#(EI)y'\n",
+ "M_1_intg1 = R_A*(l_1[i]**2)/2 - F_D*(l_1[i]**3)/6 - F_D*(l_ab**3)*l_1[i]/48 #integration of x**n = x**n+1/n+1\n",
+ "#(EI)y\n",
+ "M_1_intg2[i] = R_A*(l_1[i]**3)/6 - F_D*(l_1[i]**4)/24.0 - F_D*(l_ab**3)*l_1[i]/48.0 \n",
+ "#Equations \n",
+ "#R_A = #wl Unknown- The reactive force at A\n",
+ "#R_B = #wl - The reactive force at B\n",
+ "\n",
+ "# M_1_intg2[10] = 0, the displacement at the end of rod is 0 since its rigid \n",
+ "R_A = (F_D*(l_1[10]**4)/24.0 + F_D*(l_ab**3)*l_1[10]/48.0)/((l_1[10]**3)/6.0)\n",
+ "R_C = R_A #WL - symmetry\n",
+ "R_B = 1-R_A+R_B # WL - F_Y = 0, the equilibrium in Y direction\n",
+ "print \"The reaction at A is\",R_A ,\"WL\"\n",
+ "print \"The reaction at B is\",R_B ,\"WL\"\n",
+ "print \"The reaction at C is\",R_C ,\"WL\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " The reaction at A is 0.375 WL\n",
+ "The reaction at B is 2.375 Wl\n",
+ "The reaction at C is 0.375 Wl\n"
+ ]
+ }
+ ],
+ "prompt_number": 82
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.7 page number 521 "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "l_ac = 5 #m - The length of the beam \n",
+ "l_ab = 4 #m - The length of ac on beam \n",
+ "l_bc = 1 #m - The length of bc on beam \n",
+ "F = 20 #N - force applied on beam at 'b'\n",
+ "I_ab = 4 #I The moment of inertia of part AB \n",
+ "I_bc = 1 #I - The momemt of inertia of part BC\n",
+ "R_A = F*(l_bc/l_ac) #N- The reaction at joint A\n",
+ "R_B = F*(l_ab/l_ac) #N- The reaction at joint B\n",
+ "E = 1 #E youngs modulus\n",
+ "\n",
+ "#0<x<4\n",
+ "x = [0,1,2,3,4]\n",
+ "M = [0,0,0,0,0]\n",
+ "y = [0,0,0,0,0]\n",
+ "for i in range(5):\n",
+ " M[i] = 4*x[i] #integration of x**n = x**n+1/n+1\n",
+ " #y_2[i] = 4*x[i]/(E*I_ab) #The \n",
+ " #y_1[i] = 4*(x[i]**2)/(E*I_ab) -4.8/(E*I_bc) #The constant can be found by conditions y(o) = y(c) = 0\n",
+ " y[i] = 4*(x[i]**2)/(6*E*I_ab) -4.8*x[i]/(E*I_bc) #elastic curve constant can be found by Y_1(0) = 0 \n",
+ "\n",
+ "\n",
+ "#0<x_1<1\n",
+ "x_1 = [4,5]\n",
+ "m = [0,0]\n",
+ "Y = [0,0]\n",
+ "for i in range(2):\n",
+ " m[i] = 16 - 16*x_1[i] #integration of x**n = x**n+1/n+1\n",
+ " # Y_2 = (16 - 16*x_1[i])/(E*I_ab) \n",
+ " #Y_1 = (16*x_1[i]-8*(x_1[i]**2) +8 - 4.8)/(E*I_ab)#The constant can be found by conditions y(o) = y(c) = 0\n",
+ " Y[i] = (8*(x_1[i]**2)-8*(x_1[i]**3)/3 +(8-4.8)*x_1[i] - 4*4.8 )/(E*I_ab) #elastic curve constant can be found by Y_1(0) = 0\n",
+ "\n",
+ "#Graphs\n",
+ "import numpy as np\n",
+ "values = y\n",
+ "y = np.array(values)\n",
+ "t = np.linspace(0,1,5)\n",
+ "poly_coeff = np.polyfit(t, y, 2)\n",
+ "import matplotlib.pyplot as plt\n",
+ "plt.plot(t, y, 'o')\n",
+ "plt.plot(t, np.poly1d(poly_coeff)(t), '-')\n",
+ "plt.show()\n",
+ "print \"b) The shape from x belongs to 0<x<4\"\n",
+ "import numpy as np\n",
+ "values = Y \n",
+ "y = np.array(values)\n",
+ "t = np.linspace(0,1,2)\n",
+ "poly_coeff = np.polyfit(t, y, 2)\n",
+ "import matplotlib.pyplot as plt\n",
+ "plt.plot(t, y, 'o')\n",
+ "plt.plot(t, np.poly1d(poly_coeff)(t), '-')\n",
+ "plt.show()\n",
+ "print \"b) The shape from x belongs to 4<x<5\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAXsAAAEACAYAAABS29YJAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAHVVJREFUeJzt3Xl0VPX9//HnGxLC4oKAC4vKFtmXREPcohEVEE6lrQrf\nqj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zO\nBp6pOa23C3CFmZU75xaHJmLI1GcsPgI+d84dBA6a2UpgGBBpZV+fsTgfyAJwzpWY2ftAP2BdSBKG\njwb3ZrB346wDYs2sp5m1oXo2zCN/WRcDNwCY2bnAV8653UHO5YXvHQszOwP4O3C9c26bBxlD5XvH\nwjnX2znXyznXi+r99ndEYNFD/X5HngMuNLPWZtae6gNym0OcMxTqMxZbgcsAavZR9wPeC2nK8NDg\n3gzqJ3vnXIWZTQZepvpIe55zbouZ/bTm+ceccy+Y2Vgz2wYcAG4OZiav1GcsgF8BJwHzaj7Rljvn\nIm7G0HqOhS/U83dka820IxuBKmC+cy7iyr6ePxezgD+Y2QaqP6z+wjn3hWehg8TM/gxcDHQxs4+A\nTKp35zW6N3VRlYiID+imIiIiPqCyFxHxAZW9iIgPqOxFRHxAZS8i4gMqexERH1DZi4j4gMpeRMQH\n/j9lJ+moq4xgJQAAAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0xa792dd8>"
+ ]
+ },
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "b) The shape from x belongs to 0<x<4\n"
+ ]
+ },
+ {
+ "output_type": "stream",
+ "stream": "stderr",
+ "text": [
+ "C:\\Users\\Kowshik\\AppData\\Local\\Enthought\\Canopy\\User\\lib\\site-packages\\numpy\\lib\\polynomial.py:588: RankWarning: Polyfit may be poorly conditioned\n",
+ " warnings.warn(msg, RankWarning)\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAXsAAAEACAYAAABS29YJAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xl41PW99vH3J4FAj0ZckUVWG0hAEARUoEKUEBKook9b\nu2B7qX1aIDEJm0uBllrFI3gQMhiopbZqrVo99lQ9mLCIKdpHbA0kBDJRUPRApTyCYClLzPI9f5Bq\npBiyf2e5X9c115WZ3yw3vyvz4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Ac66qDTO2Cefcq8DBeq7S6LnZ2sO+O7C7\nzvk9tZed7jqROOQasi/q+j7wUqsm8ue0+8LMunPiib6y9qJIfXGpIb8XCcC5ZvaKmb1pZt9ts3Rt\nqyH7YhUw0Mw+AEqAnDbKFmoaPTdb+1MvG/oEPfkwzEh8Yjf432RmVwO3Aqf+evnw15B9sQy4yznn\nzMz419+RSNGQfdEeuAwYB/wb8LqZbXKfHfocKRqyL+YCxc65ZDO7GFhnZpe6z398S7Ro1Nxs7WH/\nV6BHnfM7ue5+AAABgElEQVQ9OPE/UH3Xuaj2skjTkH1B7Yuyq4A051x9f8aFs4bsi2HA0yfmPOcD\n6WZW6Zx7oW0itpmG7IvdwH7n3DHgmJltBC4FIm3YN2RfjAIWAjjn3jGzXUB/4M02SRg6Gj03W7vG\neRNIMLPeZhYHfBM4+cn6AvA9ADO7EjjknNvXyrl8OO2+qH0n8u+Bm5xzOz1kbCun3RfOub7OuT7O\nuT6c6O2nR+Cgh4Y9R54HvmJmsWb2b5x4Qa6sjXO2hYbsi3IgBaC2o+7PKd60GQUaPTdbdWXvnKsy\ns9uANZx4pf0R51zQzKbWbn/YOfeSmU00s53AEeCW1szkS0P2BfAT4BxgZe2KttI5d7mvzK2lgfsi\nKjTwOVJuZgXAVk68UXGVcy7ihn0Dfy/uA35tZiWcWKze4Zz7yFvoVmJmTwFjgfPNbDcnPkK+PTR9\nbupNVSIiUUDfQSsiEgU07EVEooCGvYhIFNCwFxGJAhr2IiJRQMNeRCQKaNiLiEQBDXsRkSjwv7Hv\nQl6d+sBHAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0xa6b60f0>"
+ ]
+ },
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "b) The shape from x belongs to 4<x<5\n"
+ ]
+ }
+ ],
+ "prompt_number": 36
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.10 page number 529"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "k = 24.0*(10**12) #N.mm2 Flexure rigidity\n",
+ "E = 200.0 #Gpa - Youngs modulus of the string\n",
+ "l = 5000.0 #mm - The length of the string\n",
+ "C_A = 300.0 #mm2 - crossection area \n",
+ "P = 50.0 #KN - The force applies at the end \n",
+ "a = 2000.0 #mm - The distance C-F\n",
+ "x = 1#X - let it be a variable X\n",
+ "y_d = x*(a**3)/(3*k) #Xmm The displacement at D, lets keep the variable in units part\n",
+ "y_p = -P*(10**3)*(16*(a**3)-12*(a**3)+(a**3))/(k*6) #mm The displacement due to p \n",
+ "e_rod = l/(C_A*E*(10**3)) #Xmm -deflection, The varible is in units \n",
+ "e_rod\n",
+ "X = y_p/(2*e_rod+y_d) # By equating deflections \n",
+ "y_d_1 = X*(a**3)/(3*k) # the deflection of point D\n",
+ "print \"The deflection of point D\",round(y_d_1,2),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the deflection of point D -5.56 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 78
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.11 page number 530 "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "l = 15 #in - The length of the crossection \n",
+ "b = 33.9 #in - the width of the crossection\n",
+ "L = 100 #in The length of the cantilever \n",
+ "E = 29*(10**6) #psi The youngs modulus of the material used \n",
+ "I_Z = 315 #in4 - the moment of inertia wrt Z axis \n",
+ "I_y = 8.13 #in4 - the moment of inertia wrt Y axis\n",
+ "o = 5 # degrees - the angle of acting force \n",
+ "P = 2000 #k the acting force \n",
+ "P_h = P*math.sin(math.radians(o)) #k - The horizantal component of P\n",
+ "P_v = P*math.cos(math.radians(o)) #k - The vertical component of P\n",
+ "e_h = P_h*(L**3)/(3*E*I_y) # the horizantal component of deflection \n",
+ "e_v = P_v*(L**3)/(3*E*I_Z ) # the vertical component of deflection\n",
+ "e = pow((e_h**2 + e_v**2),0.5)\n",
+ "print \"the horizantal component of deflection\",round(e_h,3) ,\"in\"\n",
+ "print \"the vertical component of deflection\",round(e_v,3) ,\"in\"\n",
+ "print \"the resultant deflection\",round(e,3) ,\"in\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the horizantal component of deflection 0.246 in\n",
+ "the vertical component of deflection 0.073 in\n",
+ "the resultant deflection 0.257 in\n"
+ ]
+ }
+ ],
+ "prompt_number": 88
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.13 page number 533"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "l = 50.0 #mm - The length of the crossection \n",
+ "b = 50.0 #mm - the width of the crossection\n",
+ "m = 15.3 # mass of the falling body\n",
+ "h = 75.0 #mm - The height of the falling body \n",
+ "p = m*9.81 #N the force acted due to the body\n",
+ "L = 1000.0 #mm The length of the cantilever\n",
+ "E = 200 #Gpa The youngs modulus of the material used \n",
+ "I = (l**4)/12 #mm - the moment of inertia \n",
+ "k = 300 #N/mm -the stiffness of the spring \n",
+ "#Rigid supports \n",
+ "e = m*9.81*(L**3)*(10**-3)/(48*E*I) #mm - the deflection of beam \n",
+ "imp_fact_a = 1 +pow((1 +2*h/e),0.5) #no units , impact factor \n",
+ "#spring supports\n",
+ "e_spr = h/k #mm the elongation due to spring \n",
+ "e_total = e_spr + e \n",
+ "imp_fact_b = 1 +pow((1 +2*h/e_total),0.5) #no units , impact factor\n",
+ "print \"a) The maximum deflection when the beam is on rigid supports\",round(e,3),\"mm with impact factor\",round(imp_fact_a ,2),\n",
+ "print \"b) The maximum deflection when the beam is on spring supports\",round(e_total,2),\"mm with impact factor\",round(imp_fact_b,2) ,\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a) The maximum deflection when the beam is on rigid supports 0.03 mm with impact factor 71.7 b) The maximum deflection when the beam is on spring supports 0.28 mm with impact factor 24.17\n"
+ ]
+ }
+ ],
+ "prompt_number": 111
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.15 page number 536 "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "E = 30*(10**3) #ksi - The youngs modulus of the material \n",
+ "stress_y = 40 #Ksi - yield stress\n",
+ "stress_max = 24.2 #Ksi - the maximum stress\n",
+ "l = 2 #in - The length of the crossection \n",
+ "b = 3 #in - the width of the crossection\n",
+ "h = 3 #in - the depth of the crossection\n",
+ "#lets check ultimate capacity for a 2 in deep section \n",
+ "M_ul = stress_y*b*(l**2)/4 #K-in the ultimate capacity \n",
+ "curvature = 2*stress_y/(E*(h/2) ) #in*-1 the curvature of the beam \n",
+ "curvature_max = stress_max/(E*(h/2)) #in*-1 The maximum curvature \n",
+ "print \"the ultimate capacity\",M_ul,\"K-in\"\n",
+ "print \"the ultimate curvature\",curvature_max,\"in*-1\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the ultimate capacity 120 K-in\n",
+ "the ultimate curvature 0.000806666666667 in*-1\n"
+ ]
+ }
+ ],
+ "prompt_number": 114
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.16 page number 543"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "l_ad = 1600 #mm - The total length of the beam \n",
+ "l_ab = 600 #mm - The length of AB\n",
+ "l_bc = 600 #mm - The length of BC\n",
+ "e_1 = 0.24 #mm - deflection \n",
+ "e_2 = 0.48 #mm - deflection\n",
+ "E = 35 #Gpa\n",
+ "#Caliculation \n",
+ "\n",
+ "A_afe = -(l_ab+l_bc)*e_1*(10**-3)/(2*E)\n",
+ "A_afe = -(l_ab)*e_2*(10**-3)/(4*E)\n",
+ "y_1_b = A_afe + A_afe #rad the slope at the tip B\n",
+ "x_1 = 1200 #com from B\n",
+ "x_2 = 800 #com from B\n",
+ "y_b = A_afe*x_1 + A_afe*x_2 #mm The maximum deflection at tip B\n",
+ "print\"The maximum deflection at tip B\",round(y_b,2),\"mm\"\n",
+ "print \"The slope at the tip B\",round(y_1_b,2) ,\"radians\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum deflection at tip B -4.11 mm\n",
+ "The slope at the tip B -0.0 radians\n"
+ ]
+ }
+ ],
+ "prompt_number": 126
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.19 page number 547 "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "import numpy\n",
+ "l_ab = 1.0 #L in - The length of the beam\n",
+ "F_D = 1.0 #W lb/in - The force distribution \n",
+ "F = F_D*l_ab #WL - The force applied\n",
+ "#Beause of symmetry the moment caliculations can be neglected\n",
+ "#F_Y = 0\n",
+ "R_A = F/2 #wl - The reactive force at A\n",
+ "R_B = F/2 #wl - The reactive force at B\n",
+ "#EI - The flxure rigidity is constant and 1/EI =1 # k\n",
+ "\n",
+ "#part - A\n",
+ "#section 1--1\n",
+ "l_1 = [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1] #L taking each section at 0.1L distance \n",
+ "M_1 = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "v = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "for i in range(10):\n",
+ " v[i] = R_A - F_D*l_1[i] \n",
+ " M_1[i] = R_A*l_1[i] - F_D*(l_1[i]**2)/2\n",
+ "# (EI)y'' = M_1[i] we will integrate M_1[i] twice where variable is l_1[i]\n",
+ "#(EI)y'- \n",
+ "\n",
+ "M_1_intg1 = R_A*(l_1[i]**2)/4 - F_D*(l_1[i]**3)/6 - F_D*(l_ab**3)*l_1[i]/24 #deflection integration of x**n = x**n+1/n+1\n",
+ "#(EI)y- Using end conditions for caliculating constants \n",
+ "\n",
+ "M_1_intg2 = R_A*(l_1[i]**3)/12.0 - F_D*(l_1[i]**4)/24.0 + F_D*(l_ab**3)*l_1[i]/24.0 \n",
+ "#Equations \n",
+ "\n",
+ "l_1 = [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1] #L taking each section at 0.1L distance \n",
+ "M_1_intg2 = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "Y = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "for i in range(10):\n",
+ " M_1_intg2[i] = (l_1[i]**3)/12.0 - (l_1[i]**4)/24.0 - l_1[i]/24.0 # discluding every term for ruling out float values\n",
+ " Y[i] = M_1_intg2[i] #W(l**4)/EI k = 1/EI\n",
+ "#The precision is very less while caliculating through this equation because the least count in X direction is 0.1\n",
+ "print \" The maximum displacement in y direction is\",min(Y),\"W(l**4)/EI \"\n",
+ "print \" The maximum deflection occured at\",l_1[Y.index(min(Y))],\"L\"\n",
+ "\n",
+ "l_1 = [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1] #L taking each section at 0.1L distance \n",
+ "M_1_intg1 = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "Y = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "for i in range(10):\n",
+ " M_1_intg1[i] = R_A*(l_1[i]**2)/4 - F_D*(l_1[i]**3)/6 - F_D*(l_ab**3)*l_1[i]/24\n",
+ "print \" The maximum deflection is\",min(M_1_intg1 ),\"W(l**3)/EI \""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " The maximum displacement in y direction is -0.0130208333333 W(l**4)/EI \n",
+ " The maximum deflection occured at 0.5 L\n",
+ " The maximum deflection is -0.05775 W(l**3)/EI \n"
+ ]
+ }
+ ],
+ "prompt_number": 132
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.23 page number 554 "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import numpy\n",
+ "l_ab = 1.0 #L in - The length of the beam\n",
+ "F_D = 1.0 #W lb/in - The force distribution \n",
+ "F = F_D*l_ab #WL - The force applied\n",
+ "#Beause of symmetry the moment caliculations can be neglected\n",
+ "#F_Y = 0\n",
+ "R_A = F/2 #wl - The reactive force at A\n",
+ "R_B = F/2 #wl - The reactive force at B\n",
+ "#EI - The flxure rigidity is constant and 1/EI =1 # k\n",
+ "#M_A and M_B are applied at the ends\n",
+ "\n",
+ "#part - A\n",
+ "#section 1--1\n",
+ "l_1 = [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1] #L taking each section at 0.1L distance \n",
+ "M = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "for i in range(10):\n",
+ " M[i] = l_1[i]/2.0 - (l_1[i]**2)/2.0 -1.0/12.0 #The moment euation at 1--1 section\n",
+ "# M_1 = R_A*l_1[i]/2.0 - F_D*(l_1[i]**2)/2.0 -F_D*(l_ab**2)/12.0 #The moment euation at 1--1 section \n",
+ "# (EI)y'' = M_1[i] we will integrate M_1[i] twice where variable is l_1[i]\n",
+ "#(EI)y'\n",
+ "M_1_intg1 = R_A*(l_1[i]**2)/4 - F_D*(l_1[i]**3)/6 - F_D*(l_ab**2)*l_1[i]/12.0 #integration of x**n = x**n+1/n+1\n",
+ "#(EI)y\n",
+ "M_1_intg2[i] = R_A*(l_1[i]**3)/12.0 - F_D*(l_1[i]**4)/24.0 + F_D*(l_ab**2)*(l_1[i]**2)/24.0 \n",
+ "\n",
+ "l_1 = [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1] #L taking each section at 0.1L distance \n",
+ "M_1_intg2 = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "Y = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "for i in range(10):\n",
+ " M_1_intg2[i] = (l_1[i]**3)/12.0 - (l_1[i]**4)/24.0 - (l_1[i]**2)/24.0 # discluding every term for ruling out float values\n",
+ " Y[i] = M_1_intg2[i] #W(l**4)/EI k = 1/EI\n",
+ " \n",
+ "print \"The moment at the end is \",M[0],\"wl**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The moment at the end is -0.0833333333333 wl**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 133
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.25 pagenumber 556"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "\n",
+ "# This problem is divided into two parts\n",
+ "#Part _1\n",
+ "#Given\n",
+ "l = 1.0 #l - The length of the beam\n",
+ "p = 1.0 #W - The total load applied\n",
+ "#since it is triangular distribution \n",
+ "l_com = 0.66*L #l - The distance of force of action from one end\n",
+ "#F_Y = 0\n",
+ "#R_A + R_B = p\n",
+ "#M_a = 0 Implies that R_B = 2*R_A\n",
+ "R_A = p/3.0\n",
+ "R_B = 2.0*p/3\n",
+ "\n",
+ "#Taking Many sections \n",
+ "\n",
+ "#Section 1----1\n",
+ "l = [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1] #L taking each section at 0.1L distance \n",
+ "M = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "v = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "for i in range(10):\n",
+ " v[i] = p*(l[i]**2) - p/3.0\n",
+ " M[i] = p*(l[i]**3)/(3.0)- p*l[i]/3.0\n",
+ "\n",
+ "v[10] = R_B #again concluded Because the value is tearing of \n",
+ "\n",
+ "\n",
+ "#Graph\n",
+ "import numpy as np\n",
+ "values = M\n",
+ "y = np.array(values)\n",
+ "t = np.linspace(0,1,11)\n",
+ "poly_coeff = np.polyfit(t, y, 2)\n",
+ "import matplotlib.pyplot as plt\n",
+ "plt.plot(t, y, 'o')\n",
+ "plt.plot(t, np.poly1d(poly_coeff)(t), '-')\n",
+ "plt.show()\n",
+ "import numpy as np\n",
+ "values = v\n",
+ "y = np.array(values)\n",
+ "t = np.linspace(0,1,11)\n",
+ "poly_coeff = np.polyfit(t, y, 2)\n",
+ "import matplotlib.pyplot as plt\n",
+ "plt.plot(t, y, 'o')\n",
+ "plt.plot(t, np.poly1d(poly_coeff)(t), '-')\n",
+ "plt.show()\n",
+ "\n",
+ "\n",
+ "#part B\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEACAYAAABcXmojAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XmcjfX///HHyzAz2ZNIKDUYFZUWKuLIMsMISYkSfSrV\n52PGL30kVKaF1k+ytEoiWSplG2UmmfBNSYnIWKYIMUW2LGOW1+8Pp4npjBlz5pzrnDOv++3m1rW8\nr+s8u24z5zXv630toqoYY4wxAGWcDmCMMSZwWFEwxhiTx4qCMcaYPFYUjDHG5LGiYIwxJo8VBWOM\nMXm8LgoiEisiaSKySUSGFNBmrHv9ahFp6l5WV0QWi8g6EVkrIgneZjHGGOMdr4qCiIQB44FY4GKg\nl4hclK9NJ6C+qjYA+gOvuVdlAQ+q6iXANcB/8m9rjDHGv7ztKTQDNqvqFlXNAmYAXfO16QJMBlDV\nr4GqIlJTVXep6vfu5X8C64FzvcxjjDHGC94WhdrAthPmt7uXFdamzokNRKQe0BT42ss8xhhjvOBt\nUSjqMzKk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mOVX9GqgqIqd1b0SQ\nKPRYqOpyVd3vnv2a41dvhaKi/FwAxAMfAr/7M5yfFeVY9AZmqep2AFXd7eeM/lKUY7ETqOyergzs\nUdVsP2b0Cz31zcFQjO/NQCkKtYFtJ8xvdy8rrE0ofhkW5Vic6G5ggU8TOafQYyEitTn+hfCae1Go\nDpIV5eeiAVBNRBaLyEoR6eO3dP5VlGMxAbhERH4FVgMD/ZQt0Jz296Y3l6SWpKL+Iue/PDUUvwBO\n5ybANsC/gBa+i+OoohyLl4FHVFVFRAjdmyCLcizKAVcAbYHywHIR+UpVN/k0mf8V5VgMA75XVZeI\nRAEpInKZqh70cbZAdFrfm4FSFHYAdU+Yr8vxinaqNn/d8BZqinIscA8uTwBiVfVU3cdgVpRjcSUw\n43g9oDrQUUSyVHWufyL6TVGOxTZgt6oeAY6IyBLgMiDUikJRjsV1wEgAVU133wsVDaz0S8LAcdrf\nm4Fy+mgl0EBE6olIONCT4zfHnWgucCeAiFwD7NO/n70USgo9FiJyHvARcIeqbnYgo78UeixU9UJV\nvUBVL+D4uMIDIVgQoGi/I3OAliIS5n6UTHPgRz/n9IeiHIs0oB2A+xx6NPCTX1MGhtP+3gyInoKq\nZovIAGAhx68smKiq60XkPvf6N1R1gYh0EpHNwCHA001wQa8oxwJ4HDgTeM39F3KWqjZzKrOvFPFY\nlApF/B1JE5FPgTVALjBBVUOuKBTx52IUMElEVnP8j9+H1cMTE4Kd++bg1kB1EdkGjOD4acRif2/a\nzWvGGGPyBMrpI2OMMQHAioIxxpg8VhSMMcbksaJgjDEmjxUFY4wxeawoGGOMyWNFwRhjTB4rCsYY\nY/L8f6G/NIrkiT5JAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0xa6d47f0>"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAX4AAAEACAYAAAC08h1NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEg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2e2AryNaZfSoUW5GtMfv\n7kVmdieQTemo/Th3X2pmt5W9Psbdp5nZpWa2EvgJuCmSNUZKdY4F8BBwFDC6rLdb6O5dg6q5LlTz\nOCSEan4/lpnZdGAxpRMfPufucRf81fy9eAJ4wcw+p7QT+wd3/yGwouuQmb0KXAA0M7PVwMOUnvYL\nKTd1A5eISILR0osiIglGwS8ikmAU/CIiCUbBLyKSYBT8IiIJRsEvIpJgFPwiIglGwS8ikmD+P2jq\nbKRBM81FAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x80d0f98>"
+ ]
+ }
+ ],
+ "prompt_number": 134
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter11.ipynb b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter11.ipynb new file mode 100644 index 00000000..aa2f8723 --- /dev/null +++ b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter11.ipynb @@ -0,0 +1,375 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:1a88ac8a4ae99a352f7f49d975099441ec02a55d62cfaa2e8c07de364172180d"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 11:Stability of Equilibrium: columns "
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.2 page number 589"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "h = 60 #mm - the length of the crossection \n",
+ "b = 100 #mm - the width of hte crossection \n",
+ "E = 200 #Gpa - The youngs modulus\n",
+ "stress_cr = 250 #Mpa - The proportionality limit\n",
+ "#Caliculations \n",
+ "\n",
+ "I = b*(h**3)/12 #mm3 The momentof inertia of the crossection\n",
+ "A = h*b #mm2 - The area of teh crossection \n",
+ "#From Eulier formula\n",
+ "r_min = pow((I/A),0.5) #mm - The radius of the gyration \n",
+ "#(l/r)**2= (pi**2)*E/stress_cr #From Eulier formula\n",
+ "l = (((math.pi**2)*E*(10**3)/stress_cr)**0.5)*r_min #mm - the length after which the beam starts buckling\n",
+ "print \"The length after which the beam starts buckling is \",round(l,0),\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The length after which the beam starts buckling is 1539.0 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.6 page number 613"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "L = 15 #ft - The length of the each rod\n",
+ "A = 46.7 #in2 - The length of the crossection \n",
+ "r_min = 4 #in - The radius of gyration\n",
+ "stress_yp = 36 #Ksi - the yielding point stress\n",
+ "E = 29*(10**3) #ksi - The youngs modulus\n",
+ "C_c = ((2*(math.pi**2)*E/stress_yp)**0.5) #Slenderness ratio L/R\n",
+ "C_s = L*12/r_min # Slenderness ratio L/R of the present situation \n",
+ "#According to AISC formulas \n",
+ "if C_s <C_c :\n",
+ " print \"a)The following approch is solvable\"\n",
+ "else: \n",
+ " print \"The caliculation is not possible\"\n",
+ "F_S = 5.0/3 +3*C_s/(8*C_c) -(3*C_s**3)/(8*C_c**3) #Safety factor \n",
+ "Stress_all = (1 - (C_s**2)/(2*C_c**2))*stress_yp/F_S #The allowable strees \n",
+ "print \"a) The allowable stress in this case is\",round(Stress_all,2),\"Kips\" \n",
+ "#Part - B\n",
+ "#Given\n",
+ "L = 40 #ft - The length of the each rod\n",
+ "A = 46.7 #in2 - The length of the crossection \n",
+ "r_min = 4 #in - The radius of gyration\n",
+ "stress_yp = 36 #Ksi - the yielding point stress\n",
+ "E = 29*(10**3) #ksi - The youngs modulus\n",
+ "C_c = ((2*(math.pi**2)*E/stress_yp)**0.5) #Slenderness ratio L/R\n",
+ "C_s = L*12/r_min # Slenderness ratio L/R of the present situation \n",
+ "#According to AISC formulas \n",
+ "if C_s <C_c :\n",
+ " print \"b) The following approch is solvable\"\n",
+ "else: \n",
+ " print \"The caliculation is not possible\"\n",
+ "F_S = 5.0/3 +3*C_s/(8*C_c) -(3*C_s**3)/(8*C_c**3) #Safety factor \n",
+ "Stress_all = (1 - (C_s**2)/(2*C_c**2))*stress_yp/F_S #The allowable strees \n",
+ "print \"b) The allowable stress in this case is\",round(Stress_all,2),\"Kips\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a)The following approch is solvable\n",
+ "a) The allowable stress in this case is 18.9 Kips\n",
+ "b) The following approch is solvable\n",
+ "b) The allowable stress in this case is 11.59 Kips\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.7 page number 614"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "L = 15 #ft - The length of the each rod \n",
+ "p = 200 #Kips The concentric load applied \n",
+ "r_min = 2.10 #in - The radius of gyration\n",
+ "stress_yp = 50 #Ksi - the yielding point stress\n",
+ "E = 29*(10**3) #ksi - The youngs modulus\n",
+ "C_c = ((2*(math.pi**2)*E/stress_yp)**0.5) #Slenderness ratio L/R\n",
+ "C_s = L*12/r_min #Slenderness ratio L/R present situation\n",
+ "if C_s <C_c :\n",
+ " print \"a)The following approch is solvable\"\n",
+ "else: \n",
+ " print \"The caliculation is not possible\"\n",
+ "F_S = 5.0/3 +3*C_s/(8*C_c) -(3*C_s**3)/(8*C_c**3) #Safety factor \n",
+ "Stress_all = (1 - (C_s**2)/(2*C_c**2))*stress_yp/F_S #The allowable strees\n",
+ "a = p/Stress_all #in2 the alloawble area of the beam \n",
+ "print \"The allowable stress in this case is\",round(Stress_all,2),\"Kips\"\n",
+ "print \"This stress requires \",round(a,2),\"in2\"\n",
+ "if a <11.5:\n",
+ " print \"This case is satisfying W8x24 section\" #From AISC Manual \n",
+ "else:\n",
+ " print \"This case is not satisfying W8x24 section\"\n",
+ " #The ans are quiet varying because of rounding\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a)The following approch is solvable\n",
+ "The allowable stress in this case is 19.14 Kips\n",
+ "This stress requires 10.45 in2\n",
+ "This case is satisfying W8x24 section\n"
+ ]
+ }
+ ],
+ "prompt_number": 31
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.8 pagenumber 614 "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "L = 15.0 #ft - The length of the each rod\n",
+ "A = 46.7 #in2 - The length of the crossection \n",
+ "r_min = 4 #in - The radius of gyration\n",
+ "stress_yp = 36.0 #Ksi - the yielding point stress\n",
+ "E = 29*(10**3) #ksi - The youngs modulus\n",
+ "lamda = L*12*((stress_yp/E)**0.5)/(4*(math.pi)) #column slenderness ratio\n",
+ "if lamda<1.5:\n",
+ " print \"The following approach is right\"\n",
+ "else:\n",
+ " print \"The following approach is wrong\"\n",
+ "stress_cr = (0.658**(lamda**2))*stress_yp #Ksi - The critical stress \n",
+ "P_n = stress_cr*A #Kips #Nominal compressive strength \n",
+ "o = 0.85 #Resistance factor\n",
+ "p_u = o*P_n #Kips ,column design compressive strength \n",
+ "print \"column design compressive strength \",p_u,\"Kips\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The following approach is right\n",
+ "column design compressive strength 1284.51846781 Kips\n"
+ ]
+ }
+ ],
+ "prompt_number": 38
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.9 page number 615"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "#FOR FLANGS\n",
+ "l = 5 #in - The length of the flang\n",
+ "b = 5 #in - Teh width of the flang\n",
+ "t = 0.312 #in - the thickness of the flang\n",
+ "L = 20 #in - Length of the beam, Extracted from AISC manuals\n",
+ "A = 4.563 #in2 - The area of crossection of the beam\n",
+ "r = 1.188 #in - radius of the gyration, Extracted from AISC manuals \n",
+ "#b/t- value of the flang \n",
+ "k = (5 -t)/(2*t) #b/t ratio \n",
+ "#AISC, lets check maximum allowable stress for slang\n",
+ "Stressf_all = 23.1 - 0.79*k #ksi The maximum allowable stress in case of flang,AISC\n",
+ "\n",
+ "#web width thickness ratio\n",
+ "k_2 = (5 -2*t)/(t)\n",
+ "if k_2<16:\n",
+ " Stressw_all = 19 #ksi - The allowable stress in case of web width\n",
+ " \n",
+ "#a) Overall buckling investment \n",
+ "k_3 = L/r #slenderness ratio\n",
+ "Stressb_all = 20.2 - 0.216*k_3#ksi The maximum allowable stress in case of Buckling,AISC\n",
+ "p_allow = A*Stressb_all #Kips The allowable concentric load \n",
+ "\n",
+ "#b) Overall buckling investment\n",
+ "L_2 = 60 #in \n",
+ "k_3 = L_2/r #slenderness ratio\n",
+ "Stressb_all_2 = 20.2 - 0.126*k_3#ksi The maximum allowable stress in case of Buckling,AISC\n",
+ "p_allow_2 = A*Stressb_all_2 #Kips The allowable concentric load \n",
+ "\n",
+ "print \"The maximum allowable stress in case of web width\",round(Stressw_all,2),\"Ksi\"\n",
+ "print \"The maximum allowable stress in case of flang\",round(Stressf_all,2),\"Ksi\"\n",
+ "print \"a) The maximum allowable load in case of Buckling\",round(p_allow,2),\"Kips\"\n",
+ "print \"b) The maximum allowable load in case of Buckling\",round(p_allow_2,2),\"Kips\"\n",
+ "\n",
+ "\n",
+ " \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum allowable stress in case of web width 19.0 Ksi\n",
+ "The maximum allowable stress in case of flang 17.16 Ksi\n",
+ "a) The maximum allowable load in case of Buckling 75.58 Kips\n",
+ "b) The maximum allowable load in case of Buckling 63.14 Kips\n"
+ ]
+ }
+ ],
+ "prompt_number": 43
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.11 page number 620 "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "P = 200.0 #K The force on the beam \n",
+ "L = 15 #ft - The length of the rod\n",
+ "F_y = 50.0 #Ksi \n",
+ "F_a = F_y/(5.0/3) #Ksi -AISC MANUAL ,allowable axial stress if axial force is alone\n",
+ "F_b = F_a #Allowable compressive bending stress\n",
+ "M_1 = 600.0 #k-in - The moment acting on the ends of the rod\n",
+ "M_2 = 800.0 #k-in - the moment acting on the other end of teh rod\n",
+ "B_x = 0.264 #in - Extracted from AISC manual \n",
+ "A = P/F_a + M_2*B_x/F_b #in2- The minimum area \n",
+ "print \"The minimum area is \",round(A,2),\"in2\"\n",
+ "#we will select W10x49 section \n",
+ "A_s = 14.4 #in2 - The area of the section \n",
+ "r_min = 2.54 #in The minimum radius \n",
+ "r_x = 4.35 #in \n",
+ "f_a = P/A_s #Ksi- The computed axial stress\n",
+ "f_b = M_2*B_x/A_s #Computed bending stess\n",
+ "C_c = ((2*(math.pi**2)*E/F_y)**0.5) #Slenderness ratio L/R\n",
+ "C_s = L*12/r_min # Slenderness ratio L/R of the present situation\n",
+ "if C_s <C_c :\n",
+ " print \"The following approch is solvable\"\n",
+ "else: \n",
+ " print \"The caliculation is not possible\"\n",
+ "F_a_1 = 19.3 #Ksi - AISC lets try this\n",
+ "c_m = 0.6 - 0.4*(-M_1/M_2) \n",
+ "F_e = (12*(math.pi**2)*E)/(23*(L*12/r_x)**2) \n",
+ "k = f_a/F_a_1 + c_m*f_b*(1-(f_a/F_e))/F_b #Condition mentioned in AISC\n",
+ "if k>1:\n",
+ " print \"The following W10x49 section is not satisfying our constraints since f_a/F_a_1 + c_m*f_b*(1-(f_a/F_e))/F_b\",round(k,3),\">1\"\n",
+ "else:\n",
+ " print \"The following W10x49 section is satisfying our constraints since f_a/F_a_1 + c_m*f_b*(1-(f_a/F_e))/F_b\",k,\"<1\"\n",
+ " \n",
+ "#trail - 2\n",
+ "#Lets take W10 x 60\n",
+ "A_s = 17.6 #in2 - The area of the section \n",
+ "r_min = 2.57 #in The minimum radius \n",
+ "r_x = 4.39 #in \n",
+ "f_a = P/A_s #Ksi- The computed axial stress\n",
+ "f_b = M_2*B_x/A_s #Computed bending stess\n",
+ "C_c = ((2*(math.pi**2)*E/F_y)**0.5) #Slenderness ratio L/R\n",
+ "C_s = L*12/r_min # Slenderness ratio L/R of the present situation\n",
+ "if C_s <C_c :\n",
+ " print \"The following approch is solvable\"\n",
+ "else: \n",
+ " print \"The caliculation is not possible\"\n",
+ "F_a_1 = 19.3 #Ksi - AISC lets try this\n",
+ "c_m = 0.6 - 0.4*(-M_1/M_2) \n",
+ "F_e = (12*(math.pi**2)*E)/(23*(L*12/r_x)**2) \n",
+ "k = f_a/F_a_1 + c_m*f_b*(1-(f_a/F_e))/F_b #Condition mentioned in AISC\n",
+ "if k>1:\n",
+ " print \"The following W10x49 section is not satisfying our constraints since f_a/F_a_1 + c_m*f_b*(1-(f_a/F_e))/F_b\",round(k,3),\">1\"\n",
+ "else:\n",
+ " print \"The following W10x49 section is satisfying our constraints since f_a/F_a_1 + c_m*f_b*(1-(f_a/F_e))/F_b\",round(k,2),\"<1\"\n",
+ " \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The minimum area is 13.71 in2\n",
+ "The following approch is solvable\n",
+ "The following W10x49 section is not satisfying our constraints since f_a/F_a_1 + c_m*f_b*(1-(f_a/F_e))/F_b 1.09 >1\n",
+ "The following approch is solvable\n",
+ "The following W10x49 section is satisfying our constraints since f_a/F_a_1 + c_m*f_b*(1-(f_a/F_e))/F_b 0.9 <1\n"
+ ]
+ }
+ ],
+ "prompt_number": 67
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter12.ipynb b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter12.ipynb new file mode 100644 index 00000000..13fb52c7 --- /dev/null +++ b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter12.ipynb @@ -0,0 +1,405 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:aaf5a5f62a391d916c40aa2d720de6a3e7681d1c9c64ec2fdbeff148819b3c75"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Chapter 12:Energy and Virtual-work Methods"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 12.1 page number 645 "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "#Virtual loading\n",
+ "p_ab = -0.833 #lb The recorded virtual loading\n",
+ "p_bc = + 0.833 #lb The recorded virtual loading\n",
+ "F_ab = 2500 #lb\n",
+ "F_bc = -2500 #lb\n",
+ "l_ab = 60 #in - The length of the rod\n",
+ "l_bc = 60 #in - The length of the rod\n",
+ "A_ab = 0.15 #in2 the areaof ab\n",
+ "A_bc = 0.25 #in2 the areaof bc\n",
+ "E = 30*(10**6) #psi The youngs modulus of the material\n",
+ "#Part_a\n",
+ "e_a =p_ab*l_ab*F_ab/(A_ab*E) + p_bc*l_bc*F_bc/(A_bc*E) #in the deflection\n",
+ "if e_a<0:\n",
+ " print \"a) The deflection is downwards\",round(-e_a,3),\"in\"\n",
+ "else:\n",
+ " print \"a) The deflection is upwards\",round(e_a,3),\"in\"\n",
+ "#part-b\n",
+ "x = 0.125 #Shortening of member Ab\n",
+ "e_b = p_ab*(-x) + p_bc*0 #in - in\n",
+ "if e_b<0:\n",
+ " print \"b) The deflection is downwards\",round(-e_b,3),\"in\"\n",
+ "else:\n",
+ " print \"b) The deflection is upwards\",round(e_b,3),\"in\"\n",
+ "#Part-c\n",
+ "S = 6.5*(10**-6) #Thermal specific heat\n",
+ "T = 120 #F - The cahnge in temperature\n",
+ "e_t = -S*T*l_ab #in - The change in length of member\n",
+ "e_c = p_bc*e_t #in the deflection\n",
+ "if e_c<0:\n",
+ " print \"c) The deflection is downwards\",round(-e_c,3),\"in\"\n",
+ "else:\n",
+ " print \"c) The deflection is upwards\",round(e_c,3),\"in\"\n",
+ "\n",
+ "\n",
+ " \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a) The deflection is downwards 0.044 in\n",
+ "b) The deflection is upwards 0.104 in\n",
+ "c) The deflection is downwards 0.039 in\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 12.3 page number 648"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "#Virtual loading\n",
+ "#Two parts \n",
+ "#Part -1 \n",
+ "p_ab = 5 #KN The recorded virtual loading\n",
+ "p_bc = -4 #KN The recorded virtual loading\n",
+ "F_ab = 10 #KN\n",
+ "F_bc = -8 #KN\n",
+ "l_ab = 2.5 #mt - The length of the rod\n",
+ "l_bc = 2 #mt - The length of the rod\n",
+ "A_ab = 5*(10**-4) #mt2 the areaof ab\n",
+ "A_bc = 5*(10**-3) #mt2 the areaof bc\n",
+ "E = 70 #Gpa The youngs modulus of the material\n",
+ "e_a =(p_ab*l_ab*F_ab/(A_ab*E) + p_bc*l_bc*F_bc/(A_bc*E))*(10**-6) #KN-m\n",
+ "#Part -2 due to flexure\n",
+ "I = 60*10**6 #mm4 - the moment of inertia \n",
+ "#After solving the integration \n",
+ "e_b = 0.01525 #KN-m\n",
+ "#Total\n",
+ "e = (e_a+e_b)*1 #m\n",
+ "print \"The point C deflects\",round(e,3),\"mt down\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The point C deflects 0.019 mt\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 12.5 page number 651"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "#Virtual loading Without f_d\n",
+ "p_ab = -0.833 #lb The recorded virtual loading\n",
+ "p_bc = + 0.833 #lb The recorded virtual loading\n",
+ "F_ab = 2500 #lb\n",
+ "F_bc = -2500 #lb\n",
+ "l_ab = 60 #in - The length of the rod\n",
+ "l_bc = 60 #in - The length of the rod\n",
+ "A_ab = 0.15 #in2 the areaof ab\n",
+ "A_bc = 0.25 #in2 the areaof bc\n",
+ "E = 30*(10**6) #psi The youngs modulus of the material\n",
+ "#Part_a\n",
+ "e_a =p_ab*l_ab*F_ab/(A_ab*E) + p_bc*l_bc*F_bc/(A_bc*E) #lb-in the deflection\n",
+ "#With f_d\n",
+ "p_bd = 1 #lb The recorded virtual loading \n",
+ "F_bd = 1 #lb\n",
+ "l_bd = 40 #in - The length of the rod\n",
+ "A_bd = 0.1 #in2 the areaof ab\n",
+ "e_a_1 =p_ab*p_ab*l_ab/(A_ab*E) + p_bc*p_bc*l_bc/(A_bc*E) +p_bd*p_bd*l_bd/(A_bd*E) #lb-in the deflection\n",
+ "#Since the produced defelection should compensate the other one\n",
+ "x_d = e_a/e_a_1\n",
+ "print \"The reaction force at D is\",round(-x_d,2),\"lb\"\n",
+ "\n",
+ "#Part - B\n",
+ "e_b = -x_d*l_bd/(A_bd*E ) #in - The deflection of nodal point B\n",
+ "print\"The deflection of nodal point B\",round(e_b,4),\"in\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The reaction force at D is 1578.98 lb\n",
+ "The deflection of nodal point B 0.0211 in\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 12.6 page number 655"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "#Virtual loading\n",
+ "p_ab = -0.833 #lb The recorded virtual loading\n",
+ "p_bc = + 0.833 #lb The recorded virtual loading \n",
+ "l_ab = 60 #in - The length of the rod\n",
+ "l_bc = 60 #in - The length of the rod\n",
+ "A_ab = 0.15 #in2 the areaof ab\n",
+ "A_bc = 0.25 #in2 the areaof bc\n",
+ "E = 30*(10**6) #psi The youngs modulus of the material\n",
+ "K_1 = A_ab*E/l_ab #k/in - Stiffness\n",
+ "K_2 = A_bc*E/l_bc #k/in - Stiffness\n",
+ "#soving for e_1 and e_2 gives a liner euations to solve\n",
+ "# 128*e_1 + 24*e_2 = 0\n",
+ "#24*e_1 + 72*e_2 = -3\n",
+ "#Solving for e_1,e_2\n",
+ "a = np.array([[128,24], [24,72]])\n",
+ "b = np.array([0,-3])\n",
+ "x = np.linalg.solve(a, b)\n",
+ "e_1 = x[0] #in\n",
+ "e_2 = x[1] #in\n",
+ "u_1 = 0.8*e_1 - 0.6*e_2 #Taking each components\n",
+ "F_1 = K_1*u_1*(10**-3) #k The reaction at A Force = stiffness x dislacement \n",
+ "u_2 = 0.8*e_1 + 0.6*e_2 #Taking each components\n",
+ "F_2 = K_2*u_2*(10**-3) #k The reaction at B Force\n",
+ "print \"The reaction at A \",F_1,\"k\"\n",
+ "print \"The reaction at B \",F_2,\"k\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The reaction at A 2.5 k\n",
+ "The reaction at B -2.5 k\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 12.7 page number 655"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Virtual loading\n",
+ "p_ab = -0.833 #lb The recorded virtual loading\n",
+ "p_bc = + 0.833 #lb The recorded virtual loading \n",
+ "l_ab = 60 #in - The length of the rod\n",
+ "l_bc = 60 #in - The length of the rod\n",
+ "A_ab = 0.15 #in2 the areaof ab\n",
+ "A_bc = 0.25 #in2 the areaof bc\n",
+ "E = 30*(10**6) #psi The youngs modulus of the material\n",
+ "K_1 = A_ab*E/l_ab #k/in - Stiffness\n",
+ "K_2 = A_bc*E/l_bc #k/in - Stiffness\n",
+ "p_bd = 1 #lb The recorded virtual loading \n",
+ "F_bd = 1 #lb\n",
+ "l_bd = 40 #in - The length of the rod\n",
+ "A_bd = 0.1 #in2 the areaof ab\n",
+ "K_3 = A_ab*E/l_ab #k/in - Stiffness\n",
+ "#soving for e_1 and e_2 gives a liner euations to solve\n",
+ "# 128*e_1 + 24*e_2 = 0\n",
+ "#24*e_1 + 72*e_2 = -3\n",
+ "#Solving for e_1,e_2\n",
+ "a = np.array([[128,24], [24,147]])\n",
+ "b = np.array([0,-3])\n",
+ "x = np.linalg.solve(a, b)\n",
+ "e_1 = x[0] #in\n",
+ "e_2 = x[1] #in\n",
+ "u_1 = 0.8*e_1 - 0.6*e_2 #Taking each components\n",
+ "F_1 = K_1*u_1*(10**-3) #k The reaction at A Force = stiffness x dislacement \n",
+ "u_2 = 0.8*e_1 + 0.6*e_2 #Taking each components\n",
+ "F_2 = K_2*u_2*(10**-3) #k The reaction at B Force\n",
+ "u_3 = e_2 #Taking each components\n",
+ "F_3 = K_3*u_3*(10**-3) #k The reaction at D Force\n",
+ "print \"The reaction at A \",round(F_1,2),\"k\"\n",
+ "print \"The reaction at B \",round(F_2,2),\"k\"\n",
+ "print \"The reaction at D \",round(F_3,2),\"k\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The reaction at A 1.18 k\n",
+ "The reaction at B -1.18 k\n",
+ "The reaction at D -1.58 k\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 12.8 page number 659"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "#First we will solve part B\n",
+ "u_1 =5 #L/AE, elastic elongation\n",
+ "u_2 =25 #L/AE,elastic elongation\n",
+ "f_1 = u_1#, Units got neutralized , Constitutive relation for elastic bars\n",
+ "f_2 = u_2# Units got neutralized\n",
+ "#u_1 = 0.8*e_1 - 0.6*e_2\n",
+ "#u_2 = 0.8*e_1 + 0.6*e_2\n",
+ "#u = A*e Matric multiplication \n",
+ "A = np.array([[0.8,-0.6],[0.8,0.6]]) #The matrix form of A\n",
+ "F = np.array([[f_1],[f_2]])\n",
+ "P = np.dot((A.T),F) #Nodal forces matrix\n",
+ "print \"b) The vertical component of the nodal force is\",P[1],\"\"\n",
+ "print \"b) The vertical component of the nodal force is\",P[0],\"\"\n",
+ "#Part A\n",
+ "#F_1 = (5/8.0)*P_1 - (5/6.0)*p_2 , From statics\n",
+ "#F_1 = (5/8.0)*P_1 + (5/6.0)*p_2\n",
+ "#F = BP ,Matric multiplication \n",
+ "B = np.array([[(5/8.0),-(5/6.0)],[(5/8.0),(5/6.0)]]) #The matrix form of A\n",
+ "U = np.array([[u_1],[u_2]])\n",
+ "e = P = np.dot((B.T),U) #L/AE, Nodal forces matrix\n",
+ "print \"a) The components of displacement of point B are\",round(e[0],2),\"L/AE and\",round(e[1],2),\"L/AE\" \n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "b) The vertical component of the nodal force is [ 12.] \n",
+ "b) The vertical component of the nodal force is [ 24.] \n",
+ "a) The components of displacement of point B are 18.75 L/AE and 16.67 L/AE\n"
+ ]
+ }
+ ],
+ "prompt_number": 26
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 12.10 page number 667"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "A_1 = 0.125 #in2 , The area of the crossection of AB\n",
+ "A_2 = 0.219 #in2 , The area of the crossection of BC\n",
+ "l_1 = 3*(5**0.5) #in , The length of AB\n",
+ "l_2 = 6*(2**0.5) #in , The length of BC\n",
+ "p = 3 #k , Force acting on the system \n",
+ "E = 10.6*(10**3) #Ksi - youngs modulus of the material\n",
+ "p_1 = (5**0.5)*p/3 #P, The component of p on AB\n",
+ "p_2 = -2*(2**0.5)*p/3 #P, The component of p on AB\n",
+ "\n",
+ "e = p_1*l_1*p_1/(p*E*A_1) + p_2*l_2*p_2/(p*E*A_2) #in, By virtual deflection method \n",
+ "print \"The deflection is\",round(e,3),\"in\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The deflection is 0.018 in\n"
+ ]
+ }
+ ],
+ "prompt_number": 32
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter2.ipynb b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter2.ipynb new file mode 100644 index 00000000..5c92d3ed --- /dev/null +++ b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter2.ipynb @@ -0,0 +1,327 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:f3ccf4fb6d13add26a342446f0908b75d3a6a82c442b340e601708c15ec3ca4f"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 2:Axial strains and Deformations in bars "
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.1 page number 77"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "l_ob = 2000 #mm - length of rod ob\n",
+ "l_bc = 1000 #mm - length of rod bc\n",
+ "l_cd = 1500 #mm - length of rod cd\n",
+ "p_ob = 100 #kN - Force in rods \n",
+ "p_bc = -150 #KN\n",
+ "p_cd = 50 #KN \n",
+ "A_ob = 1000 #mm2 - Area of rod ob\n",
+ "A_bc = 2000 #mm2 - Area of rod bc \n",
+ "A_cd = 1000 #mm2 - Area of rod cd\n",
+ "E = 200.0 #GPA \n",
+ "# the total deflection is algebraic sums of `deflection in each module \n",
+ "e_1 = p_ob*l_ob/(A_ob*E)\n",
+ "e_2 = p_bc*l_bc/(A_bc*E)\n",
+ "e_3 = p_cd*l_cd/(A_cd*E)\n",
+ "#All units are satisfied \n",
+ "e_total = e_1+ e_2 + e_3\n",
+ "print \"The total deflection is :\",round(e_total,3) ,\"mm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The total deflection is : 1.0 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 77
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.4 page number 80"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "p_app = 3 #Kips - applied force \n",
+ "P_A = 2.23 #Kips \n",
+ "p_B = -2.83 #kips - compressive force\n",
+ "l_ab = 6.71 #inch\n",
+ "l_bc = 8.29 #inch\n",
+ "s_ab = 17.8 #ksi - tensile stress\n",
+ "s_bc = -12.9 #ksi - compressive stress\n",
+ "E = 10.6 * pow(10,3) #ksi -youngs modulus \n",
+ "e_ab = s_ab*l_ab/E\n",
+ "\n",
+ "e_bc = s_bc*l_bc/E\n",
+ "x = e_ab/e_bc #the Ratio of cosines of the deflected angles \n",
+ "# t_1 and t_2 be deflected angles \n",
+ "#t_2 = 180-45-26.6-t_1 the sum of angles is 360\n",
+ "#t_1 = 52.2 degress\n",
+ "import math\n",
+ "e = e_ab/math.acos(math.radians(52.2)) #inch\n",
+ "k = p_app/e # kips/in vertical stiffness of the combination\n",
+ "print \"The vertical stiffness of the combination is\",round(k,3),\"kips/inch\"\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "0.0112677358491\n",
+ "The vertical stiffness of the combination is 113.14 kips/inch\n"
+ ]
+ }
+ ],
+ "prompt_number": 36
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.6 page number 83"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "dia = 50 #mm - diameter of aluminium \n",
+ "p = 100 # KN - instant force applid\n",
+ "dia_c = 0.1215 #mm- change in diameter \n",
+ "l_c = 0.219 #mm - change in length\n",
+ "l = 300 #mm - length \n",
+ "strain_dia = dia_c/dia # lateral strain \n",
+ "strain_l = l_c/l #longitudinal strain \n",
+ "po = strain_dia/strain_l # poission ratio \n",
+ "area = 3.14*dia*dia/4 #mm2 area\n",
+ "E = p*l/(area*l_c) #N/mm2 youngs modulus \n",
+ "print \"The lateral strain is:\",strain_dia,\"no units\"\n",
+ "print \"The longitudinal strain is:\",strain_l,\"no units\"\n",
+ "print \"The poissions ratio is:\",po,\"no units\"\n",
+ "print \"Youngs modulus:\",round(E,2),\"N/mm2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The lateral strain is: 0.00243 no units\n",
+ "The longitudinal strain is: 0.00073 no units\n",
+ "The poissions ratio is: 3.32876712329 no units\n",
+ "Youngs modulus: 69.8 N/mm2\n"
+ ]
+ }
+ ],
+ "prompt_number": 34
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.7 page number 86"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "T = 12.9*pow(10,-6) #/F\n",
+ "t = 100.00 # F \n",
+ "e_ab = T*t*l_ab #in-elongation \n",
+ "e_bc = T*t*l_bc #in-elongation\n",
+ "k = e_ab/e_bc # ratio of cosines of deflected angles \n",
+ "# t_1 and t_2 be deflected angles \n",
+ "#t_2 = 180-45-26.6-t_1 the sum of angles is 360\n",
+ "t_1 = 26.6\n",
+ "import math\n",
+ "e = e_ab/math.acos(math.radians(26.6))\n",
+ "print \"The displacement in point B is :\",e ,\"in\"\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The displacement in point B is : 0.00795578950395 in\n"
+ ]
+ }
+ ],
+ "prompt_number": 78
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.11 page number "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "mass = 4 #kg \n",
+ "dist = 1 #mt freely falling distance\n",
+ "l = 1500 #mm length of rod\n",
+ "d = 15 #mm diameter\n",
+ "E = 200 #GPA youngs modulus \n",
+ "k = 4.5 # N/mm stiffness costant\n",
+ "F = mass*9.81# The force applying\n",
+ "Area = 3.14*(d**2)/4 \n",
+ "# Two cases \n",
+ "#youngs modulus \n",
+ "e_y = F*l/(Area*E*pow(10,3))\n",
+ "# stiffness\n",
+ "e_f = F/k \n",
+ "#total\n",
+ "e = e_y +e_f\n",
+ "k = 1+(2/(e*pow(10,-3)))\n",
+ "stress_max_1 = F*(1+pow(k,0.5))/Area\n",
+ "print \"The maximum stress is:\",stress_max_1,\"Mpa\"\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum stress is: 3.59377281766 Mpa\n"
+ ]
+ }
+ ],
+ "prompt_number": 56
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.12 page number 103"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "flex_a = 1#f\n",
+ "flex_b = 2#f\n",
+ "#removing lower support and solving FBD\n",
+ "e = -2 -(2+1)#fp\n",
+ "#e_1 = (2+1+1)*R\n",
+ "#e_1 = -e Making the elongations zero since the both ends are fixed\n",
+ "R = e/(2+1+1.0) #p\n",
+ "print \"The reactions at bottom is\",R,\"p\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The reactions at bottom is -1.25 p\n"
+ ]
+ }
+ ],
+ "prompt_number": 75
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.19 page number 113"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "l = 30 #in - The length of the rod\n",
+ "p_1 = 80 #kips - The Force on the end\n",
+ "p_2 = 125 #kips - The force on the other end\n",
+ "A_s = 0.5 #in2 - The crossection of the steel rod\n",
+ "A_a = 0.5 #in2 - The crossection of the aluminium \n",
+ "E_a = 10*(10**6) #psi - The youngs modulus of the aluminium \n",
+ "E_s = 30*(10**6) #psi - The youngs modulus of the steel\n",
+ "#Internally stastically indeterminant \n",
+ "p_a = p_1/4 #From solving we get p_s = 3*P_a\n",
+ "#From material properties point of view \n",
+ "#stress_steel = stress_aluminium\n",
+ "e = p_a*l*(10**3)/(A_a*E_a) #The end deflection \n",
+ "print \"The end deflection is\",e,\"in\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The end deflection is 0.12 in\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter4.ipynb b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter4.ipynb new file mode 100644 index 00000000..cf156252 --- /dev/null +++ b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter4.ipynb @@ -0,0 +1,447 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:9aca5229d39ed9fee3ce40f1f1dab6ba8b884ebc52bfe9bb1467df97ee1f15bb"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 4:Torsion"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.2 page number 183"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "dia = 10 #diameter of shaft(A-C)\n",
+ "c = dia/2 #mm - Radius\n",
+ "T = 30 #N/mm -Torque in the shaft \n",
+ "#Caliculations\n",
+ "\n",
+ "J = 3.14*(dia**4)/32 #mm4\n",
+ "shear_T = T*c*pow(10,3)/J # The torsion shear in the shaft AC\n",
+ "import numpy as np \n",
+ "print \"The maximum shear due to torsion is \",round(shear_T,2),\"Mpa\"\n",
+ "arr_T = np.zeros((3,3))\n",
+ "arr_T[0][1]=round(shear_T,1) #arranging the elements in array\n",
+ "arr_T[1][0]=round(shear_T,1)\n",
+ "print \"stress tensor matrix\",ceil(arr_T),\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum shear due to torsion is 152.87 Mpa\n",
+ "stress tensor matrix [[ 0. 153. 0.]\n",
+ " [ 153. 0. 0.]\n",
+ " [ 0. 0. 0.]]\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.3 page number 184"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "dia_out = 20 #mm- outer diameter of shaft\n",
+ "dia_in = 16 #mm- inner diameter of shaft \n",
+ "c_out = dia_out/2 #mm - outer Radius of shaft \n",
+ "c_in = dia_in/2 #mm - inner radius of shaft \n",
+ "T = 40 #N/mm -Torque in the shaft \n",
+ "#caliculations\n",
+ "\n",
+ "J = 3.14*((dia_out**4)- (dia_in**4))/32 #mm4\n",
+ "shear_T_max = T*c_out*pow(10,3)/J # The maximum torsion shear in the shaft\n",
+ "shear_T_min = T*c_in*pow(10,3)/J # The maximum torsion shear in the shaft\n",
+ "print \"The maximum shear due to torsion is \",round(shear_T_max,2),\"Mpa\"\n",
+ "print \"The minimum shear due to torsion is \",round(shear_T_min,2),\"Mpa\"\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum shear due to torsion is 43.15 Mpa\n",
+ "The minimum shear due to torsion is 34.52 Mpa\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4 page number 187"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "hp = 10 # horse power of motor \n",
+ "f = 30 # given \n",
+ "shear_T = 55 #Mpa - The maximum shearing in the shaft \n",
+ "#caliculations\n",
+ "\n",
+ "T = 119*hp/f # N.m The torsion in the shaft \n",
+ "#j/c=T/shear_T=K\n",
+ "k = T*pow(10,3)/shear_T #mm3\n",
+ "#c3=2K/3.14\n",
+ "c = pow((2*k/3),0.33) #mm - The radius of the shaft \n",
+ "diamter = 2*c #mm - The diameter of the shaft\n",
+ "print \"The Diameter of the shaft used is\",round(diamter,2),\"mm\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Diameter of the shaft used is 15.26 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.5 page number 188"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "hp = 200 #Horse power\n",
+ "stress_sh = 10000 #psi- shear stress\n",
+ "rpm_1 = 20.0 # The rpm at which this shaft1 operates \n",
+ "rpm_2 = 20000.0 # The rpm at which this shaft2 operates\n",
+ "T_1= hp*63000.0/rpm_1 #in-lb Torsion due to rpm1\n",
+ "T_2= hp*63000/rpm_2 #in-lb Torsion due to rpm1\n",
+ "#caliculations \n",
+ "\n",
+ "#j/c=T/shear_T=K\n",
+ "k_1= T_1/stress_sh #mm3\n",
+ "#c3=2K/3.14\n",
+ "c_1= pow((2*k_1/3),0.33) #mm - The radius of the shaft \n",
+ "diamter_1 = 2*c_1 #mm - The diameter of the shaft\n",
+ "print \"The Diameter of the shaft1 is\",round(diamter_1,2),\"mm\"\n",
+ "\n",
+ "#j/c=T/shear_T=K\n",
+ "k_2= T_2/stress_sh #mm3\n",
+ "#c3=2K/3.14\n",
+ "c_2= pow((2*k_2/3),0.33) #mm - The radius of the shaft \n",
+ "diamter_2 = 2*c_2 #mm - The diameter of the shaft\n",
+ "print \"The Diameter of the shaft2 is\",diamter_2,\"mm\"\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Diameter of the shaft1 is 6.87 mm\n",
+ "The Diameter of the shaft2 is 0.702590481015 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.7 page number 193"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "T_ab = 0 #N.m - torsion in AB \n",
+ "T_bc = 150 #N.m - torsion in BC\n",
+ "T_cd = 150 #N.m - torsion in CD\n",
+ "T_de = 1150 #N.m - torsion in DE\n",
+ "l_ab = 250 #mm - length of AB\n",
+ "l_bc = 200 #mm - length of BC\n",
+ "l_cd = 300 #mm - length of cd \n",
+ "l_de = 500.0 #mm - length of de\n",
+ "d_1 = 25 #mm - outer diameter \n",
+ "d_2 = 50 #mm - inner diameter\n",
+ "G = 80 #Gpa -shear modulus\n",
+ "#Caliculations \n",
+ "\n",
+ "J_ab = 3.14*(d_1**4)/32 #mm4\n",
+ "J_bc = 3.14*(d_1**4)/32 #mm4\n",
+ "J_cd = 3.14*(d_2**4 - d_1**4)/32 #mm4\n",
+ "J_de = 3.14*(d_2**4 - d_1**4)/32 #mm4\n",
+ "rad = T_ab*l_ab/(J_ab*G)+ T_bc*l_bc/(J_bc*G)+ T_cd*l_cd/(J_cd*G)+ T_de*l_de/(J_de*G) # adding the maximum radians roteted in each module\n",
+ "print \"The maximum angle rotated is \",rad,\"radians \" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum angle rotated is 0.0232628450106 radians \n"
+ ]
+ }
+ ],
+ "prompt_number": 37
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.9 Pagenumber 196"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given \n",
+ "#its a statistally indeterminant \n",
+ "#we will take of one of the support \n",
+ "#Given \n",
+ "T_ab = 0 #N.m - torsion in AB \n",
+ "T_bc = 150 #N.m - torsion in BC\n",
+ "T_cd = 150 #N.m - torsion in CD\n",
+ "T_de = 1150 #N.m - torsion in DE\n",
+ "l_ab = 250 #mm - length of AB\n",
+ "l_bc = 200 #mm - length of BC\n",
+ "l_cd = 300 #mm - length of cd \n",
+ "l_de = 500.0#mm - length of de\n",
+ "d_1 = 25 #mm - outer diameter \n",
+ "d_2 = 50 #mm - inner diameter\n",
+ "#Caliculations \n",
+ "\n",
+ "J_ab = 3.14*(d_1**4)/32 #mm4\n",
+ "J_bc = 3.14*(d_1**4)/32 #mm4\n",
+ "J_cd = 3.14*(d_2**4 - d_1**4)/32 #mm4\n",
+ "J_de = 3.14*(d_2**4 - d_1**4)/32 #mm4\n",
+ "G = 80 #Gpa -shear modulus\n",
+ "rad = T_ab*l_ab/(J_ab*G)+ T_bc*l_bc/(J_bc*G)+ T_cd*l_cd/(J_cd*G)+ T_de*l_de/(J_de*G) \n",
+ "#now lets consider T_A then the torsion is only T_A\n",
+ "# T_A*(l_ab/(J_ab*G)+ l_bc/(J_bc*G)+ l_cd/(J_cd*G)+ l_de/(J_de*G)) +rad = 0\n",
+ "# since there will be no displacement \n",
+ "T_A =-rad/(l_ab/(J_ab*G)+ l_bc/(J_bc*G)+ l_cd/(J_cd*G)+ l_de/(J_de*G)) #Torsion at A\n",
+ "T_B = 1150 - T_A #n-m F_X = 0 torsion at B\n",
+ "print \"The Torsion at rigid end A is\",round(T_A,2),\"N-m\"\n",
+ "print \"The Torsion at rigid end B is\",round(T_B,2),\"N-m\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Torsion at rigid end A is -141.72 N-m\n",
+ "The Torsion at rigid end B is 1291.72 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 39
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.12 Pagenumber 202"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "dai_bc = 240 #mm- daimeter of '8'bolt circle \n",
+ "dia = dai_bc/8 #Diameter of each bolt\n",
+ "A = 0.25*(dia**2)*3.14 # Area of a bolt\n",
+ "S_allow = 40 #Mpa - The maximum allowable allowable shear stress \n",
+ "P_max = (S_allow)*A #N - The maximum allowable force \n",
+ "D = 120.0 #mm - the distance from central axis \n",
+ "T_allow =P_max*D*8 #N-m The allowable torsion on the 8 bolt combination \n",
+ "print \"The allowable torsion on the 8 bolt combination\",T_allow ,\"N-m\"\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The allowable torsion on the 8 bolt combination 27129600.0 N-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 49
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.15 page number 211"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "#AISC MANUALS\n",
+ "#approximated by three narrow tubes \n",
+ "#J = Bbt^3\n",
+ "B = 0.33 # constant mentiones in AISC\n",
+ "#three rods \n",
+ "\n",
+ "#rod_1\n",
+ "t_1 = 0.605 #inch - Thickness \n",
+ "b = 12.0 #inches - width \n",
+ "J_1 = B*b*(t_1**3) #in4 - Torsion constant \n",
+ "\n",
+ "#rod_2\n",
+ "t_2 = 0.605 #inch - Thickness \n",
+ "b = 12 #inches - width \n",
+ "J_2 = B*b*(t_2**3) #in4 - Torsion constant \n",
+ "\n",
+ "#rod_3\n",
+ "t_3 = 0.390 #inch - Thickness \n",
+ "b = 10.91 #inches - width \n",
+ "J_3 = B*b*(t_3**3) #in4 - Torsion constant \n",
+ "\n",
+ "#Equivalent\n",
+ "J_eq = J_1+J_2+J_3 #in4 - Torsion constant \n",
+ "print \"the Equivalent Torsion constant is \",round(J_eq,2), \"in4\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the Equivalent Torsion constant is 1.97 in4\n"
+ ]
+ }
+ ],
+ "prompt_number": 57
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.16 page number 214"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "dia_out = 10 #mm- outer diameter of shaft\n",
+ "dia_in = 8 #mm- inner diameter of shaft \n",
+ "c_out = dia_out/2 #mm - outer Radius of shaft \n",
+ "c_in = dia_in/2 #mm - inner radius of shaft \n",
+ "T = 40 #N/mm -Torque in the shaft \n",
+ "#caliculations\n",
+ "\n",
+ "J = 3.14*((dia_out**4)- (dia_in**4))/32 #mm4\n",
+ "shear_T_max = T*c_out*pow(10,3)/J # The maximum torsion shear in the shaft\n",
+ "shear_T_min = T*c_in*pow(10,3)/J # The maximum torsion shear in the shaft\n",
+ "print \"The maximum shear due to torsion is \",round(shear_T_max,2),\"Mpa\"\n",
+ "print \"The minimum shear due to torsion is \",round(shear_T_min,2),\"Mpa\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum shear due to torsion is 345.23 Mpa\n",
+ "The minimum shear due to torsion is 276.18 Mpa\n"
+ ]
+ }
+ ],
+ "prompt_number": 58
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter5.ipynb b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter5.ipynb new file mode 100644 index 00000000..089d0b85 --- /dev/null +++ b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter5.ipynb @@ -0,0 +1,870 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:71148b069e338fd0ffabcfe7f6bd37d7ab47477a297f58633926ede4f66ab53c"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Chapter 5:Axial force, Shear and Bending moment "
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example5.2 pagenumber 231"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "L_ab = 0.4 #mt The total length of the rod\n",
+ "M = 200 #N_m - the moment acting on rod\n",
+ "l_1 = 0.1 #mt -moment acting point the distance from 'a'\n",
+ "R_1 = 100 #N - The Force acting \n",
+ "l_2 = 0.2 #mt -R_1 acting point the distance from 'a'\n",
+ "R_2 = 160 #N The Force acting \n",
+ "l_3 = 0.3 #mt -R_2 acting point the distance from 'a'\n",
+ "#caliculations\n",
+ "\n",
+ "#F_X = 0 forces in x directions \n",
+ "R_A_X = 0 # since there are no forces in X-direction \n",
+ "R_B_X = 0\n",
+ "#M_A = 0 momentum at point a is zero\n",
+ "\n",
+ "# M + R_1*l_2 + R_2*l_3 = R_B*L_ab *the moment for a force is FxL\n",
+ "R_B_Y = (M + R_1*l_2 + R_2*l_3)/L_ab\n",
+ "\n",
+ "#M_B= 0 momentum at point b is zero\n",
+ "# R_A_Y*L_ab + M - R_1*l_2 - R_2*0.1 = 0\n",
+ "\n",
+ "R_A_Y = -(M - R_1*l_2 - R_2*0.1)/L_ab\n",
+ " \n",
+ "print \"The X,Y components of reaction force at A is \",R_A_X,\",\",R_A_Y,\"N\"\n",
+ "print \"The X,Y components of reaction force at B is \",R_B_X,\",\",R_B_Y,\"N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The X,Y components of reaction force at A is 0 , -410.0 N\n",
+ "The X,Y components of reaction force at B is 0 , 670.0 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.2 page number 233"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "P_Max = 10 #N - the maximum distribution in a triangular distribution\n",
+ "L = 3 #mt the total length of force distribution \n",
+ "L_X = 5 #mt - the horizantal length of the rod\n",
+ "#caliculations \n",
+ "\n",
+ "F_y = P_Max*L*0.5 #N - The force due to triangular distribition \n",
+ "L_com = 2*L /3 #mt - the resultant force acting as a result of distribution acting position \n",
+ "#F_X = 0 forces in x directions\n",
+ "R_A_X = 0 # since there are no forces in X-direction\n",
+ "R_B_X = 0\n",
+ "#M_A = 0 momentum at point a is zero\n",
+ "#F_y*L_com - R_B_Y*L_X = 0\n",
+ "R_B_Y = F_y*L_com/L_X\n",
+ "\n",
+ "#M_B= 0 momentum at point b is zero\n",
+ "#- R_A_Y*L_X = F_y*(L_X-L )\n",
+ "\n",
+ "R_A_Y = - F_y*L/L_X \n",
+ "print \"The X,Y components of reaction force at A is \",R_A_X,\",\",R_A_Y,\"N\"\n",
+ "print \"The X,Y components of reaction force at B is \",R_B_X,\",\",R_B_Y,\"N\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The X,Y components of reaction force at A is 0 , -9.0 N\n",
+ "The X,Y components of reaction force at B is 0 , 6.0 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "\n",
+ "Example 5.3 page number 233\n",
+ "\n",
+ "\n",
+ "\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given\n",
+ "F = 5 #K - force acting on the system\n",
+ "tan = (4/3) # the Tan of the angle of force with x axis\n",
+ "l_ab = 12 #inch - the total length of ab \n",
+ "l = 3 # inch - Distance from 'a'\n",
+ "#caliculation\n",
+ "F_X = 4 #K\n",
+ "F_Y = 3 #k\n",
+ "\n",
+ "#M_A = 0 momentum at point a is zero\n",
+ "# F_X*l- R_B_Y*l_ab = 0 \n",
+ "R_B_Y = F_X*l/l_ab\n",
+ "\n",
+ "#M_B= 0 momentum at point b is zero\n",
+ "# R_A_Y*l_ab - F_X*(l_ab - l)\n",
+ "R_A_Y = F_X*(l_ab - l)/l_ab\n",
+ " \n",
+ "#F_X = 0 forces in x directions\n",
+ "R_A_X = F_Y + R_B_Y \n",
+ "R_B_X = R_B_Y # since the angle is 45 degrees\n",
+ "\n",
+ "#resultants \n",
+ "R_A = pow(R_A_X**2 + R_A_Y**2,0.5)\n",
+ "R_B = pow(R_B_X**2 + R_B_Y**2,0.5)\n",
+ "\n",
+ "print \"The X,Y components and resultant of reaction force at A is \",R_A_X,\",\",R_A_Y,\",\",R_A,\"N\"\n",
+ "print \"The X,Y components and resultant of reaction force at B is \",R_B_X,\",\",R_B_Y,\",\",round(R_B,2),\"N\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The X,Y components and resultant of reaction force at A is 4 , 3 , 5.0 N\n",
+ "The X,Y components and resultant of reaction force at B is 1 , 1 , 1.41 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.4 page number 239"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "P_Max = 10 #N - the maximum distribution in a triangular distribution\n",
+ "L = 3 #mt the total length of force distribution \n",
+ "L_X = 5 #mt - the horizantal length of the rod\n",
+ "#caliculations \n",
+ "\n",
+ "F_y = P_Max*L*0.5 #N - The force due to triangular distribition \n",
+ "L_com = 2*L /3 #mt - the resultant force acting as a result of distribution acting position \n",
+ "#F_X = 0 forces in x directions\n",
+ "R_A_X = 0 # since there are no forces in X-direction\n",
+ "R_B_X = 0\n",
+ "#M_A = 0 momentum at point a is zero\n",
+ "#F_y*L_com - R_B_Y*L_X = 0\n",
+ "R_B_Y = F_y*L_com/L_X\n",
+ "\n",
+ "#M_B= 0 momentum at point b is zero\n",
+ "#- R_A_Y*L_X = F_y*(L_X-L )\n",
+ "\n",
+ "R_A_Y = - F_y*L/L_X\n",
+ "\n",
+ "#For a---a section \n",
+ "l_a = 2 #mt - a---a section from a \n",
+ "l_com_a = 2*l_a/3\n",
+ "v_a = R_A_Y + 0.5*l_a*(10.0*2/3) #*(10*2/3) because the maximum moves\n",
+ "\n",
+ "M_a = (10.0*0.66)*l_a*(0.33) + R_A_Y*l_a \n",
+ "\n",
+ "#For b---b section \n",
+ "\n",
+ "v_b = F_y + R_A_Y #equilabrium conditions\n",
+ "M_b = (F_Y + R_A_Y)*(-1)\n",
+ "\n",
+ "print \"The force and moment in section a--a are\",round(v_a,2),\"KN ,\",M_a,\"KN-m\"\n",
+ "print \"The force and moment in section b--b are\",v_b,\"KN ,\",M_b,\"KN-m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The force and moment in section a--a are -2.33 KN , -13.644 KN-m\n",
+ "The force and moment in section b--b are 6.0 KN , 6.0 KN-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 34
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.5 page number 241"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "#Lets divide the section into two sections \n",
+ "l_ac = 10 # ft -The total length of the rod\n",
+ "R = 5 #k - The applies force at c\n",
+ "tan = 4/3 # The tan of the angle of the force \n",
+ "l_ab = 5 #ft - The distance of applied force from A\n",
+ "R_y = 4 #k,downwards X- component of the force\n",
+ "R_X = 3 #k Y- component of the force , lets consider only Y direction since we are concentrating on the Shears \n",
+ "\n",
+ "#F_Y = 0 forces in Y directions\n",
+ "#R_A +R_B = R_y\n",
+ "#M_c = 0 making the moment zero at point c \n",
+ "#Caliculations \n",
+ "# R_A= R_B*(l_ac - l_ab)/(l_ab) so R_A = R_B\n",
+ "\n",
+ "R_A = R_y/2 #F_Y = 0\n",
+ "R_B = R_y/2\n",
+ "#considering section x--x\n",
+ "l_x = 2 #ft - length of section from A\n",
+ "v_x = R_A #k ,F_X = 0 \n",
+ "M_x = R_A*l_x #k-ft M_c = 0\n",
+ "\n",
+ "#considering section at midpoint t--t\n",
+ "l_t = 2 #ft - length of section from A\n",
+ "v_t = 0 #k ,F_X = 0 \n",
+ "M_t = (R_A)*l_t #k-ft M_c = 0\n",
+ "\n",
+ "##considering section y---y\n",
+ "l_y = 2 #ft - length of section from B\n",
+ "v_y = - R_B #k ,F_X = 0 \n",
+ "M_y = R_B*l_y #k-ft M_c = 0\n",
+ "\n",
+ "#Graph\n",
+ "%matplotlib inline\n",
+ "import math \n",
+ "from matplotlib.pyplot import plot,suptitle,xlabel,ylabel\n",
+ "#Drawing of shear and bending moment diagram\n",
+ "print \"Given problem is for drawing diagram, this diagram is drawn by step by step manner. \"\n",
+ "X = [0,2,4.9999999999999,5,5.00000000000000001,7,10] # For graph precision \n",
+ "\n",
+ "V = [R_A,v_x,v_x,v_t,v_y,v_y,-R_B];\t\t\t#Shear matrix\n",
+ "M = [0,M_x,M_t,M_t,M_t,M_y,0];\t\t\t#Bending moment matrix\n",
+ "plot(X,V);\t\t\t#Shear diagram\n",
+ "plot(X,M,'r');\t\t\t#Bending moment diagram\n",
+ "suptitle( 'Shear and bending moment diagram')\n",
+ "xlabel('X axis')\n",
+ "ylabel( 'Y axis') ;"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Given problem is for drawing diagram, this diagram is drawn by step by step manner. \n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYIAAAEhCAYAAABycqfJAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xv8lGWd//HXW/AEhpL9VEwKzaVVlxQwQ1P7VlqWhZpu\nZLaLKZrlphi4asoG7uoWCppbuoaQh9ZoZdN0TcnUr9imJiKimKfQldI8rCgpHhA+vz+uGxnxe2Zm\nrpnv/X4+HvPgnpn78JkZvvOZ67ru+/ooIjAzs/LaIHcAZmaWlxOBmVnJORGYmZWcE4GZWck5EZiZ\nlZwTgZlZyTkRNClJp0t6QNJ9ku6V9OHi8SckvTt3fJ1pL05JL9foeJdKOrRY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LOAJgZEaU8I6LwUeArwCJJ9xaPnRYRN2aMqRGUvQvxm8B/FD+W/gB8NXM8WUTE\nfUXLcD51AFV7AAACD0lEQVRp7GgB8KO8UdWPpJ8CHwPeI2kp8E/Ad4H/lHQ08ATwxU734wvKzMzK\nrRG7hszMrI6cCMzMSs6JwMys5JwIzMxKzonAzKzknAjMzErOicBKq5jie4mkgcX9gcX991Vh3/+z\n/hGa1YevI7BSk3QysGNEfE3SxcCSiPhe7rjM6sktAiu780hTFIwnzVFzblsrSbpa0vyiONAxxWPv\nL4p/bClpA0m3S9qveO7l4t9BkuYVxXTul7R3nV6XWZe5RWClJ+nTwA3A/hFxczvrDIyIZZI2BX4H\n7FvcPxr4NHA3sENEfL1Y/y8R8S5JE4CNI+LsYi6c/mWcPdYam1sEZvAZ0lz2wzpY50RJC4E7gO2A\noQARMRPYHPgaMLGN7X4HfFXSd4APOQlYI3IisFKTtBtpxso9gZPWTN+7zjotwCeBURGxG7AQ2Lh4\nrh8pMQTwrnW3LSpI7UOaXv1SSX9Xm1di1nNOBFZaRVfNRaRiP0uBc2h7jGAAsCwiXpP016Ta0Wt8\nD7gC+A4wo41jvA94LiIuIZXYHF7dV2G2/pwIrMyOAZ6oGBe4ENhJ0j7rrHcj0FfSg8C/krqHkPQx\nYCTwvYi4EnhD0pp54NcMvn0cWChpAWk64O/X7NWY9ZAHi83MSs4tAjOzknMiMDMrOScCM7OScyIw\nMys5JwIzs5JzIjAzKzknAjOzknMiMDMruf8PP5JcgJ4iq3UAAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x87a5ac8>"
+ ]
+ }
+ ],
+ "prompt_number": 42
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.6 pagenumber 243 "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "l = 1 #L - Length of the cantilever \n",
+ "F_app = ((2**0.5))*2 #p - force applies \n",
+ "tan = 1 # The angle of force applied\n",
+ "F_app_x = F_app/((2**0.5)) #p The horizantal component of the force , neglected \n",
+ "F_app_y = F_app/((2**0.5)) #p The Vertical component of the force \n",
+ "#F_Y = 0 \n",
+ "R_A = 1 #p\n",
+ "\n",
+ "#Considering section 1-----1\n",
+ "l_1 = 0.5 # The length of the section from one end\n",
+ "v_1 = R_A #F_Y = 0\n",
+ "M_1 = -R_A*l_1 #MAking moment at section 1 = 0\n",
+ "\n",
+ "#considering end of cantilever\n",
+ "l_2 = 1 # The length of the section from one end\n",
+ "v_2 = R_A #F_Y = 0\n",
+ "M_2 = -R_A*l_2#MAking moment at section 1 = 0\n",
+ "\n",
+ "#Graph\n",
+ "%matplotlib inline\n",
+ "import math \n",
+ "from matplotlib.pyplot import plot,suptitle,xlabel,ylabel\n",
+ "#Drawing of shear and bending moment diagram\n",
+ "print \"Given problem is for drawing diagram, this diagram is drawn by step by step manner. \"\n",
+ "X = [0,0.5,1] # For graph precision \n",
+ "\n",
+ "V = [R_A,v_1,v_2 ];\t\t\t#Shear matrix\n",
+ "M = [0,M_1,M_2];\t\t\t#Bending moment matrix\n",
+ "plot(X,V);\t\t\t #Shear diagram\n",
+ "plot(X,M,'r');\t\t\t #Bending moment diagram\n",
+ "suptitle( 'Shear and bending moment diagram')\n",
+ "xlabel('X axis')\n",
+ "ylabel( 'Y axis') ;\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Given problem is for drawing diagram, this diagram is drawn by step by step manner. \n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAY0AAAEhCAYAAACDefxEAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAGVdJREFUeJzt3XuYJXV95/H3hxlUQAggRlBUvICIF4Io4gVp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8Hf2PaWwF3FxVv06yK7B3z7SjgX+mucrocX2W8Qjgxqr6\nKPBRmvs6S2PH0JDm9lrgmp7jGB8CHp9knxn9TgNWJrkMOIpmFxVJ9qW5GdTRVfUvwG+TvLJ9zbqD\nis8FLkhyHvBS4P0DezfSRvBAuCSpM7c0JEmdGRqSpM4MDUlSZ4aGJKkzQ0OS1JmhIUnqzNCQJHVm\naEiSOvv/E00dakiohy4AAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x8154208>"
+ ]
+ }
+ ],
+ "prompt_number": 128
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.7 page number 243"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "l_ab = 3 #L - The total length lets say '3L'\n",
+ "R_1 = 1 #p - The force applied at b\n",
+ "R_2 = 1 #p - The force applied at c\n",
+ "l_ab = 1 #L\n",
+ "l_bc = 1 #L \n",
+ "\n",
+ "#Logical step \n",
+ "#Since the system is in symmetry we can avoid moment M = 0 caliculations\n",
+ "\n",
+ "#F_Y = 0 \n",
+ "R_A = (R_1 + R_2)/2\n",
+ "R_B = (R_1 + R_2)/2\n",
+ "\n",
+ "#Lets take '3' sections \n",
+ "#Considering section 1-----1 at 0.5L\n",
+ "l_1 = 0.5 #L - distance of the section from the A\n",
+ "v_1 = R_A #F_Y = 0 \n",
+ "M_1 = R_A*l_1 #MAking moment at section 1 = 0\n",
+ "\n",
+ "#Considering section 2-----2 at 1L\n",
+ "l_2 = 1 #L - distance of the section from the A\n",
+ "v_2 = R_A #F_Y = 0 \n",
+ "M_2 = R_A*l_2 #MAking moment at section 2 = 0\n",
+ "\n",
+ "#Considering section 3-----3 at 1.5L\n",
+ "l_3 = 1.5 #L - distance of the section from the A\n",
+ "v_3 = 0 #F_Y = 0 \n",
+ "M_3 = R_A*l_2 #MAking moment at section 2 = 0 and symmetry \n",
+ "\n",
+ "#GRAPH\n",
+ "#Since the symmetry exists the graphs are also symmetry\n",
+ "%matplotlib inline\n",
+ "import math \n",
+ "from matplotlib.pyplot import plot,suptitle,xlabel,ylabel\n",
+ "#Drawing of shear and bending moment diagram\n",
+ "print \"Given problem is for drawing diagram, this diagram is drawn by step by step manner. \"\n",
+ "X = [0,0.5,1,1.000000001,1.5,1.999999999999,2,2.5,3] # For graph precision \n",
+ "\n",
+ "V = [R_A,v_1,v_2,v_3,v_3,v_3,-v_2,-v_1,-R_B];\t\t\t#Shear matrix\n",
+ "M = [0,M_1,M_2,1,1,1,M_2,M_1,0];\t\t\t#Bending moment matrix\n",
+ "plot(X,V);\t\t\t#Shear diagram\n",
+ "plot(X,M);\t\t\t#Bending moment diagram\n",
+ "suptitle( 'Shear and bending moment diagram')\n",
+ "xlabel('X axis')\n",
+ "ylabel( 'Y axis') ;"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Given problem is for drawing diagram, this diagram is drawn by step by step manner. \n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAY0AAAEhCAYAAACDefxEAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAGmRJREFUeJzt3Xu4JHV95/H3BwZUEAJIRLxiIqisNyQiXtATB+W2i8EQ\n0ZhoXB+DPstqEvUxii6TTdAlGndFVsMiKhijrlkgYwARkCNEEUEuclXYwC7eeMIjoMCqwHz3j66B\n5tA9p86lT3f1eb+eZ56p7q7u+tWpmX6fqupLqgpJktrYbNwDkCR1h9GQJLVmNCRJrRkNSVJrRkOS\n1JrRkCS1ZjSmXJIjk1yV5IoklyV5XnP9TUl2GPf45jNsnEnuHNHyPpPkd5vpE5I8fRTLmQRJnp3k\ngJbzziZ5bjN9epJtRzs6Tao14x6ARifJC4CDgD2q6p7myfdhzc0FZJmXt6aq7l3Ox6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8rKo+0HzG0dZDPklW\nGiv3NKT2DgB+BDxzE/O8vfnuggvpfVrobgBVdSLwa8DhwDsH3O/bwBuTHAU8y2BoUhkNqYUkzwH2\nBV4A/GmSxwyYZwZYC+xdVc+h97W9D2tu24peRArYZu59m2//24feR1J/JskfjmZNpKUxGtI8msNF\nn6D35Tw3Ax9i8DmNbYHbquoXSZ4G7N132zHAZ+l9Au4JA5bxROBfq+qTwCfpfXucNHGMhjS/NwM3\n9Z3H+Djw9CT7zJnvK8CaJNcAH6R3iIokLwX2BI6pqr8HfpXkDc19Np5U/G3g8iSXAq8GPjqytZGW\nwBPhkqTW3NOQJLVmNCRJrRkNSVJrRkOS1JrRkCS1ZjQkSa0ZDUlSa0ZDktTa/wc67F2tjQSN/wAA\nAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x8154240>"
+ ]
+ }
+ ],
+ "prompt_number": 127
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.8 page nmber 244"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "l_ab = 1.0 #L - The length of the beam\n",
+ "F_D = 1.0 #W - The force distribution \n",
+ "F = F_D*l_ab #WL - The force applied\n",
+ "#Beause of symmetry the moment caliculations can be neglected\n",
+ "#F_Y = 0\n",
+ "R_A = F/2 #wl - The reactive force at A\n",
+ "R_B = F/2 #wl - The reactive force at B\n",
+ "\n",
+ "#considering many sections \n",
+ "\n",
+ "#section 1--1\n",
+ "l_1 = [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1] #L taking each section at 0.1L distance \n",
+ "M_1 = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "v = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "for i in range(10):\n",
+ " v[i] = R_A - F_D*l_1[i] \n",
+ " M_1[i] = R_A*l_1[i] - F_D*(l_1[i]**2)/2 #M = 0 in the section\n",
+ "print R_A\n",
+ "#Graphs\n",
+ "import numpy as np\n",
+ "values = [0.5,0,-0.5]\n",
+ "y = np.array(values)\n",
+ "t = np.linspace(0,1,3)\n",
+ "poly_coeff = np.polyfit(t, y, 2)\n",
+ "import matplotlib.pyplot as plt\n",
+ "plt.plot(t, y, 'o')\n",
+ "plt.plot(t, np.poly1d(poly_coeff)(t), '-')\n",
+ "plt.show()\n",
+ "\n",
+ "import numpy as np\n",
+ "values = M_1\n",
+ "y = np.array(values)\n",
+ "t = np.linspace(0,1,11)\n",
+ "poly_coeff = np.polyfit(t, y, 2)\n",
+ "import matplotlib.pyplot as plt\n",
+ "plt.plot(t, y, 'o')\n",
+ "plt.plot(t, np.poly1d(poly_coeff)(t), '-')\n",
+ "plt.show()"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "0.5\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAX4AAAEACAYAAAC08h1NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAFYJJREFUeJzt3X2QHPV95/H3FwmbhzsHI0pgBAQH40hxBceOEeLBeHxg\nJCMHXCEFEVZ8R3w5KhUJ5wrHEgbCUhWfgYiLiKIQB2OKVMUnOPAFLsKATJhC5pn4AbAkQFx0CHyW\nDAmuHCdSUvjeHzuS1ss+jLZ3u3um36+qLaZnftP941e73219P9O9kZlIkppjv6onIEkql4VfkhrG\nwi9JDWPhl6SGsfBLUsNY+CWpYQoX/ohYEBGbIuKFiFg2yphWRHwvIp6NiHbRY0qSJi6KfI4/IqYB\nzwFnAq8ATwKLMnPjkDGHAA8D8zPz5Yg4LDNfLTZtSdJEFT3jnwtszswtmbkTWAOcO2zMhcCdmfky\ngEVfkqpVtPDPArYO2X6589xQxwOHRsSDEfFURPxWwWNKkgqYXvD93fSJ9gc+DJwBHAQ8GhGP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kudXRPtXNIh/nnIhuf2CHf7SzH3/Qu/5/ioiPA78N\nnDp106lMN+uwksHrPzIigrd/f/SLbtZifwYvijwDOAh4NCIey8wXpnRm5etmLb4EfD8zWxFxHLAu\nIj6Ymf88xXOrq67rZtmF/xXg6CHbRzP4m2msMUd1nus33awFnUD3JmBBZo71T71e1c06/CqwZrDm\ncxjwyYjYmZl3lzPF0nSzFluBVzNzB7AjIh4CPgj0W+HvZi1OAb4MkJkvRsQ/AL8IPFXKDOtln+pm\n2a2ep4DjI+LYiHgHcAGDF4INdTfwWYDOLZxfz733BOon465FRBwDfBNYnJmbK5hjGcZdh8z8hcx8\nbw5eAX4H8Lt9WPShu5+Pu4DTImJa575XJwEbSp5nGbpZi00MXhRKp5/9i8D/KnWW9bFPdbPUM/7M\n3BURS4D7GEztb87MjRFxcef1r2bmPRFxdkRsZvDePheVOceydLMWwB8C7wZu7Jzt7szMuVXNeSp0\nuQ6N0OXPx6aIuBd4GniLwYsl+67wd/l98V+AWyLiBwyexH4xM/+xsklPoYj4b8DHgMMiYitwFYNt\nvwnVTS/gkqSG8U8vSlLDWPglqWEs/JLUMBZ+SWoYC78kNYyFX5IaxsIvSQ1j4Zekhvn/QMLBpbNV\n54oAAAAASUVORK5CYII=\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x87884e0>"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYQAAAEACAYAAACznAEdAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3Xl4FeX5xvHvQwIJKLIoiywVBRTFIiggKmqURXaxWq0L\nAWsrYllcWkUoBeuCWvtTgxsqKK64IwrIphFrEYMCVgkoILKJgoIskpiQ5/dHjjFGAklOkjnL/bmu\nXGbmvDPnZsyZ58y8M++YuyMiIlIl6AAiIhIZVBBERARQQRARkRAVBBERAVQQREQkRAVBRESAcigI\nZtbDzFaY2edmduM+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sfXf/vEKTVb6SbItRwFJ3TzGz5sBcMzvB3XdWcLZIVeL9ZqQUhI1A00LTTcmvZPtr0yQ0L9aU\nZFsQ6kh+FOjh7vs7ZIxWJdkOJwFT82sBhwE9zSzH3adXTsRKU5JtsR7Y6u57gD1mtgA4AYi1glCS\nbXEqcBuAu682sy+AY8i/LyrelGq/GSmnjApuYDOzauTfwFb0Qz0dSIWCO6C3+89jKcWSA24LM/sN\n8ApwmbuvCiBjZTjgdnD3o9z9SHc/kvx+hCExWAygZJ+P14DOZpZgZjXI70BcXsk5K0NJtsUKoCtA\n6Hz5McCaSk0ZOUq134yIIwR3zzWzocBsfr6BLdPMBoden+juM82sl5mtAnYDlwcYucKUZFsA/wDq\nAA+Fvh3nuHvHoDJXhBJuh7hQws/HCjN7E/gYyCP/5tCYKwgl/Lu4HXjczJaR/6X3Bnf/rtiVRjEz\new44EzjMzNYDY8k/fVim/aZuTBMRESByThmJiEjAVBBERARQQRARkRAVBBERAVQQREQkRAVBREQA\nFQQREQlRQRAREQD+H2Gz7ECR6pNEAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x9e8f588>"
+ ]
+ }
+ ],
+ "prompt_number": 111
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.9 page number 245"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "P_Max = 10 #N - the maximum distribution in a triangular distribution\n",
+ "L = 3 #mt the total length of force distribution \n",
+ "L_X = 5 #mt - the horizantal length of the rod\n",
+ "#caliculations \n",
+ "\n",
+ "F_y = P_Max*L*0.5 #N - The force due to triangular distribition \n",
+ "L_com = 2*L /3 #mt - the resultant force acting as a result of distribution acting position \n",
+ "#F_X = 0 forces in x directions\n",
+ "R_A_X = 0 # since there are no forces in X-direction\n",
+ "R_B_X = 0\n",
+ "#M_A = 0 momentum at point a is zero\n",
+ "#F_y*L_com - R_B_Y*L_X = 0\n",
+ "R_B_Y = F_y*L_com/L_X\n",
+ "\n",
+ "#M_B= 0 momentum at point b is zero\n",
+ "#- R_A_Y*L_X = F_y*(L_X-L )\n",
+ "\n",
+ "R_A_Y = - F_y*L/L_X\n",
+ "\n",
+ "#caliculating for some random value\n",
+ "#For a---a section \n",
+ "l_a = 2 #mt - a---a section from a \n",
+ "l_com_a = 2*l_a/3\n",
+ "v_a = R_A_Y + 0.5*l_a*(10.0*2/3) #*(10*2/3) because the maximum moves\n",
+ "\n",
+ "M_a = (10.0*0.66)*l_a*(0.33) + R_A_Y*l_a\n",
+ "\n",
+ "print \"The force and moment in section a--a are\",round(v_a,2),\"KN ,\",M_a,\"KN-m\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The force and moment in section a--a are -2.33 KN , -13.644 KN-m\n"
+ ]
+ }
+ ],
+ "prompt_number": 112
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.13 page number 254"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "l_ab = 4 #L - The total length lets say '3L'\n",
+ "R_1 = 1 #p - The force applied at b\n",
+ "R_2 = 1 #p - The force applied at c\n",
+ "l_ab = 1 #L\n",
+ "l_bc = 3 #L \n",
+ "\n",
+ "#Logical step \n",
+ "#Since the system is in symmetry we can avoid moment M = 0 caliculations\n",
+ "\n",
+ "#F_Y = 0 \n",
+ "R_A = (R_1 + R_2)/2\n",
+ "R_B = (R_1 + R_2)/2\n",
+ "\n",
+ "#Lets take '3' sections \n",
+ "#Considering section 1-----1 at 0.5L\n",
+ "l_1 = 0.5 #L - distance of the section from the A\n",
+ "v_1 = R_A #F_Y = 0 \n",
+ "M_1 = R_A*l_1 #MAking moment at section 1 = 0\n",
+ "\n",
+ "#Considering section 2-----2 at 1L\n",
+ "l_2 = 1 #L - distance of the section from the A\n",
+ "v_2 = R_A #F_Y = 0 \n",
+ "M_2 = R_A*l_2 #MAking moment at section 2 = 0\n",
+ "\n",
+ "#Considering section 3-----3 at 1.5L\n",
+ "l_3 = 3 #L - distance of the section from the A\n",
+ "v_3 = 0 #F_Y = 0 \n",
+ "M_3 = R_A*l_2 #MAking moment at section 2 = 0 and symmetry \n",
+ "\n",
+ "#GRAPH\n",
+ "#Since the symmetry exists the graphs are also symmetry\n",
+ "%matplotlib inline\n",
+ "import math \n",
+ "from matplotlib.pyplot import plot,suptitle,xlabel,ylabel\n",
+ "#Drawing of shear and bending moment diagram\n",
+ "print \"Given problem is for drawing diagram, this diagram is drawn by step by step manner. \"\n",
+ "X = [0,0.5,1,1.0000001,2,2.9999999999,3,3.5,4] # For graph precision \n",
+ "\n",
+ "V = [R_A,v_1,v_2,v_3,v_3,v_3,-v_2,-v_1,-R_B];\t\t\t#Shear matrix\n",
+ "M = [0,M_1,M_2,M_3,M_3,M_3,M_2,M_1,0];\t\t\t#Bending moment matrix\n",
+ "plot(X,V);\t\t\t#Shear diagram\n",
+ "plot(X,M);\t\t\t#Bending moment diagram\n",
+ "suptitle( 'Shear and bending moment diagram')\n",
+ "xlabel('X axis')\n",
+ "ylabel( 'Y axis') ;"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Given problem is for drawing diagram, this diagram is drawn by step by step manner. \n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAY4AAAEhCAYAAABoTkdHAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAHDtJREFUeJzt3X+8XHV95/HXm/xAfmUJagNIFFtBQSNGCEYQuA2oASoU\nSwSqDT98YJZd1K7Yh4pa0m1XwPqjApUqBiGWApsu0FiCgDTXUORHYn4QSIJhJbuImHUf/EyySiCf\n/eN8bzJM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Mv4hsFLScuAj\nwLfa9mzMRsnhuJmZ5eItDjMzy8WNw8zMcnHjMDOzXNw4zMwsFzcOMzPLxY3DzMxyceMwM7Nc3DjM\nzCyX/w/0OTZCPXzVtAAAAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x9e8f1d0>"
+ ]
+ }
+ ],
+ "prompt_number": 126
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.14 page number 255"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "l = 1.0 #l - The length of the beam\n",
+ "p = 1.0 #W - The total load applied\n",
+ "#since it is triangular distribution \n",
+ "l_com = 0.66*l#l - The distance of force of action from one end\n",
+ "#F_Y = 0\n",
+ "#R_A + R_B = p\n",
+ "#M_a = 0 Implies that R_B = 2*R_A\n",
+ "R_A = p/3.0\n",
+ "R_B = 2.0*p/3\n",
+ "\n",
+ "#Taking Many sections \n",
+ "\n",
+ "#Section 1----1\n",
+ "l = [0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1] #L taking each section at 0.1L distance \n",
+ "M = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "v = [0,0,0,0,0,0,0,0,0,0,0]\n",
+ "for i in range(10):\n",
+ " v[i] = p*(l[i]**2) - p/3.0\n",
+ " M[i] = p*(l[i]**3)/(3.0)- p*l[i]/3.0\n",
+ "\n",
+ "v[10] = R_B #again concluded Because the value is tearing of \n",
+ "\n",
+ "\n",
+ "#Graph\n",
+ "import numpy as np\n",
+ "values = M\n",
+ "y = np.array(values)\n",
+ "t = np.linspace(0,1,11)\n",
+ "poly_coeff = np.polyfit(t, y, 2)\n",
+ "import matplotlib.pyplot as plt\n",
+ "plt.plot(t, y, 'o')\n",
+ "plt.plot(t, np.poly1d(poly_coeff)(t), '-')\n",
+ "plt.show()\n",
+ "import numpy as np\n",
+ "values = v\n",
+ "y = np.array(values)\n",
+ "t = np.linspace(0,1,11)\n",
+ "poly_coeff = np.polyfit(t, y, 2)\n",
+ "import matplotlib.pyplot as plt\n",
+ "plt.plot(t, y, 'o')\n",
+ "plt.plot(t, np.poly1d(poly_coeff)(t), '-')\n",
+ "plt.show()\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEACAYAAABcXmojAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3XmcjfX///HHyzAz2ZNIKDUYFZUWKuLIMsMISYkSfSrV\n52PGL30kVKaF1k+ytEoiWSplG2UmmfBNSYnIWKYIMUW2LGOW1+8Pp4npjBlz5pzrnDOv++3m1rW8\nr+s8u24z5zXv630toqoYY4wxAGWcDmCMMSZwWFEwxhiTx4qCMcaYPFYUjDHG5LGiYIwxJo8VBWOM\nMXm8LgoiEisiaSKySUSGFNBmrHv9ahFp6l5WV0QWi8g6EVkrIgneZjHGGOMdr4qCiIQB44FY4GKg\nl4hclK9NJ6C+qjYA+gOvuVdlAQ+q6iXANcB/8m9rjDHGv7ztKTQDNqvqFlXNAmYAXfO16QJMBlDV\nr4GqIlJTVXep6vfu5X8C64FzvcxjjDHGC94WhdrAthPmt7uXFdamzokNRKQe0BT42ss8xhhjvOBt\nUSjqMzKkoO1EpCLwITDQ3WMwxhjjkLJebr8DqHvCfF2O9wRO1aaOexkiUg6YBUxV1dmePkBE7OFM\nxhhTDKqa/w/yQnnbU1gJNBCReiISDvQE5uZrMxe4E0BErgH2qWqGiAgwEfhRVV8+1Yeoqv1TZcSI\nEY5nCJR/dizsWNixOPW/4vKqp6Cq2SIyAFgIhAETVXW9iNznXv+Gqi4QkU4ishk4BNzl3rwFcAew\nRkRWuZcNVdVPvclkjDGm+Lw9fYSqfgJ8km/ZG/nmB3jYbhl285wxxgQU+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FRAjdmyCLcizKAVcAbYHywHIR+UpVN/k0mf8V5VgMA75XVZeI\nRAEpInKZqh70cbZAdFrfm4FSFHYAdU+Yr8vxinaqNn/d8BZqinIscA8uTwBiVfVU3cdgVpRjcSUw\n43g9oDrQUUSyVHWufyL6TVGOxTZgt6oeAY6IyBLgMiDUikJRjsV1wEgAVU133wsVDaz0S8LAcdrf\nm4Fy+mgl0EBE6olIONCT4zfHnWgucCeAiFwD7NO/n70USgo9FiJyHvARcIeqbnYgo78UeixU9UJV\nvUBVL+D4uMIDIVgQoGi/I3OAliIS5n6UTHPgRz/n9IeiHIs0oB2A+xx6NPCTX1MGhtP+3gyInoKq\nZovIAGAhx68smKiq60XkPvf6N1R1gYh0EpHNwCHA001wQa8oxwJ4HDgTeM39F3KWqjZzKrOvFPFY\nlApF/B1JE5FPgTVALjBBVUOuKBTx52IUMElEVnP8j9+H1cMTE4Kd++bg1kB1EdkGjOD4acRif2/a\nzWvGGGPyBMrpI2OMMQHAioIxxpg8VhSMMcbksaJgjDEmjxUFY4wxeawoGGOMyWNFwRhjTB4rCsYY\nY/L8f6G/NIrkiT5JAAAAAElFTkSuQmCC\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x80c3f98>"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAX4AAAEACAYAAAC08h1NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAH4tJREFUeJzt3Xl0VdX99/H3lzDEEUTEAVAEFRkcaAXUthgFJIoKYhVR\nRARHauRp7a8qTllOLW39PTXRUhQUFBUHHMAgCSIh1gdRJrEICFEskxZQhgqEDN/njwQIIYHk3uSe\nO3xea2V5z7373vP1rNxPNmefs7e5OyIikjjqBV2AiIhEloJfRCTBKPhFRBKMgl9EJMEo+EVEEoyC\nX0QkwYQd/GaWambLzGyFmd1TyevNzGy6mS0ys3+Z2ZBw9ykiIqGzcK7jN7MkYDn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": [
+ "<matplotlib.figure.Figure at 0xa487c18>"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 5.16 page number 259"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "l = 6.0 #a - length of the rod\n",
+ "F = 1.0 #p - force applies in x direction \n",
+ "d = 1.0 #a \n",
+ "M = 1.0 #pa - torque applies on the rod\n",
+ "l_ab = 4.0 #a application of torque point from A\n",
+ "#M = 0 implies that\n",
+ "R_A = F/6.0 #p - The reaction at A\n",
+ "R_B = - R_A #F_Y = 0\n",
+ "\n",
+ "#Caliculations \n",
+ "\n",
+ "#Taking sections \n",
+ "#Section 1---1\n",
+ "l_1 = 1 #a - the length of the section \n",
+ "M_1 = - R_A*l_1 #M = 0\n",
+ "\n",
+ "#Section 2---2\n",
+ "l_2 = 4 #a - the length of the section \n",
+ "M_2 = - R_A*l_2 #M = 0\n",
+ "\n",
+ "l_4 = 2 #a - the length of the section \n",
+ "M_4 = 1/3.0 #pa #M = 0 '-M' because there is moment couple in between\n",
+ "\n",
+ "\n",
+ "#Section 3---3\n",
+ "l_3 = 1 #a - the length of the section \n",
+ "M_3 = 1/6.0#pa M = 0 '-M' because there is moment couple in between\n",
+ "print R_A\n",
+ "\n",
+ "#GRAPH\n",
+ "#Since the symmetry exists the graphs are also symmetry\n",
+ "%matplotlib inline\n",
+ "import math \n",
+ "from matplotlib.pyplot import plot,suptitle,xlabel,ylabel\n",
+ "#Drawing of shear and bending moment diagram\n",
+ "print \"Given problem is for drawing diagram, this diagram is drawn by step by step manner. \"\n",
+ "X = [0,1,4,4.00001,5,6] # For graph precision \n",
+ "M = [0,M_1,M_2,M_4,M_3,0];\t\t\t#Bending moment matrix\n",
+ "plot(X,M);\t\t\t#Bending moment diagram\n",
+ "suptitle( 'Shear and bending moment diagram')\n",
+ "xlabel('X axis')\n",
+ "ylabel( 'Y axis') ;\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "0.166666666667\n",
+ "Given problem is for drawing diagram, this diagram is drawn by step by step manner. \n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "display_data",
+ "png": "iVBORw0KGgoAAAANSUhEUgAAAYkAAAEhCAYAAACKklw+AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAHmxJREFUeJzt3XuYHHWZ9vHvTUIQIpCgbggSDauGMxqCiAdiKwdBfCPJ\nuiDrISIiuCq4GoTdLGR43QtMVlQOyroRdNxF8ZUlLgqRBMwIKgaQAAkJBNZk5RjJGlBwlQDP+0f9\nBjuTrpmepLurq/v+XNdcU9X9666nppO+u+rpqlJEYGZmVss2RRdgZmbtyyFhZma5HBJmZpbLIWFm\nZrkcEmZmlsshYWZmuRwSHU7SbEkrJN0laZmk16fb10rapej6hpJXp6SnmrS8b0r6qzQ9X9LezVhO\nO5D0WklH1zm2T9KBafpaSTs1tzprFyOLLsCaR9IbgWOAyRGxMb3ZbpfuDkANXt7IiHi2kc9JVudw\nbm/E8gIgIk5u0jLaxWRgCrCwjrEv/L0j4phGLFzSiIh4rhHPZc3jLYnOtiuwPiI2AkTEbyPi0ar7\nPynpl5LulrQngKTRki6XtFTSHZKmpdsnSropjf9lCiAkVSTdLOk/gXsGFiDpq5JuS1szPVW3r5XU\nU2P5L5G0KI2fzyBBJumLadwNkl6abnuVpIWSbk/19j/vNyVdKOlnkv6ramtBki6RdK+kxcBfVD1/\n9afnpyT9k6Q7Jd0i6S+qlveLtA7/JOn3NeqcmJ7/G5Luk3SFpCNTLaurtu52kfT9tNV3i6T90+09\nknrT+qyVNEPSF9IyF0oamcZNSTXfLulHknatWo/Pp9f0PklvkbQt8H+B49MW5l8PqHl7SVd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CTq5sWthtmUcEmZD\nOxlYW9WH+Cqwd42rlf0IGClpJXA+2S4nJL0VmALMjYhvA89Impke098UfBtwp6Q7gOOAC5u2NmbD\n4Ma1mZnl8paEmZnlckiYmVkuh4SZmeVySJiZWS6HhJmZ5XJImJlZLoeEmZnlckiYmVmu/w/9pUNg\nWRkRIwAAAABJRU5ErkJggg==\n",
+ "text": [
+ "<matplotlib.figure.Figure at 0x9e65940>"
+ ]
+ }
+ ],
+ "prompt_number": 150
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter6.ipynb b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter6.ipynb new file mode 100644 index 00000000..a76cd86c --- /dev/null +++ b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter6.ipynb @@ -0,0 +1,578 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:6a2b99a338c7d2a71ec20bddeaf4c19ec8da980602f4c9834a7faee562a1e5cc"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 6:Pure Bending and Bending with Axial force "
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.3 page number 293"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "#Entire area - hallow area\n",
+ "l_e = 60.0 #mm - length of the entire area\n",
+ "b_e = 40 #mm - width of the entire area\n",
+ "l_h = 30 #mm - length of the hallow area\n",
+ "b_h = 20 #mm - width of the hallow area\n",
+ "A_e = l_e*b_e #mm2 - The entire area\n",
+ "A_h = -l_h*b_h #mm2 - The hallow area '-' because its hallow\n",
+ "A_re = A_e + A_h #mm2 resultant area\n",
+ "y_e = l_e/2 # mm com from bottom \n",
+ "y_h = 20+l_h/2 #mm com from bottom \n",
+ "y_com = (A_e*y_e + A_h*y_h)/A_re \n",
+ "#moment of inertia caliculatins - bh3/12 +ad2\n",
+ "I_e = b_e*(l_e**3)/12 + A_e*((y_e-y_com)**2) #Parallel axis theorm\n",
+ "I_h = b_h*(l_h**3)/12 - A_h*((y_h-y_com)**2) #Parallel axis theorm\n",
+ "I_total = I_e - I_h\n",
+ "print \"The moment of inertia of total system is \",I_total,\"mm4\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The moment of inertia of total system is 655000.0 mm4\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.4 page number 295"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "l = 400 #mm - Length \n",
+ "b = 300 #mm - breath \n",
+ "F = 20 #KN _ the force applied on the beam \n",
+ "F_d = 0.75 #KN-m - The force distribution \n",
+ "d = 2 #mt - the point of interest from the free end\n",
+ "#caliculations \n",
+ "#From moment diagram\n",
+ "M = F*d - F_d*d*1\n",
+ "I = b*(l**3)/12 #mm4 - Bending moment diagram \n",
+ "c = l/2 # the stress max at this C\n",
+ "S = I/c #The maximum shear stress \n",
+ "shear_max = M*(10**6)/S #MPA - the maximum stress \n",
+ "print \"The maximum stress at 2 mt is\",round(shear_max,2),\"Mpa\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum stress at 2 mt is 4.81 Mpa\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.5 pagr number 297"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "#We will divide this into three parts\n",
+ "F = 8 #k - force applied\n",
+ "d = 16 #inch -distance\n",
+ "l_1 = 1 #in \n",
+ "l_2 = 3 #in \n",
+ "b_1 = 4 #in \n",
+ "b_2 = 1 #in\n",
+ "A_1 = l_1* b_1 #in2 - area of part_1\n",
+ "y_1 = 0.5 #in com distance from ab\n",
+ "A_2 =l_2*b_2 #in2 - area of part_1\n",
+ "y_2 = 2.5 #in com distance from ab\n",
+ "A_3 = l_2*b_2 #in2 - area of part_1\n",
+ "y_3 = 2.5 #in com distance from ab\n",
+ "\n",
+ "y_net = (A_1*y_1 +A_2*y_2 + A_3*y_3)/(A_1+A_2+A_3) #in - The com of the whole system\n",
+ "c_max = (4-y_net) #in - The maximum distace from com to end\n",
+ "c_min = y_net #in - the minimum distance from com to end\n",
+ "I_1 = b_1*(l_1**3)/12 + A_1*((y_1-y_net)**2) #Parallel axis theorm\n",
+ "I_2 = b_2*(l_2**3)/12 + A_2*((y_2-y_net)**2)\n",
+ "I_3 = b_2*(l_2**3)/12 + A_2*((y_2-y_net)**2)\n",
+ "I_net = I_1 + I_2 + I_3 #in4 - the total moment of inertia\n",
+ "M_c = F*d*c_max \n",
+ "stress_cmax = M_c/I_net #Ksi - The maximum compressive stress\n",
+ "\n",
+ "M_t= F*d*c_min \n",
+ "stress_tmax = M_t/I_net #Ksi - The maximum tensile stress\n",
+ "print \"The maximum tensile stress\",stress_tmax ,\"Ksi\"\n",
+ "print \"The maximum compressive stress\",round(stress_cmax,1) ,\"Ksi\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum tensile stress 16.0 Ksi\n",
+ "The maximum compressive stress 21.6 Ksi\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.8 page number 303"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "#Given \n",
+ "#We will divide this into two parts\n",
+ "E_w = 10.0 #Gpa - Youngs modulus of wood\n",
+ "E_s = 200.0 #Gpa - Youngs modulus of steel\n",
+ "M = 30.0 #K.N-m _ applied bending moment \n",
+ "n = E_s/E_w \n",
+ "l_1 = 250 #mm \n",
+ "l_2 = 10 #mm\n",
+ "b_1 = 150.0 #mm\n",
+ "b_2 = 150.0*n #mm\n",
+ "A_1 = l_1* b_1 #mm2 - area of part_1\n",
+ "y_1 = 125.0 #mm com distance from top\n",
+ "A_2 =l_2*b_2 #mm2 - area of part_1\n",
+ "y_2 = 255.0 #mm com distance from top\n",
+ "y_net = (A_1*y_1 +A_2*y_2)/(A_1+A_2) #mm - The com of the whole system from top\n",
+ "I_1 = b_1*(l_1**3)/12.0 + A_1*((y_1-y_net)**2) #Parallel axis theorm\n",
+ "I_2 = b_2*(l_2**3)/12.0 + A_2*((y_2-y_net)**2)\n",
+ "I_net = I_1 + I_2 #mm4 - the total moment of inertia\n",
+ "c_s= y_net # The maximum distance in steel \n",
+ "stress_steel = M*(10.0**6)*c_s/I_net #Mpa - The maximum stress in steel \n",
+ "\n",
+ "c_w= l_1+l_2-y_net # The maximum distance in wood \n",
+ "stress_wood = n*M*(10.0**6)*c_w/I_net #MPa - The maximum stress in wood \n",
+ "\n",
+ "print \"The maximum stress in steel \",round(stress_steel,2) ,\"Mpa\"\n",
+ "print \"The maximum stress in wood\",round(stress_wood,2) ,\"Mpa\" \n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum stress in steel 11.49 Mpa\n",
+ "The maximum stress in wood 97.09 Mpa\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.9 page number 305"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "M = 50000 #ft-lb , positive bending moment applied\n",
+ "N = 9 # number of steel bars \n",
+ "n = 15 # The ratio of steel to concrete \n",
+ "A_s = 30 #in2 area of steel in concrete\n",
+ "#(10*y)*(y/2) = 30*(20-y)\n",
+ "#y**2 + 6*y -120\n",
+ "#solving quadractic equation \n",
+ "import math\n",
+ "\n",
+ "a = 1\n",
+ "b = 6\n",
+ "c = -120\n",
+ "# calculate the discriminant\n",
+ "d = (b**2) - (4*a*c)\n",
+ "\n",
+ "# find two solutions\n",
+ "sol1 = (-b-math.sqrt(d))/(2*a)\n",
+ "sol2 = (-b+math.sqrt(d))/(2*a)\n",
+ "y = sol2 # Nuetral axis is found\n",
+ "l_1 = y #in- the concrete below nuetral axis is not considered\n",
+ "b_1 = 10 #in - width\n",
+ "A_1 = l_1* b_1 #in2 - area of concrete\n",
+ "y_1 = y/2 #in com of the concrete \n",
+ "y_2 = 20-y #in com of the transformed steel \n",
+ "I_1 = b_1*(l_1**3)/12.0 + A_1*((y_1-y)**2) #in4 parallel axis theorm\n",
+ "I_2 = A_s*((y_2)**2) #in4 first part is neglected\n",
+ "I_net = I_1 + I_2 #in4 - the total moment of inertia\n",
+ "c_c= y #in The maximum distance in concrete \n",
+ "stress_concrete = M*12*c_c/I_net #psi - The maximum stress in concrete \n",
+ "c_s= 20- y \n",
+ "stress_steel =n*M*12*c_s/I_net #psi - The maximum stress in concrete \n",
+ "print \"The maximum stress in concrete \",round(stress_concrete,2) ,\"psi\"\n",
+ "print \"The stress in steel\",round(stress_steel,2) ,\"psi\"\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum stress in concrete 834.07 psi\n",
+ "The stress in steel 17427.61 psi\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "example 6.10 page number 309"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "l = 50.0 #mm - the length of the beam \n",
+ "b = 50.0 #mm - the width of the beam\n",
+ "M = 2083 #Nm\n",
+ "A = l*b #mm2 - The area \n",
+ "#straight beam \n",
+ "I = b*(l**3)/12.0 #mm4 - The moment of inertia of the beam\n",
+ "c_1= l/2 # the distance where the stress is maximum \n",
+ "c_2 = -l/2 # the distance where the stress is maximum \n",
+ "s_1 = I/c_1\n",
+ "s_2 = I/c_2\n",
+ "stress_max_1 = M*(10**3)/s_1 #Mpa - the maximum strss recorded in the crossection\n",
+ "stress_max_2 = M*(10**3)/s_2 #Mpa - the maximum strss recorded in the crossection \n",
+ "print \"The maximum stress upward in straight case is\",stress_max_1,\"Mpa\"\n",
+ "print \"The maximum stress downward in straight case is\",stress_max_2,\"Mpa\"\n",
+ "\n",
+ "#curved beam \n",
+ "import math\n",
+ "r = 250.0 #mm Radius of beam curved \n",
+ "r_0 = r - l/2 # inner radius \n",
+ "r_1 = r + l/2 # outer radius\n",
+ "R = l/(math.log(r_1/r_0)) #mm \n",
+ "e = r - R \n",
+ "stressr_max_1 = M*(10**3)*(R-r_0)/(r_0*A*e)\n",
+ "stressr_max_2 = M*(10**3)*(R-r_1)/(r_1*A*e)\n",
+ "print \"The maximum stress upward in curved case is\",stressr_max_1,\"Mpa\"\n",
+ "print \"The maximum stress downward in curved case is\",stressr_max_2,\"Mpa\"\n",
+ "\n",
+ "#curved beam _2 \n",
+ "import math\n",
+ "r = 75.0 #mm Radius of beam curved \n",
+ "r_0 = r - l/2 # inner radius \n",
+ "r_1 = r + l/2 # outer radius\n",
+ "R = l/(math.log(r_1/r_0)) #mm \n",
+ "e = r - R \n",
+ "stressr_max_1 = M*(10**3)*(R-r_0)/(r_0*A*e)\n",
+ "stressr_max_2 = M*(10**3)*(R-r_1)/(r_1*A*e)\n",
+ "print \"The maximum stress upward in curved case2 is\",stressr_max_1,\"Mpa\"\n",
+ "print \"The maximum stress downward in curved case2 is\",stressr_max_2,\"Mpa\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum stress upward in straight case is 99.984 Mpa\n",
+ "The maximum stress downward in straight case is -99.984 Mpa\n",
+ "The maximum stress upward in curved case is 107.093207632 Mpa\n",
+ "The maximum stress downward in curved case is -93.6813516989 Mpa\n",
+ "The maximum stress upward in curved case2 is 128.733538525 Mpa\n",
+ "The maximum stress downward in curved case2 is -81.0307692623 Mpa\n"
+ ]
+ }
+ ],
+ "prompt_number": 31
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Page number 6.14 page number 318"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given \n",
+ "#from example 6.9\n",
+ "St_ul = 2500 #psi - ultimate strength\n",
+ "st_yl = 40000 #psi _ yielding strength \n",
+ "b = 10 #in - width from example \n",
+ "A = 2 #in2 The area of the steel\n",
+ "d = 20 \n",
+ "t_ul = st_yl*A #ultimate capasity\n",
+ "y = t_ul/(St_ul*b*0.85) #in 0.85 because its customary\n",
+ "M_ul = t_ul*(d-y/2)/12 #ft-lb Plastic moment \n",
+ "print \"The plastic moment of the system is \",M_ul,\"ft-lb\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The plastic moment of the system is 120784.313725 ft-lb\n"
+ ]
+ }
+ ],
+ "prompt_number": 35
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.15 page number 231"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "#From example 5.8 \n",
+ "W = 4.0 #N/m - The force distribution \n",
+ "L = 3 # m - The length of the force applied\n",
+ "M = W*L/8.0 # KN.m The moment due to force distribution\n",
+ "o = 30 # the angle of force applid to horizantal\n",
+ "l = 150.0 #mm length of the crossection \n",
+ "b = 100.0 #mm - width of the crossection \n",
+ "import math \n",
+ "M_z = M*(math.cos(3.14/6))\n",
+ "M_y = M*(math.sin(math.pi/6))\n",
+ "I_z = b*(l**3)/12.0\n",
+ "I_y = l*(b**3)/12.0\n",
+ "#tanb = I_z /I_y *tan30\n",
+ "b = math.atan(math.radians(I_z*math.tan(3.14/6.0)/I_y ))\n",
+ "print \"The angle at which nuetral axis locates is\",b,\"radians\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The angle at which nuetral axis locates is 0.0226547191205 radians\n"
+ ]
+ }
+ ],
+ "prompt_number": 50
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.16 pagenumber 323"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "M = 10 #KN.m - The moment applied\n",
+ "I_max = 23.95*(10**6) #mm4 - I_z The moment of inertia\n",
+ "I_min = 2.53*(10**6) #mm4 - I_y The moment of inertia\n",
+ "o = 14.34 # degress the principle axis rotated\n",
+ "#Coponents of M in Y,Z direction \n",
+ "M_z = M*(10**6)*math.cos(math.radians(o))\n",
+ "M_y = M*(10**6)*math.sin(math.radians(o))\n",
+ "#tanb = I_z /I_y *tan14.34\n",
+ "b = math.atan((I_max*math.tan(math.radians(o))/I_min ))\n",
+ "B = math.degrees(b) \n",
+ "y_p = 122.9 # mm - principle axis Y cordinate\n",
+ "z_p = -26.95 #mm - principle axis z cordinate\n",
+ "stress_B = - M_z*y_p/I_max + M_y*z_p/I_min #Mpa - Maximum tensile stress\n",
+ "y_f = -65.97 # mm - principle axis Y cordinate\n",
+ "z_f = 41.93 #mm - principle axis z cordinate\n",
+ "stress_f = - M_z*y_f/I_max + M_y*z_f/I_min #Mpa - Maximum compressive stress\n",
+ "print \"The maximum tensile stress\",round(stress_B,2) ,\"Mpa\"\n",
+ "print \"The maximum compressive stress\",round(stress_f,2),\"Mpa\"\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum tensile stress -76.1 Mpa\n",
+ "The maximum compressive stress 67.73 Mpa\n"
+ ]
+ }
+ ],
+ "prompt_number": 83
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.18 page number 328"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "l = 50 #mm - The length of the beam \n",
+ "b = 50 #mm - The width of the beam \n",
+ "A = l*b #mm2 - The area of the beam \n",
+ "p = 8.33 #KN - The force applied on the beam \n",
+ "stress_max = p*(10**3)/A #Mpa After cutting section A--b\n",
+ "print \"The maximum stress in the beam\",stress_max ,\"Mpa \""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum stress in the beam 3.332 Mpa \n"
+ ]
+ }
+ ],
+ "prompt_number": 51
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 6.24 page number 339"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "M = 10 #KN.m - The moment applied\n",
+ "I_max = 23.95*(10**6) #mm4 - I_z The moment of inertia\n",
+ "I_min = 2.53*(10**6) #mm4 - I_y The moment of inertia\n",
+ "o = 14.34 # degress the principle axis rotated\n",
+ "#Coponents of M in Y,Z direction \n",
+ "M_z = M*(10**6)*math.cos(math.radians(o))\n",
+ "M_y = M*(10**6)*math.sin(math.radians(o))\n",
+ "#tanb = I_z /I_y *tan14.34\n",
+ "b = math.atan((I_max*math.tan(math.radians(o))/I_min ))\n",
+ "B = math.degrees(b) \n",
+ "y_p = 122.9 # mm - principle axis Y cordinate\n",
+ "z_p = -26.95 #mm - principle axis z cordinate\n",
+ "stress_B = - M_z*y_p/I_max + M_y*z_p/I_min #Mpa - Maximum tensile stress\n",
+ "y_f = -65.97 # mm - principle axis Y cordinate\n",
+ "z_f = 41.93 #mm - principle axis z cordinate\n",
+ "stress_f = - M_z*y_f/I_max + M_y*z_f/I_min #Mpa - Maximum compressive stress\n",
+ "#location of nuetral axis To show these stresses are max and minimum \n",
+ "#tanB = MzI_z + MzI_yz/MyI_y +M_YI_yz\n",
+ "I_z = 22.64 *(10**6) #mm4 moment of inertia in Z direction\n",
+ "I_y = 3.84 *(10**6) #mm4 moment of inertia in Y direction\n",
+ "I_yz =5.14 *(10**6) #mm4 moment of inertia in YZ direction \n",
+ "M_y = M #KN.m bending moment in Y dorection \n",
+ "M_z = M #KN.m bending moment in Y dorection \n",
+ "B = math.atan(( M_z*I_yz)/(M_z*I_y )) #radians location on neutral axis\n",
+ "beta = math.degrees(B)\n",
+ "print \"By sketching the line with angle\",round(beta,1),\"degrees The farthest point associated with B and F\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "By sketching the line with angle 53.2 degrees The farthest point associated with B and F\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter7.ipynb b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter7.ipynb new file mode 100644 index 00000000..05e3cf36 --- /dev/null +++ b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter7.ipynb @@ -0,0 +1,260 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:88c8946645e4f3f31d0d74d88b4d147ad878a660c1c0e5aff6962c72b58f187c"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "chapter 4:Shear stress in Beams and Related Problems "
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.1 page number 365"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "shear_v = 3000 #N - Transmitted vetical shear \n",
+ "shear_al = 700 #N - The maximum allowable \n",
+ "#We will divide this into two parts\n",
+ "l_1 = 50.0 #mm \n",
+ "l_2 = 200.0 #mm \n",
+ "b_1 = 200.0 #mm \n",
+ "b_2 = 50.0 #mm\n",
+ "A_1 = l_1* b_1 #mm2 - area of part_1\n",
+ "y_1 = 25.0 #mm com distance \n",
+ "A_2 =l_2*b_2 #mm2 - area of part_1\n",
+ "y_2 = 150.0 #in com distance \n",
+ "y_net = (A_1*y_1 +A_2*y_2)/(A_1+A_2) #mm - The com of the whole system\n",
+ "c_max = (4-y_net) #mm - The maximum distace from com to end\n",
+ "c_min = y_net #mm - the minimum distance from com to end\n",
+ "I_1 = b_1*(l_1**3)/12 + A_1*((y_1-y_net)**2) #Parallel axis theorm\n",
+ "I_2 = b_2*(l_2**3)/12 + A_2*((y_2-y_net)**2)\n",
+ "I_net = I_1 + I_2 #mm4 - the total moment of inertia\n",
+ "Q = A_1*(-y_1+y_net) #mm3\n",
+ "q = shear_v*Q/I_net #N/mm - Shear flow\n",
+ "d = shear_al/q # The space between the nails \n",
+ "print \"The minimal space between the nails \",round(d,0) ,\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The minimal space between the nails 42.0 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.2 pagenumber 365"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "l = 6 #m -length of the beam \n",
+ "p = 3 #KN-m _ the load applied\n",
+ "R_a = l*p/2 #KN -The reaction at a, Since the system is symmetry \n",
+ "R_b = l*p/2 #KN -The reaction at b \n",
+ "l_s = 10 #mm - The length of the screw \n",
+ "shear_al = 2 #KN - The maximum load the screw can take \n",
+ "I = 2.36*(10**9) #mm2 The moment of inertia of the whole system\n",
+ "#We will divide this into two parts\n",
+ "l_1 = 50.0 #mm \n",
+ "l_2 = 50.0 #mm \n",
+ "b_1 = 100.0 #mm \n",
+ "b_2 = 200.0 #mm\n",
+ "A_1 = l_1* b_1 #in2 - area of part_1\n",
+ "y_1 = 200.0 #mm com distance \n",
+ "A_2 =l_2*b_2 #mm2 - area of part_1\n",
+ "y_2 = 225.0 #in com distance\n",
+ "Q = 2*A_1*y_1 + A_2*y_2 # mm3 For the whole system\n",
+ "q = R_a*Q*(10**3)/I #N/mm The shear flow \n",
+ "d = shear_al*(10**3)/q #mm The space between the nails\n",
+ "print \"The minimal space between the nails \",round(d,0),\"mm\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The minimal space between the nails 123.0 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.6 page number 376"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "#we will divide this into two equal parts and other part\n",
+ "l = 10.0 # in - The height \n",
+ "t = 0.1 # in - The width\n",
+ "b = 5.0 #mm- The width of the above part \n",
+ "A = t* b #in2 - area of part\n",
+ "y_net = l/2 # The com of the system \n",
+ "y_1 = l # The position of teh com of part_2\n",
+ "I_1 = t*(l**3)/12 #in4 The moment of inertia of part 1\n",
+ "I_2 = 2*A*((y_1-y_net)**2) #in4 The moment of inertia of part 2 \n",
+ "I = I_1 + I_2 #in4 The moment of inertia \n",
+ "e = (b**2)*(l**2)*t/(4*I) #in the formula of channels\n",
+ "l_sc = e - t/2 #in- The shear centre \n",
+ "print \"The shear centre from outside vertical face is \",l_sc ,\"in\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The shear centre from outside vertical face is 1.825 in\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.8 page number 387"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "dia = 10.0 #mm - The diameter of the cylinder \n",
+ "c = dia/2 #mm - the radius of the cylinder \n",
+ "A = 3.14*(c**2) #mm2 The area of the crossection \n",
+ "y = 4*c/(3*3.14) #mm The com of cylinder \n",
+ "I = 3.14*(c**4)/4 #mm4 - The moment of inertia of the cylinder\n",
+ "j = 3.14*(dia**4)/32 #mm4\n",
+ "T = 20.0 #N.m - The torque \n",
+ "V = 250.0 #N - The shear \n",
+ "M = 25.0 #N-m The bending moment \n",
+ "Q = A*y/2 #mm\n",
+ "stress_dmax = 4*V/(3*A) #V*Q/(I*d) #Mpa The direct maximum stress\n",
+ "stress_tmax = T*c*(10**3)/j #-Mpa The torsion maximum stress\n",
+ "stress_total = stress_dmax + stress_tmax #Mpa The total stress\n",
+ "print \"The direct maximum stress\",round(stress_dmax,2),\"Mpa\"\n",
+ "print \"The torsion maximum stress\",round(stress_tmax,2),\"Mpa\"\n",
+ "print \"The total stress\",round(stress_total,2),\"Mpa\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ " The direct maximum stress 4.25 Mpa\n",
+ "The torsion maximum stress 101.91 Mpa\n",
+ "The total stress 106.16 Mpa\n"
+ ]
+ }
+ ],
+ "prompt_number": 38
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.9 page number 393"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "dia = 15 #mm - The diameter of the rod\n",
+ "h = 0.5 #mt - The freely falling height \n",
+ "A = 3.14*(dia**2)/4 #mm2 The area of the crossection\n",
+ "E = 200 #Gpa -Youngs modulus\n",
+ "L = 750 #mm - The total length of the rod\n",
+ "G = 80 #gpa - Shear modulus \n",
+ "N = 10 #number of live coils\n",
+ "d = 5 #mm the diameter of live coil \n",
+ "m = 3 # the mass of freely falling body\n",
+ "H = 500 #mm -from mass to spring \n",
+ "F= m*9.81 #Kg the force due to that mass\n",
+ "#e = e_rod + e_spr\n",
+ "#e_rod\n",
+ "e_rod = p*L*(10**-3)/(A*E) #mm The elongation due to freely falling body\n",
+ "#e_spr\n",
+ "e_spr = 64*F*(dia**3)*N*(10**-3)/(G*(d**4)) #mm The elongation due to spring\n",
+ "e = e_rod + e_spr #mm The total elongation \n",
+ "p_dyn =F*(1+pow((1+(2*H/e)),0.5))\n",
+ "Stress_max = p_dyn/A #MPa - The maximum stress in the system \n",
+ "print \"The maximum stress in the system \",round(Stress_max,2),\"Mpa\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum stress in the system 4.84 Mpa\n"
+ ]
+ }
+ ],
+ "prompt_number": 43
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter8.ipynb b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter8.ipynb new file mode 100644 index 00000000..fb95b611 --- /dev/null +++ b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter8.ipynb @@ -0,0 +1,332 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:bed4afe1f989fb55f213b8e274b88cbf3d61242768410ad03d4984a97542fc14"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 8:Transformation of stress and strain and Yield and Fracture criteria "
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.1 page number 405 "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "o = 22.5 #degrees , The angle of infetisimal wedge \n",
+ "A = 1 #mm2 The area of the element \n",
+ "A_ab = 1*(math.cos(radians(o))) #mm2 - The area corresponds to AB\n",
+ "A_bc = 1*(math.sin(radians(o))) #mm2 - The area corresponds to BC\n",
+ "S_1 = 3 #MN The stresses applying on the element \n",
+ "S_2 = 2 #MN\n",
+ "S_3 = 2 #MN\n",
+ "S_4 = 1 #MN \n",
+ "F_1 = S_1*A_ab # The Forces obtained by multiplying stress by their areas \n",
+ "F_2 = S_2*A_ab\n",
+ "F_3 = S_3*A_bc\n",
+ "F_4 = S_4*A_bc\n",
+ "#sum of F_N = 0 equilibrim in normal direction \n",
+ "N = (F_1-F_3)*(math.cos(radians(o))) + (F_4 - F_2)*(math.sin(radians(o)))\n",
+ "\n",
+ "#sum of F_s = 0 equilibrim in tangential direction \n",
+ "\n",
+ "S = (F_2-F_4)*(math.cos(radians(o))) + (F_1 - F_3)*(math.sin(radians(o)))\n",
+ "\n",
+ "Stress_Normal = N/A #Mpa - The stress action in normal direction on AB\n",
+ "Stress_tan = S/A #Mpa - The stress action in tangential direction on AB\n",
+ "print \"The stress action in normal direction on AB\",round(Stress_Normal,2),\"Mpa\"\n",
+ "print \"The stress action in tangential direction on AB\",round(Stress_tan,2),\"Mpa\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The stress action in normal direction on AB 1.29 Mpa\n",
+ "The stress action in tangential direction on AB 2.12 Mpa\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.2 page number 413"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "o = -22.5 #degrees , The angle of infetisimal wedge \n",
+ "A = 1 #mm2 The area of the element \n",
+ "A_ab = 1*(math.cos(radians(o))) #mm2 - The area corresponds to AB\n",
+ "A_bc = 1*(math.sin(radians(o))) #mm2 - The area corresponds to BC\n",
+ "S_1 = 3.0 #MN The stresses applying on the element \n",
+ "S_2 = 2.0 #MN\n",
+ "S_3 = 2.0 #MN\n",
+ "S_4 = 1.0 #MN\n",
+ "#Caliculations \n",
+ "\n",
+ "F_1 = S_1*A_ab # The Forces obtained by multiplying stress by their areas \n",
+ "F_2 = S_2*A_ab\n",
+ "F_3 = S_3*A_bc\n",
+ "F_4 = S_4*A_bc\n",
+ "#sum of F_N = 0 equilibrim in normal direction \n",
+ "N = (F_1-F_3)*(math.cos(radians(o))) + (F_4 - F_2)*(math.sin(radians(o)))\n",
+ "\n",
+ "#sum of F_s = 0 equilibrim in tangential direction \n",
+ "\n",
+ "S = (F_2-F_4)*(math.cos(radians(o))) + (F_1 - F_3)*(math.sin(radians(o)))\n",
+ "\n",
+ "Stress_Normal = N/A #Mpa - The stress action in normal direction on AB\n",
+ "Stress_tan = S/A #Mpa - The stress action in tangential direction on AB\n",
+ "print \"a) The stress action in normal direction on AB\",round(Stress_Normal,2),\"Mpa\"\n",
+ "print \"a) The stress action in tangential direction on AB\",round(Stress_tan,2),\"Mpa\"\n",
+ "\n",
+ "#Part- b\n",
+ "\n",
+ "S_max = (S_4+S_1)/2 + (((((S_4-S_1)/2)**2) + S_3**2)**0.5) #Mpa - The maximum stress\n",
+ "S_min = (S_4+S_1)/2.0 - (((((S_4-S_1/2))**2) + S_3**2)**0.5) #Mpa - The minumum stress\n",
+ "k = 0.5*math.atan(S_3/((S_1-S_4)/2)) #radians The angle of principle axis\n",
+ "k_1 = math.degrees(k)\n",
+ "k_2 = k_1+90 #The principle plane angles\n",
+ "print \"b) The principle stress \",round(S_max,1),\"Mpa tension\"\n",
+ "print \"b) The principle stress \",round(S_min,2),\"Mpa compression\"\n",
+ "print \"b) The principle plane angles are\",round(k_1,0),\",\",round(k_2,0),\"degrees\"\n",
+ "\n",
+ "#part-c\n",
+ "#The maximum shear stress case\n",
+ "t_xy = (((((S_4-S_1)/2)**2) + S_3**2)**0.5) #Mpa - The maximum shear stress case\n",
+ "K = 0.5*math.atan((-(S_1-S_4)/(2*S_3))) #radians The angle of principle axis\n",
+ "K_0 = math.degrees(K)\n",
+ "if K_0<0:\n",
+ " K_1 = K_0+90\n",
+ "else:\n",
+ " K_1 = K_0\n",
+ "K_2 = K_1+90 #PRinciple plain angles\n",
+ "T_xy = -((S_1-S_4)/2)*(math.sin(radians(2*K_1))) + ((S_4+S_1)/2)*(math.cos(radians(2*K_1))) # Shear stress\n",
+ "print \"c) The maximum shear is \",round(T_xy,2),\"Mpa\" \n",
+ "S_mat_a = array([round(S_max,1),round(S_min,1),0]) #MPa maximum stress matrix\n",
+ "S_mat_b = array([(S_4+S_1)/2,round(T_xy,2),round(T_xy,2),(S_4+S_1)/2]) #MPa maximum stress matrix at maximum shear\n",
+ "print \"a)\",S_mat_a,\"Mpa\"\n",
+ "print \"b)\",S_mat_b,\"Mpa\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a) The stress action in normal direction on AB 4.12 Mpa\n",
+ "a) The stress action in tangential direction on AB 0.71 Mpa\n",
+ "b) The maximum stress 4.2 Mpa tension\n",
+ "b) The minumum stress -0.06 Mpa compression\n",
+ "b) The principle plane angles are 32.0 , 122.0 degrees\n",
+ "c) The maximum shear is -2.24 Mpa\n",
+ "a) [ 4.2 -0.1 0. ] Mpa\n",
+ "b) [ 2. -2.24 -2.24 2. ] Mpa\n"
+ ]
+ }
+ ],
+ "prompt_number": 58
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.3 page number 421"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "S_x = -2 #Mpa _ the noraml stress in x direction\n",
+ "S_y = 4 #Mpa _ the noraml stress in Y direction\n",
+ "c = (S_x + S_y)/2 #Mpa - The centre of the mohr circle \n",
+ "point_x = -2 #The x coordinate of a point on mohr circle\n",
+ "point_y = 4 #The y coordinate of a point on mohr circle\n",
+ "Radius = pow((point_x-c)**2 + point_y**2,0.5) # The radius of the mohr circle\n",
+ "S_1 = Radius +1#MPa The principle stress\n",
+ "S_2 = -Radius +1 #Mpa The principle stress\n",
+ "S_xy_max = Radius #Mpa The maximum shear stress\n",
+ "print \"The principle stresses are\",S_1 ,\"Mpa\",S_2,\"Mpa\"\n",
+ "print \"The maximum shear stress\",S_xy_max,\"Mpa\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The principle stresses are 6.0 Mpa -4.0 Mpa\n",
+ "The maximum shear stress 5.0 Mpa\n"
+ ]
+ }
+ ],
+ "prompt_number": 61
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.4 page number 423"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "import math \n",
+ "S_x = 3.0 #Mpa _ the noraml stress in x direction\n",
+ "S_y = 1.0 #Mpa _ the noraml stress in Y direction\n",
+ "c = (S_x + S_y)/2 #Mpa - The centre of the mohr circle \n",
+ "point_x = 1 #The x coordinate of a point on mohr circle\n",
+ "point_y = 3 #The y coordinate of a point on mohr circle\n",
+ "#Caliculations \n",
+ "\n",
+ "Radius = pow((point_x-c)**2 + point_y**2,0.5) # The radius of the mohr circle\n",
+ "#22.5 degrees line is drawn \n",
+ "o = 22.5 #degrees \n",
+ "a = 71.5 - 2*o #Degrees, from diagram \n",
+ "stress_n = c + Radius*math.sin(math.degrees(o)) #Mpa The normal stress on the plane \n",
+ "stress_t = Radius*math.cos(math.degrees(o)) #Mpa The tangential stress on the plane\n",
+ "print \"The normal stress on the 221/2 plane \",round(stress_n,2),\"Mpa\"\n",
+ "print \"The tangential stress on the 221/2 plane \",round(stress_t,2),\"Mpa\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The normal stress on the 221/2 plane 4.82 Mpa\n",
+ "The tangential stress on the 221/2 plane 1.43 Mpa\n"
+ ]
+ }
+ ],
+ "prompt_number": 84
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.7 page number 437"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "e_x = -500 #10-6 m/m The contraction in X direction\n",
+ "e_y = 300 #10-6 m/m The contraction in Y direction\n",
+ "e_xy = -600 #10-6 m/m discorted angle\n",
+ "centre = (e_x + e_y)/2 #10-6 m/m \n",
+ "point_x = -500 #The x coordinate of a point on mohr circle\n",
+ "point_y = 300 #The y coordinate of a point on mohr circle\n",
+ "Radius = 500 #10-6 m/m - from mohr circle\n",
+ "e_1 = Radius +centre #MPa The principle strain\n",
+ "e_2 = -Radius +centre #Mpa The principle strain\n",
+ "k = math.atan(300.0/900) # from geometry\n",
+ "k_1 = math.degrees(k)\n",
+ "print \"The principle strains are\",e_1,\"um/m\",e_2,\"um/m\"\n",
+ "print \"The angle of principle plane\",round(k_1,2) ,\"degrees\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The principle strains are 400 um/m -600 um/m\n",
+ "The angle of principle plane 18.43 degrees\n"
+ ]
+ }
+ ],
+ "prompt_number": 87
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 8.8 page number 441"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "e_0 = -500 #10-6 m/m \n",
+ "e_45 = 200 #10-6 m/m \n",
+ "e_90 = 300 #10-6 m/m\n",
+ "E = 200 #Gpa - youngs modulus of steel \n",
+ "v = 0.3 # poissions ratio \n",
+ "#Caliculations \n",
+ "\n",
+ "e_xy = 2*e_45 - (e_0 +e_90 ) #10-6 m/m from equation 8-40 in text\n",
+ "# from example 8.7\n",
+ "e_x = -500 #10-6 m/m The contraction in X direction\n",
+ "e_y = 300 #10-6 m/m The contraction in Y direction\n",
+ "e_xy = -600 #10-6 m/m discorted angle\n",
+ "centre = (e_x + e_y)/2 #10-6 m/m \n",
+ "point_x = -500 #The x coordinate of a point on mohr circle\n",
+ "point_y = 300 #The y coordinate of a point on mohr circle\n",
+ "Radius = 500 #10-6 m/m - from mohr circle\n",
+ "e_1 = Radius +centre #MPa The principle strain\n",
+ "e_2 = -Radius +centre #Mpa The principle strain\n",
+ "\n",
+ "stress_1 = E*(10**-3)*(e_1+v*e_2)/(1-v**2) #Mpa the stress in this direction \n",
+ "stress_2 = E*(10**-3)*(e_2+v*e_1)/(1-v**2) #Mpa the stress in this direction \n",
+ "print\"The principle stresses are \",round(stress_1,2),\"Mpa\",round(stress_2,2),\"MPa\" "
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The principle stresses are 48.35 Mpa -105.49 MPa\n"
+ ]
+ }
+ ],
+ "prompt_number": 91
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter9.ipynb b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter9.ipynb new file mode 100644 index 00000000..64ddecc8 --- /dev/null +++ b/Engineering_Mechanics_of_Solids_by_Popov_E_P/chapter9.ipynb @@ -0,0 +1,246 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:cfde82eb2eac726301e92e1b27c27d3628db6f9b0e8b5d7b0cd15017ca0006f7"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 9:Elastic stress analysis and design"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.4 pagenumber 465"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given \n",
+ "b = 40.0 #mm - The width of the beam crossection\n",
+ "h = 300.0 #mm - The length of the beam crossection \n",
+ "V = 40.0 #KN - The shear stress in teh crossection\n",
+ "M = 10.0 #KN-m - The bending moment on K----K crossection \n",
+ "c = h/2 #mm -The position at which maximum stress occurs on the crossection\n",
+ "I = b*(h**3)/12 #mmm4 - the moment of inertia \n",
+ "#Caliculations \n",
+ "\n",
+ "stress_max_1 = M*c*(10**6)/I #The maximum stress occurs at the end\n",
+ "stress_max_2 = -M*c*(10**6)/I #The maximum stress occurs at the end\n",
+ "y = 140 #mm The point of interest, the distance of element from com\n",
+ "n = y/(c) # The ratio of the distances from nuetral axis to the elements\n",
+ "stress_L_1 = n*stress_max_1 #The normal stress on elements L--L\n",
+ "stress_L_2 = -n*stress_max_1 #The normal stress on elements L--L\n",
+ "x = 10 #mm The length of the element\n",
+ "A = b*x #mm3 The area of the element \n",
+ "y_1 = y+x/2 # the com of element from com of whole system\n",
+ "stress_xy = V*A*y_1*(10**3)/(I*b) #Mpa - The shear stress on the element \n",
+ "#stresses acting in plane 30 degrees \n",
+ "o = 60 #degrees - the plane angle\n",
+ "stress_theta = stress_L_1/2 + stress_L_1*(math.cos(math.radians(o)))/2 - stress_xy*(math.sin(math.radians(o))) #Mpa by direct application of equations\n",
+ "stress_shear = -stress_L_1*(math.sin(math.radians(o)))/2 - stress_xy*(math.cos(math.radians(o))) #Mpa Shear stress\n",
+ " \n",
+ "print \"a)The principle stresses are \",round(stress_max_1,2),\"MPa,\",round(stress_max_2,2),\"Mpa\"\n",
+ "print \"b)The stresses on inclines plane \",round(stress_theta,2),\"Mpa noraml, \",round(stress_shear,2),\"Mpa shear \""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "a)The principle stresses are 16.67 MPa, -16.67 Mpa\n",
+ "b)The stresses on inclines plane 11.11 Mpa noraml, -7.06 Mpa shear \n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.5 page number 476"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "M = 10 #KN-m moment\n",
+ "v = 8.0 #KN - shear Stress \n",
+ "stress_allow = 8 #MPa - The maximum allowable stress\n",
+ "shear_allow_per = 1.4 #Mpa - The allowable stress perpendicular to grain\n",
+ "stress_allow_shear = 0.7 #MPa - The maximum allowable shear stress\n",
+ "#Caliculations \n",
+ "\n",
+ "S = M*(10**6)/stress_allow #mm3 \n",
+ "#lets arbitarly assume h = 2b\n",
+ "#S = b*(h**2)/6\n",
+ "h = pow(12*S,0.333) #The depth of the beam\n",
+ "b = h/2 #mm The width of the beam\n",
+ "A = h*b #mm2 The area of the crossection , assumption\n",
+ "stress_shear = 3*v*(10**3)/(2*A) #Mpa The strear stress \n",
+ "if stress_shear<stress_allow_shear:\n",
+ " print \"The stress developed \",round(stress_shear,2),\" is in allowable ranges for \",round(A,2),\"mm2 area\"\n",
+ "else:\n",
+ " print \"The stress developed\",stress_shear,\" is in non allowable ranges\",A,\"area\"\n",
+ "Area_allow = v*(10**3)/shear_allow_per #mm - the allowable area\n",
+ "print \"The minimum area is \",Area_allow ,\"mm2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The stress developed 0.4 is in allowable ranges for 30077.85 mm2 area\n",
+ "The minimum area is 5714.28571429 mm2\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "pyout",
+ "prompt_number": 36,
+ "text": [
+ "8.0"
+ ]
+ }
+ ],
+ "prompt_number": 36
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.6 page number 478"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "stress_allow = 24 #ksi - The maximum allowable stress\n",
+ "stress_allow_shear = 14.5 #ksi- The maximum allowable shear stress\n",
+ "M_max = 36 #k-ft The maximum moment\n",
+ "l = 16 #in-The length of the rod\n",
+ "w = 2 #k/ft - The force distribution on the rod\n",
+ "R_A = 6.4 #k - The reaction at A\n",
+ "R_B = 25.6 #k - the reaction at B\n",
+ "v_max = R_B-l*w #kips the maximum stress, from diagram\n",
+ "#W8x24 is used from the appendix table 3 and 4 \n",
+ "l =0.245 #in - W8x24 crossesction length\n",
+ "#Caliculations \n",
+ "\n",
+ "stress_xy = v_max/A #ksi the approximate shear stress \n",
+ "if stress_xy < stress_allow_shear:\n",
+ " print \"W8x24 gives the allowable ranges of shear stress\"\n",
+ "else:\n",
+ " print \"W8x24 doesnot gives the allowable ranges of shear stress\"\n",
+ "k = 7.0/8 #in the distance from the outer face of the flange to the webfillet\n",
+ "#at+kt should not exceed 0.75 of yeild stress\n",
+ "#a1t+2kt should not exceed 0.75 of yeild stress\n",
+ "Stress_yp = 36 #Ksi - The yeild stress\n",
+ "t = 0.245 #in thickness of the web\n",
+ "#support a \n",
+ "a = R_A/(0.75*Stress_yp*t)-k #in lengths of the bearings\n",
+ "#support b\n",
+ "a_1 = R_B/(0.75*Stress_yp*t)-2*k #in lengths of the bearings\n",
+ "print \"lengths of the bearing at A \",round(a,3),\"in\"\n",
+ "print \"lengths of the bearing at B\",round(a_1,3),\"in\"\n",
+ " \n",
+ "\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "W8x24 gives the allowable ranges of shear stress\n",
+ "lengths of the bearing at A 0.092 in\n",
+ "lengths of the bearing at B 2.12 in\n"
+ ]
+ },
+ {
+ "metadata": {},
+ "output_type": "pyout",
+ "prompt_number": 44,
+ "text": [
+ "0.875"
+ ]
+ }
+ ],
+ "prompt_number": 44
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 9.8 page number 483"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given \n",
+ "hp = 63000 #horse power\n",
+ "T = hp*20*(10**-3)/63 #k-in the torsion implies due to horse power\n",
+ "stress_allow_shear = 6 #ksi- The maximum allowable shear stress\n",
+ "M_ver = 6.72/2 #k-in the vertical component of the moment \n",
+ "M_hor = 9.10 #k-in the horizantal component of the moment \n",
+ "#Caliculations \n",
+ "\n",
+ "M = pow(((M_ver**2)+(M_hor**2)),0.5) #K-in The resultant \n",
+ "d = pow((16*(((M**2)+(T**2))**0.5)/(stress_allow_shear*3.14)),0.333) #in, The suggested diameter from derivation\n",
+ "print \"The suggested diameter is\",round(d,2),\"in\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The suggested diameter is 2.66 in\n"
+ ]
+ }
+ ],
+ "prompt_number": 49
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Engineering_Mechanics_of_Solids_by_Popov_E_P/charpter_3.ipynb b/Engineering_Mechanics_of_Solids_by_Popov_E_P/charpter_3.ipynb new file mode 100644 index 00000000..d6d687b7 --- /dev/null +++ b/Engineering_Mechanics_of_Solids_by_Popov_E_P/charpter_3.ipynb @@ -0,0 +1,289 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:2f0c9cb537209e742ab15685141324ee1ed15f7e17522fe250536619498277f1"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chaper 3:Generalized hooke's law, Pressure vessels and Thick walled cylinders"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.1 page number 141"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "th = 8 #mm - thickness \n",
+ "G = 0.64 #N/mm2 -shear modulus\n",
+ " \n",
+ "a = 40 #mm length\n",
+ "b = 20 #mm width \\\n",
+ "Area = a*b #mm2\n",
+ "e = randn() # lets say any random vale\n",
+ "strain = e/th # strain in shearing case\n",
+ "#caliculations\n",
+ "\n",
+ "stress =G*strain\n",
+ "F = stress*Area\n",
+ "#stiffness = froce/displacement\n",
+ "k = F/e #N/mm\n",
+ "print \"the stiffness constant is \",k,\"N/mm\"\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the stiffness constant is 64.0 N/mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.2 page number 149\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "a = 50 #mm - length of a cube\n",
+ "E = 200 # Gpa - the youngs modulus \n",
+ "v = 0.25 # no units- poissions ratio \n",
+ "pressure = 200 # Mpa - pressure acting on all sides \n",
+ "#pressure is a compressive stress \n",
+ "S_x = -200 # Gpa - The stress in X direction \n",
+ "S_y = -200 # Gpa - The stress in Y direction\n",
+ "S_z = -200 # Gpa - The stress in Z direction\n",
+ "#Caliculations\n",
+ "\n",
+ "e = S_x*pow(10,-3)/E - v*S_y*pow(10,-3)/E-v*S_z*pow(10,-3)/E#mm - considering all three directions \n",
+ "x = e*a #mmThe change in the dimension between parallel faces\n",
+ "print \"The change in the dimension between parallel faces is \",x,\"mm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The change in the dimension between parallel faces is -0.025 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3 page number 154"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R = 1000 # mm - radius of the cylinder \n",
+ "t = 10 #mm - thickness of the cylinder\n",
+ "p_in = 0.80 #Mpa- Internal pressure \n",
+ "E = 200 #Mpa- youngs modulus \n",
+ "v = 0.25 # poission ratio\n",
+ "#caliculations\n",
+ "\n",
+ "Stress_1 = p_in*R/t #Mpa -Hoop stress #From derived expressions \n",
+ "Stress_2 = p_in*R/(2*t) #Mpa- Longitudinal stress \n",
+ "e = Stress_1*pow(10,-3)/E-v*Stress_2*pow(10,-3)/E\n",
+ "dia_change = e*R #mm- The change in daimeter of the cylinder \n",
+ "print \"The Hoop stress is \",Stress_1,\"mm\"\n",
+ "print \"The longitudinal stress is \",Stress_2, \"mm\"\n",
+ "print \"The change in daimeter of the cylinder is\",dia_change,\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Hoop stress is 80.0 mm\n",
+ "The longitudinal stress is 40.0 mm\n",
+ "The change in daimeter of the cylinder is 0.35 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.4 page number 156"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R = 1000 #mm - radius of the cylinder\n",
+ "th = 10 #mm - thickness of the cylinder\n",
+ "E = 200 #Mpa- youngs modulus \n",
+ "v = 0.25 # poission ratio\n",
+ "#caliculations\n",
+ "\n",
+ "Stress_1 = p_in*R/(2*t) #Mpa -Hoop stress #From derived expressions \n",
+ "Stress_2 = p_in*R/(2*t) #Mpa- Longitudinal stress\n",
+ "# Hoop stress and Longitudinal stress are same in this case\n",
+ "e = Stress_1*pow(10,-3)/E-v*Stress_2*pow(10,-3)/E\n",
+ "dia_change = e*R #mm- The change in daimeter of the cylinder\n",
+ "print \"The maximum stress is \",Stress_2, \"mm\"\n",
+ "print \"The change in daimeter of the cylinder is\",dia_change,\"mm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum stress is 40.0 mm\n",
+ "The change in daimeter of the cylinder is 0.15 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.5 page number 156"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "p_in = 0.7 #Mpa - internal pressure \n",
+ "n_bolts = 20 # number of bolts \n",
+ "dia = 650 #mm - bolt circle diameter \n",
+ "stress_allow = 125 #mm Maximum alowable stress\n",
+ "Stress_conc = 2 #stress concentration\n",
+ "d = 25 #mm \n",
+ "#caliculations\n",
+ "\n",
+ "F = p_in*3.14*pow(((dia-2*d)/2),2)*pow(10,6) #N\n",
+ "F_each = F/n_bolts #N- force per each Bolt\n",
+ "A = Stress_conc*F_each/(stress_allow*pow(10,-6)) #mm2 The bolt area \n",
+ "Bolt_dia = 2*pow((round(A,3)/3.14),0.5)*pow(10,-7) #mm the bolt daimeter\n",
+ "print \"The diameter of each bolt is\",Bolt_dia,\"mm\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The diameter of each bolt is 1.41985914794 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 31
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.6 page number 166"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "r_1 = randn()# let r_1 is a random number \n",
+ "t = 0.1*r_1 #Thickness\n",
+ "r_2 = r_1+t #Outer Radius\n",
+ "#caliculations\n",
+ "\n",
+ "stress_1_a= ((r_1**2)/((r_2**2)-(r_1**2)))*(1+((r_2**2)/(r_1**2)))#p -r =r_2\n",
+ "stress_2_a= ((r_1**2)/((r_2**2)-(r_1**2)))*(1+((r_2**2)/(r_2**2)))#p -r =r_1\n",
+ "stress_avg_a=(stress_1_a+stress_2_a)/2 #p\n",
+ "print \"The average stress in case a is\",stress_avg_a,\"p\"\n",
+ "\n",
+ "#Case-B\n",
+ "#Given\n",
+ "r_1 = randn()# let r_1 is a random number \n",
+ "r_2_b= 4*r_1 \n",
+ "#caliculations\n",
+ "\n",
+ "stress_1_b = ((r_1**2)/((r_2_b**2)-(r_1**2)))*(1+((r_2_b**2)/(r_1**2)))#p -r =r_2\n",
+ "stress_2_b= ((r_1**2)/((r_2_b**2)-(r_1**2)))*(1+((r_2_b**2)/(r_2_b**2)))#p -r =r_1\n",
+ "stress_avg_b=(stress_1_b+stress_2_b)/2 #p\n",
+ "print \"The average stress in case b is\",stress_2_b,\"p\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The average stress in case a is 10.0238095238 p\n",
+ "The average stress in case b is 0.133333333333 p\n"
+ ]
+ }
+ ],
+ "prompt_number": 38
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Engineering_Mechanics_of_Solids_by_Popov_E_P/charpter_3_1.ipynb b/Engineering_Mechanics_of_Solids_by_Popov_E_P/charpter_3_1.ipynb new file mode 100644 index 00000000..d6d687b7 --- /dev/null +++ b/Engineering_Mechanics_of_Solids_by_Popov_E_P/charpter_3_1.ipynb @@ -0,0 +1,289 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:2f0c9cb537209e742ab15685141324ee1ed15f7e17522fe250536619498277f1"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chaper 3:Generalized hooke's law, Pressure vessels and Thick walled cylinders"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.1 page number 141"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "th = 8 #mm - thickness \n",
+ "G = 0.64 #N/mm2 -shear modulus\n",
+ " \n",
+ "a = 40 #mm length\n",
+ "b = 20 #mm width \\\n",
+ "Area = a*b #mm2\n",
+ "e = randn() # lets say any random vale\n",
+ "strain = e/th # strain in shearing case\n",
+ "#caliculations\n",
+ "\n",
+ "stress =G*strain\n",
+ "F = stress*Area\n",
+ "#stiffness = froce/displacement\n",
+ "k = F/e #N/mm\n",
+ "print \"the stiffness constant is \",k,\"N/mm\"\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "the stiffness constant is 64.0 N/mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.2 page number 149\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "a = 50 #mm - length of a cube\n",
+ "E = 200 # Gpa - the youngs modulus \n",
+ "v = 0.25 # no units- poissions ratio \n",
+ "pressure = 200 # Mpa - pressure acting on all sides \n",
+ "#pressure is a compressive stress \n",
+ "S_x = -200 # Gpa - The stress in X direction \n",
+ "S_y = -200 # Gpa - The stress in Y direction\n",
+ "S_z = -200 # Gpa - The stress in Z direction\n",
+ "#Caliculations\n",
+ "\n",
+ "e = S_x*pow(10,-3)/E - v*S_y*pow(10,-3)/E-v*S_z*pow(10,-3)/E#mm - considering all three directions \n",
+ "x = e*a #mmThe change in the dimension between parallel faces\n",
+ "print \"The change in the dimension between parallel faces is \",x,\"mm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The change in the dimension between parallel faces is -0.025 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.3 page number 154"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R = 1000 # mm - radius of the cylinder \n",
+ "t = 10 #mm - thickness of the cylinder\n",
+ "p_in = 0.80 #Mpa- Internal pressure \n",
+ "E = 200 #Mpa- youngs modulus \n",
+ "v = 0.25 # poission ratio\n",
+ "#caliculations\n",
+ "\n",
+ "Stress_1 = p_in*R/t #Mpa -Hoop stress #From derived expressions \n",
+ "Stress_2 = p_in*R/(2*t) #Mpa- Longitudinal stress \n",
+ "e = Stress_1*pow(10,-3)/E-v*Stress_2*pow(10,-3)/E\n",
+ "dia_change = e*R #mm- The change in daimeter of the cylinder \n",
+ "print \"The Hoop stress is \",Stress_1,\"mm\"\n",
+ "print \"The longitudinal stress is \",Stress_2, \"mm\"\n",
+ "print \"The change in daimeter of the cylinder is\",dia_change,\"mm\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Hoop stress is 80.0 mm\n",
+ "The longitudinal stress is 40.0 mm\n",
+ "The change in daimeter of the cylinder is 0.35 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.4 page number 156"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "R = 1000 #mm - radius of the cylinder\n",
+ "th = 10 #mm - thickness of the cylinder\n",
+ "E = 200 #Mpa- youngs modulus \n",
+ "v = 0.25 # poission ratio\n",
+ "#caliculations\n",
+ "\n",
+ "Stress_1 = p_in*R/(2*t) #Mpa -Hoop stress #From derived expressions \n",
+ "Stress_2 = p_in*R/(2*t) #Mpa- Longitudinal stress\n",
+ "# Hoop stress and Longitudinal stress are same in this case\n",
+ "e = Stress_1*pow(10,-3)/E-v*Stress_2*pow(10,-3)/E\n",
+ "dia_change = e*R #mm- The change in daimeter of the cylinder\n",
+ "print \"The maximum stress is \",Stress_2, \"mm\"\n",
+ "print \"The change in daimeter of the cylinder is\",dia_change,\"mm\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum stress is 40.0 mm\n",
+ "The change in daimeter of the cylinder is 0.15 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.5 page number 156"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "p_in = 0.7 #Mpa - internal pressure \n",
+ "n_bolts = 20 # number of bolts \n",
+ "dia = 650 #mm - bolt circle diameter \n",
+ "stress_allow = 125 #mm Maximum alowable stress\n",
+ "Stress_conc = 2 #stress concentration\n",
+ "d = 25 #mm \n",
+ "#caliculations\n",
+ "\n",
+ "F = p_in*3.14*pow(((dia-2*d)/2),2)*pow(10,6) #N\n",
+ "F_each = F/n_bolts #N- force per each Bolt\n",
+ "A = Stress_conc*F_each/(stress_allow*pow(10,-6)) #mm2 The bolt area \n",
+ "Bolt_dia = 2*pow((round(A,3)/3.14),0.5)*pow(10,-7) #mm the bolt daimeter\n",
+ "print \"The diameter of each bolt is\",Bolt_dia,\"mm\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The diameter of each bolt is 1.41985914794 mm\n"
+ ]
+ }
+ ],
+ "prompt_number": 31
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 3.6 page number 166"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "r_1 = randn()# let r_1 is a random number \n",
+ "t = 0.1*r_1 #Thickness\n",
+ "r_2 = r_1+t #Outer Radius\n",
+ "#caliculations\n",
+ "\n",
+ "stress_1_a= ((r_1**2)/((r_2**2)-(r_1**2)))*(1+((r_2**2)/(r_1**2)))#p -r =r_2\n",
+ "stress_2_a= ((r_1**2)/((r_2**2)-(r_1**2)))*(1+((r_2**2)/(r_2**2)))#p -r =r_1\n",
+ "stress_avg_a=(stress_1_a+stress_2_a)/2 #p\n",
+ "print \"The average stress in case a is\",stress_avg_a,\"p\"\n",
+ "\n",
+ "#Case-B\n",
+ "#Given\n",
+ "r_1 = randn()# let r_1 is a random number \n",
+ "r_2_b= 4*r_1 \n",
+ "#caliculations\n",
+ "\n",
+ "stress_1_b = ((r_1**2)/((r_2_b**2)-(r_1**2)))*(1+((r_2_b**2)/(r_1**2)))#p -r =r_2\n",
+ "stress_2_b= ((r_1**2)/((r_2_b**2)-(r_1**2)))*(1+((r_2_b**2)/(r_2_b**2)))#p -r =r_1\n",
+ "stress_avg_b=(stress_1_b+stress_2_b)/2 #p\n",
+ "print \"The average stress in case b is\",stress_2_b,\"p\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The average stress in case a is 10.0238095238 p\n",
+ "The average stress in case b is 0.133333333333 p\n"
+ ]
+ }
+ ],
+ "prompt_number": 38
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Engineering_Mechanics_of_Solids_by_Popov_E_P/screenshots/Untitled.png b/Engineering_Mechanics_of_Solids_by_Popov_E_P/screenshots/Untitled.png Binary files differnew file mode 100644 index 00000000..0ed3b810 --- /dev/null +++ b/Engineering_Mechanics_of_Solids_by_Popov_E_P/screenshots/Untitled.png diff --git a/Engineering_Mechanics_of_Solids_by_Popov_E_P/screenshots/cap2.png b/Engineering_Mechanics_of_Solids_by_Popov_E_P/screenshots/cap2.png Binary files differnew file mode 100644 index 00000000..f0222968 --- /dev/null +++ b/Engineering_Mechanics_of_Solids_by_Popov_E_P/screenshots/cap2.png diff --git a/Engineering_Mechanics_of_Solids_by_Popov_E_P/screenshots/cap3.png b/Engineering_Mechanics_of_Solids_by_Popov_E_P/screenshots/cap3.png Binary files differnew file mode 100644 index 00000000..38fad753 --- /dev/null +++ b/Engineering_Mechanics_of_Solids_by_Popov_E_P/screenshots/cap3.png diff --git a/Microwave_Engineering_by_G._S._Raghuvanshi/Ch1.ipynb b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch1.ipynb new file mode 100644 index 00000000..14c6b463 --- /dev/null +++ b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch1.ipynb @@ -0,0 +1,811 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:2baa3eb0c199078d6675540c13fc8ca69d0c0eaa0d2eef907c98727dce3b6cde" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Ch-1 : Microwaves" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 12 Example 1.2" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "import cmath \n", + "from math import pi\n", + "#Given\n", + "z0=50 #ohm\n", + "zg=50 #ohm\n", + "l=0.25 #m\n", + "f=4e9 #hz\n", + "zl=100 #ohm\n", + "vg=10 #V\n", + "w=2*pi*f #rad/sec\n", + "c=3e8 #m/s\n", + "\n", + "#(i) Voltage and current at any point\n", + "tg=(zg-z0)/(zg+z0) \n", + "tl=(zl-z0)/(zl+z0) \n", + "vi=z0*vg/(z0+zg) #V\n", + "print 'Voltage at any point = %0.2f V' %(vi)\n", + "ii=vg/(2*z0) #A\n", + "print 'Current at any point = %0.2f A'%(ii) \n", + "\n", + "#(ii) Voltage at generator end\n", + "#Taking z=1\n", + "z=1 \n", + "bet=w/c \n", + "vz=(vg/2)*cmath.exp(-1J*bet*(z+l))*(1+(tl*cmath.exp(2*1J*bet*z))) #V\n", + "print 'Voltage at generator end ={:.3f}'.format(vz),'V'\n", + "iz=ii*cmath.exp(-1J*bet*(z+l))*(1-(tl*cmath.exp(2*1J*bet*z))) #A\n", + "vz1=(vg/2)*cmath.exp(-1J*bet*(z+l))*(1+(tl*cmath.exp(2*1J*bet*z))) #V\n", + "\n", + "#Voltage at load end, z=0\n", + "z11=0 \n", + "vl=(vg/2)*cmath.exp(-1J*bet*l)*(1+(tl*cmath.exp(2*1J*bet*z11))) #V\n", + "print 'Voltage at load end ={:.3f}'.format(vl),'V'\n", + "\n", + "#(iii) Reflection coefficient\n", + "zx=0.25 \n", + "tz=tl*cmath.exp(1J*2*bet*zx) \n", + "print 'Reflection coefficient:{:.3f}'.format(tz) \n", + "\n", + "#(iv) VSWR\n", + "p=(1+tl)/(1-tl) \n", + "print 'VSWR:' ,p\n", + "\n", + "#(v) Average power delivered to the load\n", + "vl=20/3 \n", + "pl0=vl**2/(2*zl) #W\n", + "print 'Average power delivered to the load = %0.2f W' %pl0" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Voltage at any point = 5.00 V\n", + "Current at any point = 0.10 A\n", + "Voltage at generator end =-0.833+4.330j V\n", + "Voltage at load end =-3.333-5.774j V\n", + "Reflection coefficient:-0.167-0.289j\n", + "VSWR: 2.0\n", + "Average power delivered to the load = 0.22 W\n" + ] + } + ], + "prompt_number": 41 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 14 Example 1.3" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import log \n", + "#Given\n", + "pm=3 \n", + "pl=4 \n", + "l=24 #cm\n", + "l1=l/100 #m\n", + "\n", + "#Attenuation\n", + "tin=(pm-1)/(pm+1) \n", + "tl=(pl-1)/(pl+1) \n", + "alp=(1/(2*l1))*log(tl/tin) #Np/m\n", + "print 'Attenuation in the line = %0.2f'%alp,'Mp/m' " + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Attenuation in the line = 0.38 Mp/m\n" + ] + } + ], + "prompt_number": 42 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 14 Example 1.4" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import sqrt \n", + "#Given\n", + "c=3e8 #m/s\n", + "z0=200 #ohm\n", + "zl=800 #ohm\n", + "f=30e6 #hz\n", + "\n", + "#Characterstic impedance\n", + "z00=sqrt(z0*zl) #ohm\n", + "print 'Characterstic impedance = %0.2f ohm' %z00\n", + "\n", + "#Length of line\n", + "lam=c/f #m\n", + "l=lam/4 #m\n", + "print 'Length of line = %0.2f m' %l" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Characterstic impedance = 400.00 ohm\n", + "Length of line = 2.50 m\n" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 15 Example 1.5" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "l=1.2 #mH\n", + "r=8 #ohm\n", + "c=200e-12 #F\n", + "\n", + "#(i) Resonant frequency\n", + "f0=(1/(2*pi))*sqrt(1/(l*c)) #hz\n", + "print 'Resonant frequency:%0.2f'%f0,'Hz' \n", + "\n", + "#(ii) Impedance of circuit\n", + "print 'Impedance of circuit:',r,'ohm' \n", + "\n", + "#(iii)Q factor of the circuit\n", + "q=1/(2*pi*f0*c*r) \n", + "print 'Q factor of the circuit:%0.2f'%q\n", + "\n", + "#(iv) Bandwidth\n", + "df=f0/q #hz\n", + "\n", + "print 'Bandwidth:%0.2f' %df,'Hz'\n", + "\n", + "#The value of resonant frequency is calculated wrong in book\n", + "#Hence Q factor and bandwidth, all these answers dont match" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Resonant frequency:10273.41 Hz\n", + "Impedance of circuit: 8 ohm\n", + "Q factor of the circuit:9682.46\n", + "Bandwidth:1.06 Hz\n" + ] + } + ], + "prompt_number": 44 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: Example 1.6" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import cos, sin\n", + "#Given\n", + "c=3e8 #m/s\n", + "le=25 #m\n", + "zl=40+(1J*30) #ohm\n", + "f=10e6 #hz\n", + "cap=40e-12 #F\n", + "l=300e-9 #H/m\n", + "\n", + "#Input impedance\n", + "z0=sqrt(l/cap) #ohm\n", + "zl1=zl/z0 \n", + "lam=c/f #m\n", + "bet=(2*pi*le)/lam #rad\n", + "zin=((zl1*cos(bet))+(1J*sin(bet)))/(cos(bet)+(1J*zl1*sin(bet))) #ohm\n", + "print 'Input impedance: {:.3f}'.format(zin), 'ohm'\n", + "\n", + "#Reflection coefficient\n", + "t=(zl1-1)/(zl1+1) \n", + "print 'Reflection coefficient:{:.3f}'.format(t)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Input impedance: 0.577-0.577j ohm\n", + "Reflection coefficient:-0.295+0.307j\n" + ] + } + ], + "prompt_number": 46 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 16 Example 1.7" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "import cmath \n", + "#Given\n", + "c=3e8 #m/s\n", + "R=2.25 #ohm\n", + "L=1e-9 #H/m\n", + "C=1e-12 #F/m\n", + "f=0.5e9 #hz\n", + "G=0 \n", + "w=2*pi*f #rad/sec\n", + "\n", + "#Characterstic impedance\n", + "z0=cmath.sqrt((R+(1J*w*L))/(G+(1J*w*C))) #ohm\n", + "print 'Characterstic impedance:{:.3f}'.format(z0),'ohm'\n", + "\n", + "#Propagation constant\n", + "gam=cmath.sqrt((R+(1J*w*L))*(G+(1J*w*C))) \n", + "print 'Propagation constant:{:.3f}'.format(gam)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Characterstic impedance:33.392-10.724j ohm\n", + "Propagation constant:0.034+0.105j\n" + ] + } + ], + "prompt_number": 48 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 20 Example 1.8" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "c=3e8 #m/s\n", + "f=3e9 #Hz\n", + "ZL=50-(1J*100) #ohms\n", + "Z0=50 #ohm\n", + "#Wavelength\n", + "lam=c/f \n", + "print 'Wavelength:',lam*100, 'cm'\n", + "\n", + "#Normalized load impedance\n", + "z=ZL/Z0 \n", + "print 'Normalized load impedance:' ,z\n", + "\n", + "#From chart\n", + "zin=0.45+(1J*1.2) \n", + "yin=0.27-(1J*0.73) \n", + "ZINN=Z0*zin \n", + "print 'Line impedance:' ,ZINN,'ohm'\n", + "YINN=yin/Z0 \n", + "print 'Line admittance:',YINN, 'mho'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Wavelength: 10.0 cm\n", + "Normalized load impedance: (1-2j)\n", + "Line impedance: (22.5+60j) ohm\n", + "Line admittance: (0.0054-0.0146j) mho\n" + ] + } + ], + "prompt_number": 49 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 22 Example 1.9" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "ZL=75+(1J*100) #ohms\n", + "Z0=50 #ohm\n", + "\n", + "#Normalized load impedance\n", + "z=ZL/Z0 \n", + "print 'Normalized load impedance:' ,z\n", + "\n", + "#(i) 0.051*lam\n", + "#From chart\n", + "r=4.6 \n", + "Zi1=r*Z0 \n", + "print 'Input impedance at 0.051 lam:' ,Zi1,'ohm'\n", + "\n", + "#(ii) 0.102*lam\n", + "r1=1.5-(1J*2) \n", + "Zi2=r1*Z0 \n", + "print 'Input impedance at 0.102 lam:' ,Zi2,'ohm'\n", + " \n", + "#(iii) 0.301*lam\n", + "r2=0.22 \n", + "Zi3=r2*Z0 \n", + "print 'Input impedance at 0.301 lam:' ,Zi3, 'ohm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Normalized load impedance: (1.5+2j)\n", + "Input impedance at 0.051 lam: 230.0 ohm\n", + "Input impedance at 0.102 lam: (75-100j) ohm\n", + "Input impedance at 0.301 lam: 11.0 ohm\n" + ] + } + ], + "prompt_number": 50 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 23 Example 1.10" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "ZL=15+(1J*20) #ohms\n", + "Z0=50 #ohm\n", + "\n", + "#Normalized load impedance\n", + "z=ZL/Z0 \n", + "print 'Normalized load impedance:' ,z\n", + "\n", + "#From chart\n", + "T=0.6 \n", + "print 'Reflection coefficient:' ,T\n", + "\n", + "#VSWR\n", + "p=4 \n", + "print 'VSWR:' ,p" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Normalized load impedance: (0.3+0.4j)\n", + "Reflection coefficient: 0.6\n", + "VSWR: 4\n" + ] + } + ], + "prompt_number": 51 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 25 Example 1.11" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Z0=50 #ohm\n", + "p=2.4 \n", + "\n", + "#From chart\n", + "zl=1.4+1J \n", + "L=Z0*zl \n", + "print 'Load:',L, 'ohm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Load: (70+50j) ohm\n" + ] + } + ], + "prompt_number": 52 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 26 Example 1.12" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Z0=50 #ohm\n", + "T=2.23 \n", + "\n", + "#From chart\n", + "zl=2+1J \n", + "ZLd=Z0*zl \n", + "print 'Normalized impedance:',ZLd, 'ohm'\n", + "\n", + "#Impedance of device is by negating the real part\n", + "imp=-(ZLd.real)+((ZLd.imag)*1J) \n", + "print 'Impedance of device:' ,imp,'ohm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Normalized impedance: (100+50j) ohm\n", + "Impedance of device: (-100+50j) ohm\n" + ] + } + ], + "prompt_number": 53 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 27 Example 1.13" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "p=3 \n", + "m1=54 #cm\n", + "m2=204 #cm\n", + "\n", + "#Point A\n", + "print 'Point A' \n", + "lam=4*(m2-m1) \n", + "dA=0.083*lam \n", + "L=m1-dA \n", + "print 'Location of stub:',L, 'cm'\n", + "IA=0.114*lam \n", + "print 'Length:' ,IA, 'cm'\n", + "\n", + "#Point B\n", + "print 'Point B' \n", + "dB=0.083*lam \n", + "IB=0.386*lam \n", + "Lb=dB+m1 \n", + "print 'Location of stub:',Lb, 'cm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Point A\n", + "Location of stub: 4.2 cm\n", + "Length: 68.4 cm\n", + "Point B\n", + "Location of stub: 103.8 cm\n" + ] + } + ], + "prompt_number": 54 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 30 Example 1.15" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Z0=50 #ohm\n", + "ZL=100 #ohms\n", + "f=10e9 #Hz\n", + "c=0.159e-12 #F\n", + "\n", + "#Normalized load impedance\n", + "z=ZL/Z0 \n", + "print 'Normalized load impedance:' ,z\n", + "\n", + "#From chart\n", + "zin=0.4+(1J*0.55) \n", + "ZINN=Z0*zin \n", + "print 'Normalized impedance:',ZINN, 'ohm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Normalized load impedance: 2.0\n", + "Normalized impedance: (20+27.5j) ohm\n" + ] + } + ], + "prompt_number": 55 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 42 Example 1.16" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#From given wave equation we can see\n", + "w=1e9 #rad/sec\n", + "bet=30 #rad/m\n", + "c=3e8 #m/s\n", + "u0=1 #let\n", + "e0=1/(9e16) \n", + "\n", + "vp=w/bet #m/sec\n", + "print 'Phase velocity:%0.2f' %vp,'m/s'\n", + "\n", + "e=1/(vp**2*u0) \n", + "er=e/(e0*u0) \n", + "print 'Dielectric constant:' ,er" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Phase velocity:33333333.33 m/s\n", + "Dielectric constant: 81.0\n" + ] + } + ], + "prompt_number": 56 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 42 Example 1.17" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "c=3e8 #m/s\n", + "f=10e9 #hz\n", + "er=6 \n", + "tandel=2e-4 \n", + "\n", + "vp=c/er #m/sec\n", + "print 'Phase velocity: %0.f'%vp,'m/sec'\n", + "al=(pi*f*tandel)/vp #Np/m\n", + "print 'Attenuation constant: %0.3f'%al,'Np/m'\n", + "\n", + "#Answer for velocity is calculated wrong in book, hence answers dont match for both" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Phase velocity: 50000000 m/sec\n", + "Attenuation constant: 0.126 Np/m\n" + ] + } + ], + "prompt_number": 59 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 43 Example 1.18" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " #Given\n", + "er=2.2 \n", + "n0=377 #ohm\n", + "n2=n0/sqrt(er) #ohm\n", + "n1=377 #ohm\n", + "\n", + "#Reflection coefficient\n", + "t=(n2-n1)/(n2+n1) \n", + "print 'Reflection coefficient: %0.2f'%t\n", + "\n", + "#Vswr\n", + "#Taking mod of reflection coefficient\n", + "t1=-t \n", + "p=(1+t1)/(1-t1) \n", + "print 'VSWR: %0.3f'%p" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Reflection coefficient: -0.19\n", + "VSWR: 1.483\n" + ] + } + ], + "prompt_number": 62 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 43 Example 1.19" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " #Given\n", + "sig=5 #mohm/m\n", + "er=80*8.85e-12 \n", + "eaz=0.1 \n", + "u=1.26e-6 \n", + "\n", + "az=-log(0.1) \n", + "#(i) Range at 25Khz\n", + "f=25e3 #Khz\n", + "w=2*pi*f #rad/sec\n", + "a=w*(sqrt((u*er/2)*(sqrt(sig**2/(w**2*er**2)+1)-1))) \n", + "z=az/a #m\n", + "print 'Range at 25khz: %0.3f'%z, 'm'\n", + "\n", + "#(ii) Range at 25Mhz\n", + "f1=25e6 #Mhz\n", + "w1=2*pi*f1 #rad/sec\n", + "a1=w1*(sqrt((u*er/2)*(sqrt(sig**2/(w1**2*er**2)+1)-1))) \n", + "z1=az/a1 #m\n", + "print 'Range at 25Mhz: %0.3f'%z1, 'm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Range at 25khz: 3.273 m\n", + "Range at 25Mhz: 0.105 m\n" + ] + } + ], + "prompt_number": 63 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Microwave_Engineering_by_G._S._Raghuvanshi/Ch10.ipynb b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch10.ipynb new file mode 100644 index 00000000..3f22a491 --- /dev/null +++ b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch10.ipynb @@ -0,0 +1,687 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:948be1cc9ed00129c705ab5eed5191c57dcf55220270f926d97c4b4918eda1ba" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Ch-10 : Striplines & Microstrip lines" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 554 Example 10.1" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "from math import exp, log10, pi, sqrt, log\n", + "#Given,\n", + "\n", + "z0=50 #ohm\n", + "t=0.001 #mm\n", + "b=0.32 #cm\n", + "er=2.20 \n", + "tandel= 0.0005 \n", + "rs=0.026 #ohm\n", + "f=10e9 #Hz\n", + "c=3e8 #m/sec\n", + "\n", + "p=sqrt(er)*z0 \n", + "#As p<120\n", + "w=b*(((30*pi)/p)-0.441)\n", + "print 'Width %0.3f'%w,'cm'\n", + "\n", + "#Attenuation\n", + "k=((2*pi*f*sqrt(er))/c) \n", + "ad=(k*tandel)/2 \n", + "\n", + "#and\n", + "A=1+((2*w)/(b-t))+(((b+t)/((b-t)*pi))*log(((2*b)-t)/t)) \n", + "#Hence \n", + "ac=(2.7e-3*rs*er*z0*A)/(30*pi*(b-t)*1e-2)\n", + "#Total attenution\n", + "a=ad+ac \n", + "\n", + "#Total attenution in db\n", + "x=exp(a) \n", + "alp=20*log10(x) #db/m\n", + "\n", + "#Total attenution in db/lambda:\n", + "lam=c/(sqrt(er)*f) \n", + "lamm=lam*1e2 \n", + "alph=alp/lamm \n", + "print 'Total attenution in db/lambda: %0.3f'%alph, 'db/lambda'\n", + "\n", + "\n", + "#Answer in book for alph is given as 0.856 but it should be 0.0856 as value of f is taken as 10e10 but it should be 10e9" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Width 0.266 cm\n", + "Total attenution in db/lambda: 0.856 db/lambda\n" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 555 Example 10.2" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given,\n", + "er=9.7 \n", + "h=0.25 #mm\n", + "w=0.25 #mm\n", + "f=5e9 #Hz\n", + "c=3e8 #m/s\n", + "\n", + "#(i) Dielectric constant\n", + "dc=((er+1)/2)+(((er-1)/2)*(1/sqrt(1+12*h/w))) \n", + "print 'Dielectric constant: %0.3f'%dc\n", + "\n", + "#(ii) Phase constant\n", + "lam0=c/f \n", + "pc=sqrt(dc)*(2*pi/lam0) \n", + "print 'Phase constant: %0.3f'%(pc/100),'rad/m'\n", + "\n", + "#(iii) Microstrip wavelength\n", + "lams=lam0/sqrt(dc) \n", + "print 'Microstrip wavelength: %0.3f'%(lams*100),'cm'\n", + "\n", + "#(iv) Capacitance per unit length\n", + "e0=8.854e-12 \n", + "cap=(2*pi*e0)/log((8*h/w)-(w/(4*h))) \n", + "print 'Capacitance per unit length: %0.3e'%cap, 'F/cm'\n", + "\n", + "#(v) Characterstic Impedance\n", + "ci=(60/sqrt(dc))*log((8*h/w)+(w/(4*h))) \n", + "print 'Characterstic impedance: %0.3f'%ci, 'ohm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Dielectric constant: 6.556\n", + "Phase constant: 2.681 rad/m\n", + "Microstrip wavelength: 2.343 cm\n", + "Capacitance per unit length: 2.717e-11 F/cm\n", + "Characterstic impedance: 49.447 ohm\n" + ] + } + ], + "prompt_number": 5 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 556 Example 10.3" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given,\n", + "er=5.23 \n", + "w=10 #mils\n", + "t=2.8 #mils\n", + "h=7 #mils\n", + "\n", + "dc=((er+1)/2)+(((er-1)/2)*(1/sqrt(1+12*h/w))) \n", + "print 'Dielectric constant: %0.3f'%dc\n", + "\n", + "#As w/h>1\n", + "ci=(120*pi)/(sqrt(dc)*((w/h)+1.393+0.667*log((w/h)+1.444))) \n", + "print 'Characterstic impedance: %0.3f'%ci, 'ohm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Dielectric constant: 3.805\n", + "Characterstic impedance: 54.822 ohm\n" + ] + } + ], + "prompt_number": 6 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 556 Example 10.4" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given,\n", + "\n", + "q=2.5 \n", + "dh=1.58 \n", + "er=9 \n", + "f=10 \n", + "c=3e8 \n", + "\n", + "erff=((er+1)/2)+(((er-1)/2)*((1+(12/q))**(-1/2))) \n", + "vp=(c/sqrt(erff))*erff \n", + "fe1=c/(sqrt(vp)*2*dh*q) \n", + "if f<fe1:\n", + " print 'Strip supports TEM mode only' \n", + "else:\n", + " print 'Strip does not support TEM mode only' \n" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Strip supports TEM mode only\n" + ] + } + ], + "prompt_number": 5 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 557 Example 10.5" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given,\n", + "\n", + "er=9.7 \n", + "h=0.5 #mm\n", + "w=0.5 #mm\n", + "lt=2e-4 \n", + "t=0.02 #mm\n", + "f=5e9 #Hz\n", + "fg=5 #HZ\n", + "c=3e8 \n", + "rs=8.22e-3*sqrt(fg) \n", + "\n", + "#(i) Dielectric constant\n", + "dc=((er+1)/2)+(((er-1)/2)*(1/sqrt(1+12*h/w))) \n", + "print 'Dielectric constant: %0.3f'%dc\n", + "\n", + "#(ii) Characterstic Impedance\n", + "ci=(60/sqrt(dc))*log((8*h/w)+(w/(4*h))) \n", + "print 'Characterstic impedance: %0.3f'%ci,'ohm'\n", + "\n", + "#(iii) Dielectric attenuation\n", + "lam0=c/f \n", + "alphd=(pi/lam0)*(er/sqrt(dc))*((dc-1)/(er-1))*lt \n", + "print 'Dielectric attenuation: %0.3f'%alphd,'Np/m'\n", + "\n", + "#Conductor attenuation\n", + "r1=(0.94+(0.132*(w/h))-(0.0062*((w/h)**2)))*((1/pi)+(1/(pi**2))*log((4*pi*w)/t))*(rs/(w*1e-3))\n", + "r1m=r1*1e-2 \n", + "r2=(w/h)/(((w/h)+5.8+(0.03*(h/w))))*(rs/(w*1e-3)) \n", + "r2m=r2*1e-2 \n", + "alphc=(r1+r2)/(2*ci) \n", + "print 'Conductor attenuation: %0.3f'%alphc,'Np/m'\n", + "\n", + "#(iv) Total attenuation\n", + "A=alphc+alphd \n", + "Adb=A*8.686*1e-2 \n", + "print 'Total attenuation: %0.3f'%Adb,'db/cm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Dielectric constant: 6.556\n", + "Characterstic impedance: 49.447 ohm\n", + "Dielectric attenuation: 0.025 Np/m\n", + "Conductor attenuation: 0.411 Np/m\n", + "Total attenuation: 0.038 db/cm\n" + ] + } + ], + "prompt_number": 10 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 558 Example 10.6" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "\n", + "sig=5.8e7 \n", + "f=10 #GHz\n", + "h=0.12e-2 #m\n", + "\n", + "q=62.8*h*sqrt(f*sig) \n", + "print 'conductor Q of the stripline:' ,round(q)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "conductor Q of the stripline: 1815.0\n" + ] + } + ], + "prompt_number": 7 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 558 Example 10.7" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Er=6 \n", + "h=4e-3 #m\n", + "\n", + "#(i) W for Z0=50W\n", + "Z0=50 #W\n", + "W=(120*pi*h)/(sqrt(Er)*Z0) \n", + "print 'Required Width: %0.3f'%(W*1000), 'mm'\n", + "\n", + "#(ii)Stripline capacitance\n", + "E0=8.854e-12 \n", + "C=(E0*Er*W)/h \n", + "print 'Stripline capacitance: %0.3f'%(C*10**12),'pF/m'\n", + "\n", + "#(iii)Stripline inductance\n", + "Mu0=4*pi*10e-7 \n", + "L=(Mu0*h)/W \n", + "print 'Stripline inductance: %0.3f'%(L*10**5),' muH/m'\n", + "\n", + "#(iv)Phase velocity\n", + "c=3e8 \n", + "vp=c/sqrt(Er) \n", + "print 'Phase velocity',vp, 'm/s'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Required Width: 12.312 mm\n", + "Stripline capacitance: 163.522 pF/m\n", + "Stripline inductance: 0.408 muH/m\n", + "Phase velocity 122474487.139 m/s\n" + ] + } + ], + "prompt_number": 12 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 559 Example 10.8" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "cl=3e8 #m/s\n", + "f=5e9 #Hz\n", + "Er=9 \n", + "C=-10 #db\n", + "Z0=50 #ohm\n", + "#Length\n", + "L=(cl/f)/(4*sqrt(Er)) \n", + "print 'Length:' ,L*100,'cm'\n", + "\n", + "#Coupling coefficient\n", + "C0=10**(C/20) \n", + "print 'Coupling coefficient: %0.3f'%C0\n", + "\n", + "#Even and odd mode impedance\n", + "Z0e=(Z0*sqrt(1+C0))/sqrt(1-C0) \n", + "print 'Even mode impedance: %0.3f'%Z0e,'ohm'\n", + "\n", + "\n", + "Z0o=(Z0*sqrt(1-C0))/sqrt(1+C0) \n", + "print 'Odd mode impedance: %0.3f'%Z0o,'ohm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Length: 0.5 cm\n", + "Coupling coefficient: 0.316\n", + "Even mode impedance: 69.371 ohm\n", + "Odd mode impedance: 36.038 ohm\n" + ] + } + ], + "prompt_number": 13 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 560 Example 10.9" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Z0=50 #ohm\n", + "C=3 #db\n", + "\n", + "#Line impedance\n", + "Z01sqr=(1-(10**(C/-10))) \n", + "Z01=sqrt(Z0*Z0*Z01sqr) \n", + "print 'Z01: %0.3f'%Z01, 'ohm'\n", + "\n", + "Z02=Z01/(sqrt(1-(1/sqrt(2))**2)) \n", + "print 'Z02:' ,round(Z02),'ohm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Z01: 35.313 ohm\n", + "Z02: 50.0 ohm\n" + ] + } + ], + "prompt_number": 14 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 560 Example 10.10" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "W=6 #m\n", + "s=2.2 #m\n", + "b=4.8 #m\n", + "Er=2.2 \n", + "\n", + "#Even and odd mode impedance\n", + "Z0e=((120*pi)*(b-s))/(2*sqrt(Er)*W) \n", + "print 'Even mode impedance: %0.3f'%Z0e,'ohm'\n", + "\n", + "\n", + "Z0o=(Z0e*s)/b \n", + "print 'Odd mode impedance: %0.3f'%Z0o,'ohm'\n", + "\n", + "#Mid band coupling\n", + "x=(Z0e-Z0o)/(Z0e+Z0o) \n", + "C=-20*log10(x) \n", + "print 'Mid band coupling: %0.3f'%C,'db'\n", + "\n", + "#Answer in book for C is given as 54.2 but it should be 8.60" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Even mode impedance: 55.070 ohm\n", + "Odd mode impedance: 25.240 ohm\n", + "Mid band coupling: 8.602 db\n" + ] + } + ], + "prompt_number": 16 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 562 Example 10.11" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Er=6 \n", + "d=3e-3 #m\n", + "Z0=50 #ohm\n", + "E0=8.854e-12 #F/m\n", + "Mu0=4*pi*10e-7 #H/m\n", + "\n", + "#(i) W \n", + "W=(377*d)/(sqrt(Er)*Z0) \n", + "print 'Required Width: %0.3f'%(W*1000),'mm'\n", + "\n", + "#(ii)Stripline capacitance\n", + "C=(E0*Er*W)/d \n", + "print 'Stripline capacitance: %0.3f'%(C*10**12),'pF/m'\n", + "\n", + "#(iii)Stripline inductance\n", + "L=(Mu0*d)/W \n", + "print 'Stripline inductance: %0.3f'%(L*10**6), 'muH/m'\n", + "\n", + "#(iv)Phase velocity\n", + "c=3e8 \n", + "vp=c/sqrt(Er) \n", + "print 'Phase velocity' ,vp,'m/s'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Required Width: 9.235 mm\n", + "Stripline capacitance: 163.526 pF/m\n", + "Stripline inductance: 4.082 muH/m\n", + "Phase velocity 122474487.139 m/s\n" + ] + } + ], + "prompt_number": 18 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 562 Example 10.12" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Er=2.56 \n", + "w=25 #mils\n", + "t=14 #mils\n", + "d=70 #mils\n", + "E0=8.854e-12 #F/m\n", + "\n", + "#(i) K factor\n", + "K=1/(1-(t/d)) \n", + "print 'K factor:' ,K\n", + "\n", + "#(ii) Fringe capacitance\n", + "C=((E0*Er)*(2*K*log(K+1)-(K-1)*log(K**2-1)))/pi \n", + "print 'Fringe capacitance: %0.3f'%(C*10**12), 'pF/m'\n", + "\n", + "#(iii) Charecteristic Impedance\n", + "X=1/(((w*K)/d)+(C/(E0*Er)))\n", + "Z0=(94.15*X)/sqrt(Er) \n", + "print 'Charecteristic Impedance: %0.3f'%Z0,'ohm'\n", + "\n", + "\n", + "#Answer in book for Z0 is given as 50.29 but it should be 51.7" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "K factor: 1.25\n", + "Fringe capacitance: 15.665 pF/m\n", + "Charecteristic Impedance: 51.729 ohm\n" + ] + } + ], + "prompt_number": 20 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 563 Example 10.13" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Z0=50 #ohm\n", + "#Sincr ratio of power is 2:3\n", + "x1=5/2 \n", + "y1=5/3 \n", + "#Output Impedance\n", + "Z1=x1*Z0 \n", + "Z2=y1*Z0 \n", + "print 'Output Impedance 1:',Z1,'ohm'\n", + "print 'Output Impedance 2: %0.3f'%Z2,'ohm'\n", + "\n", + "#Input Impedance\n", + "Zin=[((Z2*2*Z2)/3)/((Z2+(2*Z2)/3))] \n", + "\n", + "#Looking into Z1, Z2 is || to Z0\n", + "A1=(Z2*Z0)/(Z2+Z0) \n", + "\n", + "#Looking into Z, Z2 is || to Z0\n", + "A2=(Z1*Z0)/(Z1+Z0) \n", + "\n", + "#Reflection Coeffcients\n", + "R1=(A1-Z1)/(A1+Z1) \n", + "R2=(A2-Z2)/(A2+Z2) \n", + "\n", + "print 'Reflection Coeffcients:\\n', R1,'\\n',R2, " + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Output Impedance 1: 125.0 ohm\n", + "Output Impedance 2: 83.333 ohm\n", + "Reflection Coeffcients:\n", + "-0.6 \n", + "-0.4\n" + ] + } + ], + "prompt_number": 21 + } + ], + "metadata": {} + } + ] +} diff --git a/Microwave_Engineering_by_G._S._Raghuvanshi/Ch11.ipynb b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch11.ipynb new file mode 100644 index 00000000..b65b1969 --- /dev/null +++ b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch11.ipynb @@ -0,0 +1,113 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:dcd1524aea83bc52fd041431920005679ad317fcac49d15da415d1adac59bbe9" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Ch-11 : Microwave Integrated Circuits" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 595 Example 11.1" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division \n", + "#Given\n", + "fabc=10000 #Rs/waffer\n", + "c=100 \n", + "y=40/100 \n", + "coc=fabc/(y*c) \n", + "#Cost of one chip\n", + "print 'Cost of one chip:' ,coc,'Rs'\n", + "\n", + "#Market Cost\n", + "mc=2*coc \n", + "print 'Market costof one chip:' ,mc,'Rs'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Cost of one chip: 250.0 Rs\n", + "Market costof one chip: 500.0 Rs\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 595 Example 11.2" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import sqrt, floor\n", + "#Given\n", + "c=5000 #Rs\n", + "S=0.6 #cm\n", + "#Sides\n", + "x=3 #cm\n", + "y=2.54 #cm \n", + "#break even cost\n", + "bec=250 \n", + "#hence, chips/waffers needed\n", + "cpw=c/bec \n", + "D=x*y \n", + "#For given Area, atleast 40 chips are required\n", + "n=2*cpw \n", + "\n", + "#Diameter\n", + "N=D/(sqrt(2)*S) \n", + "#Lower round off\n", + "NN=floor(N) \n", + "#Chips possible\n", + "cp=NN**2 \n", + "\n", + "#Yield\n", + "Y=(n/cp)*100 #Percent\n", + "print 'Yield:',Y, '%'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Yield: 62.5 %\n" + ] + } + ], + "prompt_number": 2 + } + ], + "metadata": {} + } + ] +} diff --git a/Microwave_Engineering_by_G._S._Raghuvanshi/Ch12.ipynb b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch12.ipynb new file mode 100644 index 00000000..d45dd956 --- /dev/null +++ b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch12.ipynb @@ -0,0 +1,482 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:4900eeee12d5add487271b429c0cbafd110530ef7f850ea37e0c5905f6da1030" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Ch-12 : Microwave Measurements" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 649 Example 12.1" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "#Given\n", + "Is=0.1*(10**-6) #A\n", + "Pi=0 #dBm\n", + "Cs=0.1*(10**-12) #F\n", + "Ls=2*(10**-9) \n", + "Cj=0.15*(10**-12) #F\n", + "Rs=10 #ohm\n", + "T=293 #K\n", + "nktbye=25*(10**-3) #V\n", + "\n", + "#Rj\n", + "Rj=(nktbye/Is) \n", + "print 'Rj:' ,Rj/1000,'Kohm'\n", + "\n", + "#Bi\n", + "Bi=nktbye/2 \n", + "Bii=Bi*1000 \n", + "print 'Bi:' ,Bii,'A/W'\n", + "\n", + "#Bv\n", + "Bv=Rj*Bii \n", + "print 'Bv:',Bv, 'V/W'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Rj: 250.0 Kohm\n", + "Bi: 12.5 A/W\n", + "Bv: 3125000.0 V/W\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 650 Example 12.2" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import log10 \n", + "#Given\n", + "vswr=4 \n", + "\n", + "modT=(vswr-1)/(vswr+1) \n", + "Lm=-10*log10(1-(modT*modT)) #dB\n", + "print 'Mismatch Loss:' ,Lm,'dB'\n", + "\n", + "#Sensitivity reduces by a factor\n", + "Bvd=(1-(modT*modT)) \n", + "Bvdp=Bvd*100 \n", + "print 'Voltge sensitivity reduces by:' ,Bvdp,'%'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Mismatch Loss: -0.0 dB\n", + "Voltge sensitivity reduces by: 100 %\n" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 650 Example 12.3" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import sqrt , pi\n", + "#Given\n", + "f=10e9 #Hz\n", + "c=3e10 #cm/s\n", + "a=4 #cm\n", + "s=0.1 #cm\n", + "lmb=c/f #cm\n", + "lmbg=lmb/(sqrt(1-((lmb/(2*a))**2))) \n", + "vswr=lmbg/(pi*s) \n", + "print 'VSWR: %0.3f'%vswr\n", + "\n", + "#Answer in book for lmbg is given as 3.49 but it should be 3.23 and hence the answer will be 10.3" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "VSWR: 10.301\n" + ] + } + ], + "prompt_number": 4 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 651 Example 12.4" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "delx=3.5 #cm\n", + "s=0.25 #cm\n", + "\n", + "lmbg=2*delx \n", + "vswr=lmbg/(pi*s) \n", + "print 'VSWR: %0.3f'%vswr" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "VSWR: 8.913\n" + ] + } + ], + "prompt_number": 5 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 651 Example 12.5" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "vswr=2 \n", + "Pin=4.5e-3 #W\n", + "\n", + "modT=(vswr-1)/(vswr+1) \n", + "#Power reflected,\n", + "Pr=(modT**2)*Pin \n", + "#As coupler samples only 1/1000th power\n", + "Prr=Pr*1000 \n", + "print 'Reflected Power:' ,Prr,'W'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Reflected Power: 0.5 W\n" + ] + } + ], + "prompt_number": 5 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 652 Example 12.6" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import tan\n", + "#Given\n", + "Z0=50 #ohm\n", + "p=2.4 \n", + "L=0.313 \n", + "x=2*pi*L \n", + "y=tan(x) \n", + "\n", + "Zl=(Z0*(1+(p*p*1J)))/(p+(p*1J)) \n", + "T=(Zl-Z0)/(Zl+Z0) \n", + "p=sqrt(((T.real))**2+((T.imag))**2) \n", + "print 'Reflection coefficient: %0.3f'%p" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Reflection coefficient: 0.412\n" + ] + } + ], + "prompt_number": 6 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 652 Example 12.7" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Zl=25+25*1J #ohm\n", + "Z0=50 #ohm\n", + "\n", + "T=(Zl-Z0)/(Zl+Z0) \n", + "p=sqrt(((T.real))**2+((T.imag))**2) \n", + "print 'Reflection coefficient: %0.3f'%p\n", + "\n", + "vswrr=(1+p)/(1-p) \n", + "print 'VSWR: %0.3f'%vswrr\n", + "\n", + "#Fraction of power delivered\n", + "Pd=1-(p**2) \n", + "Pdp=Pd*100 \n", + "\n", + "print 'Fraction of power delivered:',Pdp, '%'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Reflection coefficient: 0.447\n", + "VSWR: 2.618\n", + "Fraction of power delivered: 80.0 %\n" + ] + } + ], + "prompt_number": 8 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 653 Example 12.8" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "d=2.4 #cm\n", + "lmbc=1.8 \n", + "c=3*10**10 #cm/s\n", + "\n", + "lmbg=2*d \n", + "lmb=(lmbg*lmbc)/(sqrt(lmbg**2+lmbc**2)) \n", + "#Operating frequency\n", + "f=c/lmb \n", + "print 'Operating frequency: %0.3f'%(f/10**9),'GHz'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Operating frequency: 17.800 GHz\n" + ] + } + ], + "prompt_number": 9 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 653 Example 12.9" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from numpy import mat\n", + "#Given\n", + "p=1.5 \n", + "IsL=1 #dB\n", + "InL=30 #dB\n", + "\n", + "S21=10**(-IsL/20) \n", + "\n", + "#Assuming tgree ports to be identical\n", + "S32=S21 \n", + "S13=S21 \n", + "\n", + "#Isolations are also the same\n", + "S31=10**(-InL/20) \n", + "S23=S31 \n", + "S12=S31 \n", + "\n", + "#Refelction coefficients are also the same\n", + "T=(p-1)/(p+1) \n", + "S11=T \n", + "S22=T \n", + "S33=T \n", + "\n", + "S=mat([[S11, S12, S13], [S21, S22, S23], [S31, S32, S33] ])\n", + "print 'Matrix is:\\n' ,S" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Matrix is:\n", + "[[ 0.2 0.03162278 0.89125094]\n", + " [ 0.89125094 0.2 0.03162278]\n", + " [ 0.03162278 0.89125094 0.2 ]]\n" + ] + } + ], + "prompt_number": 10 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 654 Example 12.10" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "R1=10.6 #GHz\n", + "R2=8.30 #GHz\n", + "Q0=8200 \n", + "Q0d=890 \n", + "\n", + "Er=(R1/R2)**2 \n", + "print 'Dielectric constant %0.3f'%Er\n", + "\n", + "Qd=(Q0-Q0d)/(Q0*Q0d) \n", + "print 'Loss tangent of dielectric' ,Qd" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Dielectric constant 1.631\n", + "Loss tangent of dielectric 0\n" + ] + } + ], + "prompt_number": 13 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 654 Example 12.11" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "l0=0.15 #cm\n", + "lmbg=2*2.24 #cm\n", + "le=1.14 #cm\n", + "a=2.286 #cm\n", + "d=2 \n", + "\n", + "B0=(2*pi)/lmbg \n", + "x=tan(B0*l0)/(B0*l0) \n", + "#Also\n", + "x1=(l0*x)/le \n", + "#Correct value seems to be\n", + "Bele=2.786 \n", + "e1=((((a/pi)**2)*(Bele/le)**2)+1) \n", + "e2=(((2*a)/lmbg)**2)+1 \n", + "Er=e1/e2 \n", + "print 'Er: %0.3f'%Er\n", + "\n", + "\n", + "#Answer in book for Er is given as 2.062 but it should be 2.038" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Er: 2.039\n" + ] + } + ], + "prompt_number": 14 + } + ], + "metadata": {} + } + ] +} diff --git a/Microwave_Engineering_by_G._S._Raghuvanshi/Ch2.ipynb b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch2.ipynb new file mode 100644 index 00000000..81e488f7 --- /dev/null +++ b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch2.ipynb @@ -0,0 +1,1319 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:e6553dcd70d4d8b28a08356b9f55414eb14b3817d8217dcdd5394858fb7e9bf3" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Ch-2 : Waveguides" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number:91 Example 2.1" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "from math import sqrt\n", + "\n", + "#Given,\n", + "\n", + "a=6 #cm\n", + "b=4 #cm\n", + "d=4.47 #cm\n", + "c=3e8 #m/s\n", + "lamc=2*a \n", + "lamg=2*d \n", + "\n", + "#Signal wavelength\n", + "lam=lamg*lamc/(sqrt(lamg**2+lamc**2)) \n", + "lam=lam/100 #m\n", + "f=c/lam \n", + "print 'Signal frequency of dominant mode: %0.3f'%(f/1e9), 'Ghz'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Signal frequency of dominant mode: 4.185 Ghz\n" + ] + } + ], + "prompt_number": 58 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 92 Example 2.2" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import pi \n", + "#Given,\n", + "c=3e8 #m/s\n", + "a=2.5 #cm\n", + "b=5 #cm\n", + "lam=4.5 #cm\n", + "\n", + "lamc=2*b \n", + "\n", + "#Guide wavelength\n", + "lamg=lam/(sqrt(1-((lam/lamc)**2))) \n", + "print 'Guide wavelength: %0.3f'%lamg,'cm'\n", + "\n", + "#Phase constant\n", + "bet=(2*pi)/lamg \n", + "bet=bet*100 #rad/m\n", + "print 'Phase constant: %0.3f'%bet,'rad/m'\n", + "\n", + "#Phase velocity\n", + "w=(2*pi*c)/lam \n", + "vp=w/bet \n", + "print 'Phase velocity: %0.3f'%vp,'m/s'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Guide wavelength: 5.039 cm\n", + "Phase constant: 124.690 rad/m\n", + "Phase velocity: 3359355.066 m/s\n" + ] + } + ], + "prompt_number": 59 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 92 Example 2.3" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given,\n", + "\n", + "c=3e8 #m/s\n", + "a=4 #cm\n", + "b=2 #cm\n", + "f=10e9 #Hz\n", + "m=1 \n", + "n=1 \n", + "\n", + "\n", + "#Cutoff wavelength\n", + "lamc=2/sqrt((m/a)**2+(n/b)**2) \n", + "print 'Cut-off wavelength: %0.3f'%lamc,'cm'\n", + "\n", + "#Wave impedance\n", + "lam=c/f #m\n", + "lam=lam*100 #cm\n", + "eeta=120*pi \n", + "z0=eeta*sqrt(1-(lam/lamc)**2) \n", + "print 'Wave impedance: %0.3f'%z0,'ohm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Cut-off wavelength: 3.578 cm\n", + "Wave impedance: 205.408 ohm\n" + ] + } + ], + "prompt_number": 62 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 93 Example 2.4" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given,\n", + "c=3e8 #m/s\n", + "f=10e9 #Hz\n", + "zte=410 #ohm\n", + "\n", + "#Wider dimension\n", + "lam=c/f #m\n", + "lam=lam*100 #cm\n", + "a=3/(2*(sqrt(1-(120*pi/zte)**2))) \n", + "print 'Wider dimension: %0.3f'%a, 'cm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Wider dimension: 3.816 cm\n" + ] + } + ], + "prompt_number": 64 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 93 Example 2.5" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given,\n", + "c=3e8 #m/s\n", + "a=3.0 #cm\n", + "b=1.5 #cm\n", + "mur=1 \n", + "er=2.25 \n", + "x=mur*er \n", + "\n", + "#(i) Cutoff wavelength and frequencuy\n", + "print 'TE10 mode' \n", + "m1=1 \n", + "n1=0 \n", + "lamc10=2/sqrt((m1/a)**2+(n1/b)**2) \n", + "print 'Cut-off wavelength:',lamc10, 'cm'\n", + "lamc10=lamc10/100 \n", + "f10=c/(lamc10*sqrt(x)) \n", + "print 'Cutoff frequency:%0.3f'%(f10/1e9),'Ghz'\n", + "\n", + "print 'TE20 mode' \n", + "m2=2 \n", + "n2=0 \n", + "lamc20=2/sqrt((m2/a)**2+(n2/b)**2) \n", + "print 'Cut-off wavelength:',lamc20, 'cm'\n", + "lamc20=lamc20/100 \n", + "f20=c/(lamc20*sqrt(x)) \n", + "print 'Cutoff frequency: %0.3f'%(f20/1e9),'Ghz'\n", + "\n", + "print 'TE11 mode' \n", + "m3=1 \n", + "n3=1 \n", + "lamc11=2/sqrt((m3/a)**2+(n3/b)**2) \n", + "print 'Cut-off wavelength: %0.3f'%lamc11,'cm'\n", + "lamc11=lamc11/100 \n", + "f11=c/(lamc11*sqrt(x)) \n", + "print 'Cutoff frequency: %0.3f'%(f11/1e9), 'Ghz'\n", + "\n", + "#(ii) lambg and Z0\n", + "f=4e9 #Hz\n", + "lam=c/f \n", + "lamg=lam/(sqrt(x-((lam/lamc10)**2))) \n", + "print 'Guide wavelength: %0.3f'%(lamg*100),'cm'\n", + "\n", + "fc=3.33e9 #Hz\n", + "Z0=(120*pi*(1/sqrt(x))*(b/a))/sqrt(1-((fc/f)**2)) \n", + "print 'Impedance: %0.3f'%round(Z0), 'ohm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "TE10 mode\n", + "Cut-off wavelength: 6.0 cm\n", + "Cutoff frequency:3.333 Ghz\n", + "TE20 mode\n", + "Cut-off wavelength: 3.0 cm\n", + "Cutoff frequency: 6.667 Ghz\n", + "TE11 mode\n", + "Cut-off wavelength: 2.683 cm\n", + "Cutoff frequency: 7.454 Ghz\n", + "Guide wavelength: 9.045 cm\n", + "Impedance: 227.000 ohm\n" + ] + } + ], + "prompt_number": 65 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 95 Example 2.5" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given,\n", + "c=3e8 #m/s\n", + "a=4 #cm\n", + "b=2 #cm\n", + "\n", + "#(i) Mode\n", + "lamc=2*a #cm\n", + "lamcm=lamc/100 #m\n", + "fc=c/lamcm \n", + "#20% above fc\n", + "f=1.2*fc #Hz\n", + "\n", + "#Operating wavelength\n", + "lam1=c/f #cm\n", + "\n", + "#For TE10 mode\n", + "lamc10=2*b #cm\n", + "lamcm10=lamc10/100 #m\n", + "fc10=c/lamcm10 \n", + "print 'Hence mode of operation is TE10','Since guide is operating at' ,fc/1e6,'MHz'\n", + "\n", + "#(ii)Guide wavelength\n", + "lamm1=lam1*100 #cm\n", + "lamg=lamm1/(sqrt(1-(lamm1/lamc)**2)) \n", + "print 'Guide wavelength:%0.3f'%lamg,'cm'\n", + "\n", + "#(iii) Phase velocity\n", + "vp=f*lamg \n", + "print 'Phase velocity: %0.3f'%(vp/100),'m/s'\n", + "\n", + "#(iii) Group velocity\n", + "vg=c**2/vp \n", + "print 'Group velocity: %0.3f'%vg, 'm/s'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Hence mode of operation is TE10 Since guide is operating at 3750.0 MHz\n", + "Guide wavelength:12.060 cm\n", + "Phase velocity: 542720420.240 m/s\n", + "Group velocity: 1658312.395 m/s\n" + ] + } + ], + "prompt_number": 68 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 96 Example 2.8" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given,\n", + "c=3e8 #m/s\n", + "a=7 #cm\n", + "b=3.5 #cm\n", + "f=3e9 #Hz\n", + "h0=10 #amp/m\n", + "\n", + "#Wave impedance\n", + "lamc=2*a \n", + "lam=c/f #m\n", + "lam=lam*100 #cm\n", + "lamg=lam/sqrt(1-(lam/lamc)**2) #cm\n", + "z0=377*lamg/h0 #ohm\n", + "\n", + "a1=a/100 #m\n", + "b1=b/100 #m\n", + "#Average power transmitted\n", + "p=(z0*h0*h0*a1*b1)/4 \n", + "print 'Average power transmitted: %0.3f'%p, 'W'\n", + "\n", + "#Peak electric field\n", + "e0=z0*h0 \n", + "print 'Peak electric field: %0.3f'%(e0/1000),'kV/m'\n", + "\n", + "#Answer for p is given as 28.3 W but it should be 32.99W" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Average power transmitted: 32.994 W\n", + "Peak electric field: 5.387 kV/m\n" + ] + } + ], + "prompt_number": 70 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 96 Example 2.9" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " #Given,\n", + "c=3e8 #m/s\n", + "fc=3e9 #Hz\n", + "\n", + "#Cutoff wavelength\n", + "lamc=c/fc \n", + "a=lamc/2 #m\n", + "a=a*100 #cm\n", + "print 'Dimensions:' \n", + "print 'a:' ,a,'cm'\n", + "b=a/2 #cm\n", + "print 'b:' ,b,'cm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Dimensions:\n", + "a: 5.0 cm\n", + "b: 2.5 cm\n" + ] + } + ], + "prompt_number": 35 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: Example 2.10" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given,\n", + "\n", + "c=3e8 #m/s\n", + "a=3 #cm\n", + "a1=a/100 #m\n", + "b=2 #cm\n", + "b1=b/100 #m\n", + "f=7.5e9 #HZ\n", + "p=5e3 #W\n", + "\n", + "mu=pi*4e-7 \n", + "w=2*pi*f \n", + "bet=sqrt(((w/c)**2)-((pi/a1)**2)) \n", + "#Charecteristic impedance\n", + "z0=w*mu*2*b/(bet*a) \n", + "print 'Charecteristic impedance : %0.3f'%z0,'ohm'\n", + "\n", + "#Peak electric field\n", + "e0=4*w*mu*p/(bet*a*b) \n", + "print 'Peak electric field: %0.3f'%e0,'V/m'\n", + "\n", + "#Maximum voltage\n", + "v0=e0*b1 \n", + "print 'Maximum voltage: %0.3f'%(v0/1000),'kV'\n", + "\n", + "#Answer for v0 is given as 3.172 kV it should be 33.71 kV" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Charecteristic impedance : 674.382 ohm\n", + "Peak electric field: 1685955.535 V/m\n", + "Maximum voltage: 33.719 kV\n" + ] + } + ], + "prompt_number": 73 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 99 Example 2.14" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given,\n", + "c=3e8 #m/s\n", + "a=1.5 #cm\n", + "a1=a/100 #m\n", + "b=0.8 #cm\n", + "b1=b/100 #m\n", + "mu=1/c*c \n", + "e=4 \n", + "w=pi*1e11 \n", + "n=377 \n", + "\n", + "#(i) Frequency of operation\n", + "f=w/(2*pi) \n", + "f1=f/1e9 #ghz\n", + "print 'Frequency of operation:' ,f1,'Ghz'\n", + "\n", + "#(ii) Cutt off frequency\n", + "fc=(c*sqrt((1/a1)**2+(3/b1)**2))/(2*sqrt(e)) \n", + "fc1=fc/1e9 #ghz\n", + "print 'Cut off frequency: %0.3f'%fc1,'Ghz'\n", + "\n", + "#(iii) Phase constant\n", + "bet=(w*sqrt(e)*sqrt(1-(fc/f)**2))/(c) \n", + "print 'Phase constant: %0.3f'%bet,'rad/m'\n", + "\n", + "#(iv) Propogation constant\n", + "gam=1J*bet \n", + "print 'Propogation constant: {:.3}'.format(gam),'rad/s'\n", + "\n", + "#(v) Intrensic wave impedance\n", + "zte=(n/sqrt(e))/sqrt(1-(fc/f)**2) \n", + "ztm=(n/sqrt(e))*sqrt(1-(fc/f)**2) \n", + "print 'Intrinsic wave impedance:\\n' ,'ZTM13 :%0.3f'%ztm,'Ohm','ZTE13 : %0.3f'%zte,'Ohm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Frequency of operation: 50.0 Ghz\n", + "Cut off frequency: 28.566 Ghz\n", + "Phase constant: 1718.928 rad/m\n", + "Propogation constant: 1.72e+03j rad/s\n", + "Intrinsic wave impedance:\n", + "ZTM13 :154.707 Ohm ZTE13 : 229.674 Ohm\n" + ] + } + ], + "prompt_number": 81 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 103 Example 2.17" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "a=2 #cm\n", + "a1=1/100 #m\n", + "b=1 #cm\n", + "b1=b/100 #m\n", + "p=10e-3 #W\n", + "c=3e8 #m/s\n", + "f0=10e9 #Hz\n", + "\n", + "#Peak value of electric field\n", + "fc=c/(2*a) \n", + "E02=(4*p*377)/(a1*b1*sqrt(1-(fc/f0)**2)) \n", + "E0=sqrt(E02) \n", + "print 'Peak value of electric field: %0.3f'%E0, 'V/m'\n", + "\n", + "#Maximum power transmitted\n", + "Ed=3e6 #V/m\n", + "Pt=2.6e13*(Ed/f0)**2 \n", + "print 'Maximum power transmitted: %0.3f'%(Pt/1000), 'kW'\n", + "\n", + "#Answer is given as 2300kW but it is 2340kW" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Peak value of electric field: 388.335 V/m\n", + "Maximum power transmitted: 2340.000 kW\n" + ] + } + ], + "prompt_number": 83 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 104 Example 2.18" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division \n", + "import cmath\n", + "#Given\n", + "f=5e9 #Hz\n", + "c=3e8 #m/s\n", + "a=7.5 #cm\n", + "a1=a/100 #m\n", + "b=3.5 #cm\n", + "b1=b/100 #m\n", + "lam=c/f \n", + "lamm=lam*100 #m\n", + "\n", + "print 'TE10 mode' \n", + "lamc10=2*a \n", + "bet10=(2*pi*sqrt(((lamc10/lamm)**2)-1))/lamc10 \n", + "print 'Propogation constant: %0.3f'%bet10,'rad/cm'\n", + "vp10=(2*pi*f)/bet10 \n", + "print 'Phase velocity: %0.3f'%(vp10/100),'m/s'\n", + "\n", + "print 'TE01 mode' \n", + "lamc01=2*b \n", + "bet01=(2*pi*sqrt(((lamc01/lamm)**2)-1))/lamc01 \n", + "print 'Propogation constant: %0.3f'%bet01, 'rad/cm'\n", + "vp01=(2*pi*f)/bet01 \n", + "print 'Phase velocity: %0.3f'%(vp01/100), 'm/s'\n", + "\n", + "print 'TE11 mode' \n", + "lamc11=(2*a*b)/sqrt((a*a)+(b*b)) \n", + "bet11=(2*pi*sqrt(((lamc11/lamm)**2)-1))/lamc11 \n", + "print 'Propogation constant: %0.3f'%bet11,'rad/cm'\n", + "vp11=(2*pi*f)/bet11 \n", + "print 'Phase velocity: %0.3f'%(vp11/100), 'm/s'\n", + "\n", + "print 'TE02 mode' \n", + "lamc02=b \n", + "bet02=(2*pi*cmath.sqrt(((lamc02/lamm)**2)-1))/lamc02 \n", + "print 'Propogation constant: {:.3f}'.format(bet02), 'rad/cm'\n", + "print 'As beta is imaginary, mode gets attenuated' \n", + "alp=(2*pi*sqrt(1-((lamc02/lamm)**2)))/lamc02 \n", + "print 'Propogation constant alpha: %0.3f'%alp, 'Np/m'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "TE10 mode\n", + "Propogation constant: 0.960 rad/cm\n", + "Phase velocity: 327326835.354 m/s\n", + "TE01 mode\n", + "Propogation constant: 0.539 rad/cm\n", + "Phase velocity: 582435206.036 m/s\n", + "TE11 mode\n", + "Propogation constant: 0.340 rad/cm\n", + "Phase velocity: 924473451.642 m/s\n", + "TE02 mode\n", + "Propogation constant: 0.000+1.458j rad/cm\n", + "As beta is imaginary, mode gets attenuated\n", + "Propogation constant alpha: 1.458 Np/m\n" + ] + } + ], + "prompt_number": 93 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 105 Example 2.19" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import log10 , exp\n", + "#Given\n", + "c=3e8 #m/s\n", + "a=2.29 #cm\n", + "b=1.02 #cm\n", + "a1=a/100 #m\n", + "b1=b/100 #m\n", + "f=6e9 #Hz\n", + "e=1 \n", + "mu=1/(c**2) \n", + "\n", + "#Cut off frequency\n", + "lamc=2*a1 \n", + "fc=c/lamc \n", + "w=2*pi*fc \n", + "\n", + "#Attenuation constant\n", + "a=(w*sqrt(1-((f/fc)**2)))/c \n", + "adb=-20*log10(exp(-a)) \n", + "print 'Attenuation constant: %0.3f'%adb,'dB/m'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Attenuation constant: 478.042 dB/m\n" + ] + } + ], + "prompt_number": 94 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 105 Example 2.20" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given,\n", + "a1=1.84 \n", + "a2=pi \n", + "\n", + "r=2*pi*(a1/a2)**2 \n", + "print 'Cross section ratio: %0.3f'% r" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Cross section ratio: 2.155\n" + ] + } + ], + "prompt_number": 95 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 106 Example 2.21" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "c=3e8 #m/s\n", + "f=15e9 #hz\n", + "a=1.07 #cm\n", + "a1=a/100 #m\n", + "b=0.43 #cm\n", + "b1=b/100 #m\n", + "er=2.08 \n", + "tandel=0.0004 \n", + "lam=c/f \n", + "\n", + "\n", + "#(i) Cut off frequency\n", + "m1=1 \n", + "n1=0 \n", + "fc10=(c/(2*pi*sqrt(er))*sqrt((m1*pi/a1)**2+(n1*pi/b1)**2)) \n", + "print 'Cut off frequency for mode TE10: %0.3f'%(fc10/10**9), 'GHz'\n", + "\n", + "m2=2 \n", + "n2=0 \n", + "fc20=(c/(2*pi*sqrt(er))*sqrt((m2*pi/a1)**2+(n2*pi/b1)**2)) \n", + "print 'Cut off frequency at mode TE20: %0.3f'%(fc20/10**9), 'Ghz'\n", + "\n", + "m3=0 \n", + "n3=1 \n", + "fc01=(c/(2*pi*sqrt(er))*sqrt((m3*pi/a1)**2+(n3*pi/b1)**2)) \n", + "print 'Cut off frequency at mode TE01: %0.3f'%(fc01/10**9),'Ghz'\n", + "\n", + "#Dielectric attenuation constant\n", + "ad=(pi*tandel)/(lam*sqrt(1-(fc10/f)**2)) \n", + "adb=-20*log10(exp(-ad)) \n", + "print 'Attenuation constant: %0.3f'%adb,'dB/m'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Cut off frequency for mode TE10: 9.720 GHz\n", + "Cut off frequency at mode TE20: 19.440 Ghz\n", + "Cut off frequency at mode TE01: 24.188 Ghz\n", + "Attenuation constant: 0.717 dB/m\n" + ] + } + ], + "prompt_number": 98 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 106 Example 2.22" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "c=3e8 #m/s\n", + "a=2.286 #cm\n", + "a1=a/100 #m\n", + "b=1.016 #cm\n", + "b1=b/100 #m\n", + "sig=5.8e7 #s/m\n", + "f=9.6e9 #Hz\n", + "\n", + "w=2*pi*f \n", + "mu=pi*4e-7 \n", + "et=377 \n", + "\n", + "lam=c/f \n", + "lamc=2*a1 \n", + "r=lam/lamc \n", + "\n", + "Rs=sqrt((w*mu)/(2*sig)) \n", + "ac=(Rs*(1+(2*(b1/a1)*r*r)))/(et*b1*sqrt(1-(r**2))) \n", + "adb=-20*log10(exp(-ac)) \n", + "print 'Conductor attenuation constant: %0.3f'%adb, 'dB/m'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Conductor attenuation constant: 0.112 dB/m\n" + ] + } + ], + "prompt_number": 99 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 107 Example 2.23" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "c=3e8 #m/s\n", + "f=9e9 #hz\n", + "a=5 #cm\n", + "a1=a/100 #m\n", + "e=1 \n", + "mu=1/(c*c) \n", + "p11=1.841 \n", + "\n", + "fc=(p11*c)/(2*pi*a1) \n", + "#Maximum power transmitted\n", + "pmax=1790*(a1*a1)*sqrt(1-((fc/f)**2)) \n", + "print 'Maximum power transmitted:%0.3f'%pmax,'kW'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Maximum power transmitted:4.389 kW\n" + ] + } + ], + "prompt_number": 100 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 108 Example 2.26" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "c=3e8 #m/s\n", + "a=5 #cm\n", + "a1=a/100 #m\n", + "f=3e9 #hz\n", + "p11=1.841 \n", + "e=1 \n", + "w=2*pi*f \n", + "\n", + "#(i) Cut off frequency\n", + "fc=(p11*c)/(2*pi*a1) \n", + "print 'Cut off frequency: %0.3f'%(fc/10**9),'Ghz'\n", + "\n", + "#(ii) Guide wavelength\n", + "bet=sqrt(((w*w)/(c*c))-((p11/a1)**2)) \n", + "lamg=(2*pi)/bet \n", + "lamg1=lamg*100 #cm\n", + "print 'Guide wavelength: %0.3f'%lamg1, 'cm'\n", + "\n", + "#(iii) Wave impedance\n", + "zte=(w*pi*4e-7)/bet \n", + "print 'Wave impedance:' ,round(zte),'ohm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Cut off frequency: 1.758 Ghz\n", + "Guide wavelength: 12.341 cm\n", + "Wave impedance: 465.0 ohm\n" + ] + } + ], + "prompt_number": 101 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number:108 Example 2.25" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "c=3e8 #m/s\n", + "p01=2.405 \n", + "a=1/100 #cm\n", + "p11=1.841 \n", + "\n", + "fc01=((c*p01)/(2*pi*a)) \n", + "fc11=((c*p11)/(2*pi*a)) \n", + "bw=fc01-fc11 \n", + "print 'Bandwidth: %0.3f'%(bw/10**9), 'Ghz'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Bandwidth: 2.693 Ghz\n" + ] + } + ], + "prompt_number": 102 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 109 Example 2.26" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "c=3e8 #m/s\n", + "a=2.286 #cm\n", + "f=5e9 #Hz\n", + "er=2.25 \n", + "tandel=1e-3 \n", + "w=2*pi*f \n", + "mu=4e-7 \n", + "sig=5.8e7 #s/m\n", + "\n", + "lamc=2*a \n", + "lamm=c/f #m\n", + "lam=lamm*100 #cm\n", + "\n", + "ermax=(lam/a)**2 \n", + "print 'Maximum value of dielectric constant: %0.3f'%ermax\n", + "ermin=(lam/(2*a))**2 \n", + "print 'Minimum value of dielectric constant: %0.3f'%ermin\n", + "\n", + "#Guide wavelength\n", + "lam1=lam/sqrt(er) #cm\n", + "lamg=lam1/sqrt(1-(lam1/lamc)**2) \n", + "print 'Guide wavelength: %0.3f'%lamg, 'cm'\n", + "\n", + "lamm1=lam1/100 \n", + "ad=(pi/lamm1)*(tandel/sqrt(1-(lam1/lamc)**2)) \n", + "print 'ad: %0.3f'%ad,'Np/m'\n", + "bet=2*pi/lamg \n", + "print 'Beta: %0.3f'%bet, 'rad/cm'\n", + "vp=w/(bet*100) \n", + "print 'Phase velocity: %0.3f'%vp, 'm/s'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Maximum value of dielectric constant: 6.889\n", + "Minimum value of dielectric constant: 1.722\n", + "Guide wavelength: 8.259 cm\n", + "ad: 0.162 Np/m\n", + "Beta: 0.761 rad/cm\n", + "Phase velocity: 412949668.492 m/s\n" + ] + } + ], + "prompt_number": 107 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 110 Example 2.27" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "c=3e8 #m/s\n", + "a=0.5 #cm\n", + "a1=a/100 #m\n", + "f=14e9 #Hz\n", + "er=2.08 \n", + "p11=1.841 \n", + "p01=2.405 \n", + "tandel=4e-4 \n", + "w=2*pi*f \n", + "u=pi*4e-7 \n", + "sig=4.1e7 \n", + "et=377 \n", + "\n", + "#(i) Cut off frequencies\n", + "fcte11=p11*c/(2*pi*a1*sqrt(er)) \n", + "fctm01=p01*c/(2*pi*a1*sqrt(er)) \n", + "print 'Cut off frequencies for TE11 mode: %0.3f'%(fcte11/10**9),'Ghz'\n", + "print 'Cut off frequencies for TM01 mode:%0.3f'%(fctm01/10**9), 'Ghz'\n", + "\n", + "#(ii) Overall noise\n", + "#Dielectric attenuation\n", + "ad=(pi*sqrt(er)*tandel*f)/(c*sqrt(1-((fcte11/f)**2))) \n", + "print 'Dielectric attenuation: %0.3f'%(ad*8.686), 'dB/m'\n", + "\n", + "#Conductor attenuation\n", + "k=(2*pi*f*sqrt(er))/c \n", + "bet=sqrt((k*k)-((p11/a1)**2)) \n", + "#Surface resistance\n", + "rs=sqrt((w*u)/(2*sig)) \n", + "kc2=(p11/a1)**2 \n", + "\n", + "ac=(rs*(kc2-((k**2)/((p11**2)-1))))/(a1*k*et*bet) \n", + "print 'Conductor attenuation: %0.3f'%(ac*8.686), 'dB/m'\n", + "\n", + "#Total attenuation\n", + "a=(ac+ad)*8.686 \n", + "print 'Total attenuation: %0.3f'%a,'dB/m'\n", + "ta=a*0.3 \n", + "print 'Total attenuation in 30 cm line: %0.3f'%ta,'dB'\n", + "\n", + "#Answer for condcutor attenuation is wrong in book, hence answer for total loss is different" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Cut off frequencies for TE11 mode: 12.190 Ghz\n", + "Cut off frequencies for TM01 mode:15.924 Ghz\n", + "Dielectric attenuation: 1.494 dB/m\n", + "Conductor attenuation: 0.117 dB/m\n", + "Total attenuation: 1.610 dB/m\n", + "Total attenuation in 30 cm line: 0.483 dB\n" + ] + } + ], + "prompt_number": 111 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 112 Example 2.28" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "c=3e8 #m/s\n", + "er=9 \n", + "a=7 #cm\n", + "a1=a/100 #m\n", + "b=3.5 #cm\n", + "b1=b/100 #m\n", + "ur=1 \n", + "f1=2e9 #Hz\n", + "\n", + "#(i) Cut off frequency\n", + "lamc=2*a1 \n", + "fc=c/(lamc*sqrt(ur*er)) \n", + "print 'Cut off frequency:%0.3f'%(fc/10**9), 'Ghz'\n", + "\n", + "#(ii) Phase velocity\n", + "lam=c/f1 #m\n", + "lam1=lam*100 #cm\n", + "lamc1=lamc*100 #cm\n", + "lamg=lam1/(sqrt((ur*er)-((lamc1/lam1)**2))) #cm\n", + "lamg1=lamg/100 #m\n", + "vp=f1*lamg1 \n", + "print 'Phase velocity:%0.3f'%vp, 'm/s'\n", + "\n", + "#/(iii)Guide wavelength\n", + "print 'Guide wavelength: %0.3f'%lamg, 'cm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Cut off frequency:0.714 Ghz\n", + "Phase velocity:105221784.048 m/s\n", + "Guide wavelength: 5.261 cm\n" + ] + } + ], + "prompt_number": 114 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 112 Example 2.29" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "c=3e8 #m/s\n", + "fc=9e9 #Hz\n", + "er=1 \n", + "er1=4 \n", + "p11=1.841 \n", + "\n", + "#(i) air filled\n", + "a=(p11*c)/(2*pi*fc*sqrt(er)) \n", + "print 'Inside diameter if air filled: %0.3f'%(a*100),'cm'\n", + "#(ii) dielectric field\n", + "a1=(p11*c)/(2*pi*fc*sqrt(er1)) \n", + "print 'Inside diameter if dielectric filled: %0.3f'%(a1*100),'cm'\n", + "\n", + "#Answers are calculated wrong in book" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Inside diameter if air filled: 0.977 cm\n", + "Inside diameter if dielectric filled: 0.488 cm\n" + ] + } + ], + "prompt_number": 116 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 113 Example 2.30" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "c=3e8 #m/s\n", + "er=2.55 \n", + "d=1 #mm\n", + "d1=d/1000 #m\n", + "\n", + "#Cut off frequencies\n", + "fctm0=0 \n", + "print 'Cut off frequency for mode TM0:',fctm0, 'Ghz'\n", + "\n", + "fcte1=c/(4*d1*sqrt(er-1)) \n", + "print 'Cut off frequency at mode TE1: %0.3f'%(fcte1/10**9),'Ghz'\n", + "\n", + "fctm1=c/(2*d1*sqrt(er-1)) \n", + "print 'Cut off frequency at mode TM1: %0.3f'%(fctm1/10**9),'Ghz'\n", + "\n", + "\n", + "#Answers are calculated wrong in book" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Cut off frequency for mode TM0: 0 Ghz\n", + "Cut off frequency at mode TE1: 60.241 Ghz\n", + "Cut off frequency at mode TM1: 120.483 Ghz\n" + ] + } + ], + "prompt_number": 117 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 113 Example 2.31" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given,\n", + "c=3e8 #m/s\n", + "f=15e9 #hz\n", + "d=5 #mm\n", + "d1=d/1000 #m\n", + "\n", + "#Cut off frequency\n", + "fc=0.8*f \n", + "#Dielctric constant\n", + "er=(c/(2*d1*fc))**2+1 \n", + "print 'Dielectric constant:' ,er" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Dielectric constant: 7.25\n" + ] + } + ], + "prompt_number": 118 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Microwave_Engineering_by_G._S._Raghuvanshi/Ch3.ipynb b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch3.ipynb new file mode 100644 index 00000000..58613139 --- /dev/null +++ b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch3.ipynb @@ -0,0 +1,258 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:cae0ff7581c3b5c12e11b4f1b44c3beb02347fef7d7d6837104f81f1c4303c1b" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Ch-3 : Microwave Network Analysis" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 142 Example 3.4" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "from numpy import array, linalg, mat, set_printoptions\n", + "\n", + "#Given\n", + "\n", + "z=mat('[4 2 ;2 4]')\n", + "I=mat('[1 0;0 1]') \n", + "\n", + "\n", + "#Scattering matrix\n", + "s=(z-I)*linalg.inv(z+I)\n", + "set_printoptions(precision=3)\n", + "print 'Scattering Matrix:\\n' ,s" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Scattering Matrix:\n", + "[[ 0.524 0.19 ]\n", + " [ 0.19 0.524]]\n" + ] + } + ], + "prompt_number": 12 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 142 Example 3.5" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import sqrt, pi \n", + "from cmath import exp\n", + "#Given\n", + "P=12.8e-3 #W\n", + "l=3 #cm\n", + "lamb=4.2 #cm\n", + "vswr=2.2 \n", + "jfi=1J*4.49 \n", + "\n", + "#ap\n", + "ap=sqrt(2*P) \n", + "\n", + "#Phase shift\n", + "bl=(2*pi*l)/lamb \n", + "#bp\n", + "bp=(ap*(vswr-1))/(vswr+1) \n", + "\n", + "a=ap*exp(jfi) \n", + "b=bp*exp(jfi) \n", + "print 'Required Waves:\\n{:.3}'.format(a),'\\n{:.3}'.format(b)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Required Waves:\n", + "(-0.0353-0.156j) \n", + "(-0.0132-0.0585j)\n" + ] + } + ], + "prompt_number": 13 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 143 Example 3.6" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " from math import log10\n", + "#Given\n", + "S11=0.10 \n", + "S12=0.90 \n", + "A12=-45 \n", + "S21=0.90 \n", + "A21=45 \n", + "S22=0.3 \n", + "\n", + "#(i) Network is reciprocal\n", + "if(A12==A21):\n", + " print 'Network is reciprocal' \n", + "else:\n", + " \n", + " print 'Network is not reciprocal' \n", + "\n", + "\n", + "#(ii) Network is lossles\n", + "x=(S11**2)+(S12**2) \n", + "if(x==1):\n", + " print 'Network is lossless' \n", + "else:\n", + " \n", + " print 'Network is not lossless' \n", + "\n", + "\n", + "#(iii)Return loss\n", + "T=S11-((S12*S21)/(1+S22)) \n", + "Tm=-T #mod of T\n", + "L=-20*log10(Tm) \n", + "print 'Return Loss: %0.3f'%L,'dB'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Network is not reciprocal\n", + "Network is not lossless\n", + "Return Loss: 5.629 dB\n" + ] + } + ], + "prompt_number": 17 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 163 Example 3.12" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "S11=0.6 \n", + "S12=0.045 \n", + "S21=2.5 \n", + "S22=0.50 \n", + "TS=0.5 \n", + "TL=0.4 \n", + "Z0=50 #ohm\n", + "Vrms=10 #V\n", + "\n", + "#(i) Gain Parameters\n", + "#(i)Reflection coefficients of input and output\n", + "Tin=S11+((S12*S21*TL)/(1-(S22*TL))) \n", + "Tout=S22+((S12*S21*TS)/(1-(S22*TS))) \n", + "\n", + "#Transducer Gain\n", + "x=(1-(TS)**2)/((1-(S11*TS))**2) \n", + "y=(S21*S21) \n", + "z=(1-(TL)**2)/((1-(Tout*TL))**2) \n", + "GT=x*y*z \n", + "print 'Transducer Gain: %0.3f'%GT\n", + "\n", + "#Available Power Gain\n", + "z1=1-(Tout)**2 \n", + "GA=(x*y)/z1 \n", + "print 'Available power Gain: %0.3f'%GA\n", + "\n", + "#Power Gain\n", + "z2=1-(Tin)**2 \n", + "GP=(x*y)/z2 \n", + "print 'Power Gain: %0.3f'%GP\n", + "\n", + "#(ii) Power levels\n", + "#Power available at source\n", + "Pavs=(sqrt(2)*Vrms)**2/(8*Z0) \n", + "print 'Power available at source: %0.3f'%Pavs,'W'\n", + "\n", + "Pl=9.4*Pavs \n", + "#Power available at input\n", + "Pin=Pl/13.5 \n", + "print 'Power available at input: %0.3f'%Pin,'W'\n", + "\n", + "#(iii) VSWRs\n", + "M1=Pin/Pavs \n", + "M2=Pl/(9.6*Pavs) \n", + "\n", + "Tin1=sqrt(1-M1) \n", + "Tout1=sqrt(1-M2) \n", + "\n", + "vswrin=(1+Tin1)/(1-Tin1) \n", + "print 'Input VSWR: %0.3f'%vswrin\n", + "vswrout=(1+Tout1)/(1-Tout1) \n", + "print 'Output VSWR: %0.3f'%vswrout\n", + "\n", + "#Calculations for gain are done wrong in book, hence answers dont match" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Transducer Gain: 13.553\n", + "Available power Gain: 14.291\n", + "Power Gain: 16.803\n", + "Power available at source: 0.500 W\n", + "Power available at input: 0.348 W\n", + "Input VSWR: 3.455\n", + "Output VSWR: 1.337\n" + ] + } + ], + "prompt_number": 20 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Microwave_Engineering_by_G._S._Raghuvanshi/Ch4.ipynb b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch4.ipynb new file mode 100644 index 00000000..080d6f6c --- /dev/null +++ b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch4.ipynb @@ -0,0 +1,1069 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:ffa36c37285243e82f8b7c3abbc469b9a273b2bd68fa586a9dc529ef122af349" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Ch-4: Microwave resonators & Waveguide components" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 193 Example 4.1" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "from math import sqrt \n", + "#Given\n", + "a=5 #cm\n", + "a1=a/100 #m\n", + "b=2 #cm\n", + "b1=b/100 #m\n", + "c=15 #cm\n", + "c1=c/100 #m\n", + "\n", + "#(i) Air filled cavity\n", + "m=1 \n", + "n=0 \n", + "p=1 \n", + "c=3e8 #for air\n", + "fr=(1/2)*c*sqrt((m/a1)**2+(n/b1)**2+(p/c1)**2) #hz\n", + "print 'Resonant frequency for an air filled cavity: %0.3f'%(fr/10**9),'Ghz'\n", + "\n", + "#(ii) Dielctric filled cavity\n", + "er=2.56 \n", + "fr1=(1/2)*(c/sqrt(er))*sqrt((m/a1)**2+(n/b1)**2+(p/c1)**2) #hz\n", + "print 'Resonant frequency for dielectric cavity: %0.3f'%(fr1/10**9),'Ghz'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Resonant frequency for an air filled cavity: 3.162 Ghz\n", + "Resonant frequency for dielectric cavity: 1.976 Ghz\n" + ] + } + ], + "prompt_number": 30 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 193 Example 4.2" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "a=0.38 #cm\n", + "a1=a/100 #m\n", + "b=0.76 #cm\n", + "b1=b/100 #m\n", + "f=50e9 \n", + "c=3e8 \n", + "\n", + "#Length for TE102\n", + "m=1 \n", + "n=0 \n", + "p=2 \n", + "l=1/sqrt((f/c)**2-(1/(4*b1**2))) #m\n", + "print 'Length c: %0.3f'%(l*100),'cm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Length c: 0.653 cm\n" + ] + } + ], + "prompt_number": 31 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 194 Example 4.3" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import pi \n", + "#Given\n", + "c=3e8 #m/s\n", + "a=2.286 #cm\n", + "a1=a/100 #m\n", + "b=1.024 #cm\n", + "b1=b/100 #m\n", + "f=10e9 #hz\n", + "sig=6e7 \n", + "u=4e-7*pi \n", + "w=2*pi*f \n", + "eet=377 \n", + "\n", + "#Shortest cavity length\n", + "lamc=2*a1 #m\n", + "fc=c/lamc #hz\n", + "lam=c/f #m\n", + "lamg=lam/sqrt(1-(fc/f)**2) #m\n", + "sc=lamg/2 #m\n", + "print 'Shortest cavity length: %0.3f'%(sc*100), 'cm'\n", + "\n", + "#Qw of the resonator operating in TE101 mode\n", + "rs=sqrt((w*u)/(2*sig)) #ohm\n", + "lamr=c/f \n", + "x=(((a1*b1)/(sc**2))+((sc**2+a1**2)/(2*sc*a1))+(b1*sc/a1**2)) \n", + "qw=(2*pi*eet*a1*b1*sc)/(rs*(lamr**3)*x) \n", + "print 'Qw of the resonator operating in TE101 mode %0.3f'%qw" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Shortest cavity length: 1.988 cm\n", + "Qw of the resonator operating in TE101 mode 7990.324\n" + ] + } + ], + "prompt_number": 32 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 195 Example 4.4" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "c=3e8 #m/s\n", + "a=4.8 #cm\n", + "a1=a/100 #m\n", + "b=2.2 #cm\n", + "b1=b/100 #m\n", + "f=5e9 #hz\n", + "er=2.25 \n", + "tandel=4e-4 \n", + "sig=5.813e7 \n", + "oneby=3e8 \n", + "u=4e-7*pi \n", + "w=2*pi*f \n", + "eet=377 \n", + "\n", + "#Length at p=1\n", + "m=1 \n", + "n=0 \n", + "p=1 \n", + "z=(f*2*sqrt(er))/c \n", + "cp1=p/sqrt((z**2)-((m/a1)**2)-((n/b1)**2)) \n", + "print 'Length of resonator at p=1: %0.3f'%(cp1*100), 'cm'\n", + "\n", + "#At p=2\n", + "cp2=cp1*2 \n", + "print 'Length of resonator at p=2: %0.3f'%(cp2*100), 'cm'\n", + "\n", + "#Qw\n", + "rs=sqrt((w*u)/(2*sig)) #ohm\n", + "lamr=c/(f*sqrt(er)) \n", + "x=(((a1*b1)/(cp1**2))+((cp1**2+a1**2)/(2*cp1*a1))+(b1*cp1/a1**2)) \n", + "qw=(2*pi*(eet/sqrt(er))*a1*b1*cp1)/(rs*(lamr**3)*x) \n", + "qd=1/tandel \n", + "q=(qw*qd)/(qw+qd) \n", + "print 'Q for TE101 mode: %0.3f'%q" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Length of resonator at p=1: 2.200 cm\n", + "Length of resonator at p=2: 4.400 cm\n", + "Q for TE101 mode: 1925.612\n" + ] + } + ], + "prompt_number": 33 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 196 Example 4.5" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "c=3e8 #m/s\n", + "a=2 #cm\n", + "a1=a/100 #m\n", + "b=2.5 #cm\n", + "b1=b/100 #m\n", + "\n", + "print 'TE modes' \n", + "h01=3.832 \n", + "fr=(c/(2*pi))*sqrt((h01/a1)**2+(pi/b1)**2) #hz\n", + "print 'Resonant frequency for mode TE010: %0.3f'%(fr/10**9),'Ghz'\n", + "\n", + "h11=1.841 \n", + "fr1=(c/(2*pi))*sqrt((h11/a1)**2+(pi/b1)**2) #hz\n", + "print 'Resonant frequency for mode TE111: %0.3f'%(fr1/10**9),'Ghz'\n", + "\n", + "h21=3.054 \n", + "fr2=(c/(2*pi))*sqrt((h21/a1)**2+(pi/b1)**2) #hz\n", + "print 'Resonant frequency for mode TE211: %0.3f'%(fr2/10**9),'Ghz'\n", + "\n", + "print 'TM modes:' \n", + "l1=0 \n", + "h011=2.405 \n", + "fr3=(c/(2*pi))*sqrt((h011/a1)**2+(pi*l1/b1)**2) #hz\n", + "print 'Resonant frequency for mode TM010 %0.3f'%(fr3/10**9),'Ghz'\n", + "\n", + "l2=1 \n", + "fr4=(c/(2*pi))*sqrt((h011/a1)**2+(pi*l2/b1)**2) #hz\n", + "print 'resonant frequency for mode TM011: %0.3f'%(fr4/10**9),'Ghz'\n", + "\n", + "l3=1 \n", + "h111=3.832 \n", + "fr5=(c/(2*pi))*sqrt((h111/a1)**2+(pi*l3/b1)**2) #hz\n", + "print 'Resonant frequency for mode TM111: %0.3f'%(fr5/10**9),'Ghz'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "TE modes\n", + "Resonant frequency for mode TE010: 10.940 Ghz\n", + "Resonant frequency for mode TE111: 7.438 Ghz\n", + "Resonant frequency for mode TE211: 9.442 Ghz\n", + "TM modes:\n", + "Resonant frequency for mode TM010 5.742 Ghz\n", + "resonant frequency for mode TM011: 8.305 Ghz\n", + "Resonant frequency for mode TM111: 10.940 Ghz\n" + ] + } + ], + "prompt_number": 34 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 196 Example 4.6" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "QTM010=1.202 \n", + "QTE101=1.11 \n", + "\n", + "r=QTM010/QTE101 \n", + "print 'Ratio of Qs of cylindrical and rectangular resonators: %0.3f'%r" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Ratio of Qs of cylindrical and rectangular resonators: 1.083\n" + ] + } + ], + "prompt_number": 35 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 197 Example 4.7" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "f=7.07e9 #hz\n", + "a=3 #cm\n", + "a1=a/100 #m\n", + "sig=5.8e7 \n", + "er=2.25 \n", + "tandel=4e-4 \n", + "ur=1 \n", + "n=377 \n", + "w=2*pi*f \n", + "u=4e-7*pi \n", + "\n", + "#Q of resonantor\n", + "rs=sqrt(w*u/(2*sig)) #ohm\n", + "qw=(0.7419*n)/(rs*sqrt(2.25)) \n", + "qd=1/tandel \n", + "q=(qw*qd)/(qw+qd) \n", + "print 'Q of resonator: %0.3f'%q" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Q of resonator: 1931.819\n" + ] + } + ], + "prompt_number": 36 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 198 Example 4.8" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "a=5 #cm\n", + "a1=a/100 #m\n", + "b=4 #cm\n", + "b1=b/100 #m\n", + "c=10 #cm\n", + "c1=c/100 #m\n", + "sig=5.8e7 \n", + "u0=4e-7*pi \n", + "er=3 \n", + "eet=377 \n", + "\n", + "ur=1 \n", + "spl=3e8 \n", + "tandel=2.5e-4 \n", + "\n", + "#TE101 mode\n", + "m=1 \n", + "n=0 \n", + "p=1 \n", + "fr=(spl/(2*sqrt(er*ur)))*sqrt((m/a1)**2+(n/b1)**2+(p/c1)**2) #hz\n", + "print 'Resonant frequency: %0.3f'%(fr/10**9), 'Ghz'\n", + "\n", + "w=2*pi*fr \n", + "rs=sqrt((w*u0)/(2*sig)) #ohm\n", + "lamr=spl/(fr*sqrt(er)) \n", + "x=(((a1*b1)/(c1**2))+((c1**2+a1**2)/(2*c1*a1))+((b1*c1)/a1**2)) \n", + "qw=(2*pi*(eet/sqrt(er))*a1*b1*c1)/(rs*(lamr**3)*x) \n", + "print 'Q for TE101 mode: %0.3f'%qw\n", + "\n", + "qd=1/tandel \n", + "q=(qw*qd)/(qw+qd) \n", + "print 'Q for lossy dielectric: %0.3f'%q\n", + "\n", + "#Value of qw is calculated wrong in book as lamr comes to be 0.08 not 0.89 m" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Resonant frequency: 1.936 Ghz\n", + "Q for TE101 mode: 10916.466\n", + "Q for lossy dielectric: 2927.360\n" + ] + } + ], + "prompt_number": 40 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 198 Example 4.9" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "c=3e8 #m/s\n", + "a=2.286 #cm\n", + "a1=a/100 #m\n", + "b=1.106 #cm\n", + "b1=b/100 #m\n", + "\n", + "#For fr1=9.3e9 \n", + "fr1=9.3e9 #hz\n", + "lamr1=c/fr1 #m\n", + "c1=(2*a1)/sqrt((((2*a1)/lamr1)**2)-1) \n", + "\n", + "#For fr2=10.2e9 \n", + "fr2=10.2e9 #hz\n", + "lamr2=c/fr2 #m\n", + "c2=(2*a1)/sqrt((((2*a1)/lamr2)**2)-1) \n", + "\n", + "r=c1-c2 \n", + "print 'Range of piston movement: %0.3f'%(r*100), 'cm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Range of piston movement: 0.710 cm\n" + ] + } + ], + "prompt_number": 41 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 199 Example 4.10" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "a=3 #cm\n", + "a1=a/100 #m\n", + "d=10 #cm\n", + "d1=d/100 #m\n", + "df=2.5e6 \n", + "er=2.25 \n", + "p11=1.841 \n", + "c=3e8 #m/s\n", + "\n", + "#Resonant frequency\n", + "fr=(c/2)*(sqrt((p11/a1)**2+(pi/d1)**2)) #hz\n", + "print 'Resonant frequency: %0.3f'%(fr/10**9),'Ghz'\n", + "\n", + "#Q without dielectric\n", + "q0=fr/df \n", + "print 'Q wirhout dielectric constant: %0.3f'%q0\n", + "\n", + "# Q with dielectric\n", + "fr1=fr/sqrt(er) \n", + "qd=1e3 \n", + "q=(q0*qd)/(q0+qd) \n", + "print 'Q with dielectric constant: %0.3f'%q" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Resonant frequency: 10.341 Ghz\n", + "Q wirhout dielectric constant: 4136.446\n", + "Q with dielectric constant: 805.313\n" + ] + } + ], + "prompt_number": 44 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 200 Example 4.11" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "f=9.375e9 #hz\n", + "sig=5.8e7 \n", + "eet=377 \n", + "c=3e8 #m/s\n", + "w=2*pi*f \n", + "r=1.5 \n", + "u=4e-7*pi \n", + "\n", + "#Radius\n", + "a=c/(f*2.62) #m\n", + "print 'Radius of resonantor %0.3f'%(a*100), 'cm'\n", + "\n", + "#O\n", + "rs=sqrt((w*u)/(2*sig)) #ohm\n", + "x=1.202*eet \n", + "y=rs*(1+(1/r)) \n", + "q=x/y \n", + "print 'Q of the resonator: %0.3f'%q\n", + "\n", + "#Answer for Q is calculated as 10875 in book but it is 10763.303" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Radius of resonantor 1.221 cm\n", + "Q of the resonator: 10763.303\n" + ] + } + ], + "prompt_number": 45 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 215 Example 4.12" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "f=5e9 #hz\n", + "sig=5.813e7 \n", + "er=2.25 \n", + "tandel=4e-4 \n", + "c=3e8 #m/s\n", + "h01=3.832 \n", + "u=4e-7*pi \n", + "\n", + "#Length of resonator\n", + "lamr=c/(f*sqrt(er)) \n", + "d=sqrt((((((2*3.832)**2)+(pi*pi))*(lamr*lamr))/(2*2*pi*pi)) )\n", + "print 'Length of resonator: %0.3f'%(d*100),'cm'\n", + "\n", + "#Q of resonator\n", + "n=(120*pi)/sqrt(er) \n", + "Rs=sqrt((f*u)/sig) \n", + "a=d/2 \n", + "Qw1=n*(((h01/a)**2+(pi/d)**2)**(3/2))\n", + "Qw2=2*Rs*(((h01*h01)/(a*a*a))+((2*pi*pi)/(d*d*d))) \n", + "Qw=Qw1/Qw2 \n", + "Qd=1/tandel \n", + "Q=(Qw*Qd)/(Qw+Qd) \n", + "print 'Q of resonator: %0.3f'%Q\n", + "\n", + "#Value of Qw is calculated wrong in the book, it should be 50057.91 instead of 53473.8\n", + "#Hence the value of Q also differs" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Length of resonator: 5.273 cm\n", + "Q of resonator: 2381.084\n" + ] + } + ], + "prompt_number": 46 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 215 Example 4.13" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "p=100 #mW\n", + "#As 2 and 3 are matched terminals\n", + "x=1/2 \n", + "y=1/sqrt(2) \n", + "s=[x,-x, y, -x, 0, y, y, y, 0] \n", + "\n", + "#Power delivered\n", + "#Port 1\n", + "p1=p*(1-s[1]**2) \n", + "print 'Power at port 1:',p1, 'mW'\n", + "\n", + "#Port2\n", + "p2=p*s[2]**2 \n", + "print 'Power at port 2:',p2, 'mW'\n", + "\n", + "#Port 3\n", + "p3=p*s[3]**2 \n", + "print 'Power at port 3:' ,p3,'mW'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Power at port 1: 75.0 mW\n", + "Power at port 2: 50.0 mW\n", + "Power at port 3: 25.0 mW\n" + ] + } + ], + "prompt_number": 14 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 216 Example 4.14" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "p=40 #mW\n", + "#Since port 3 is matched\n", + "x=sqrt(2) \n", + "s=[1, 1, x, 1, 1, -x, x, -x, 0] \n", + "r1=40 #ohm\n", + "r2=60 #ohm\n", + "w=50 #ohm\n", + "\n", + "#Reflection coefficients\n", + "T1=(w-r1)/(w+r1) \n", + "T2=(r2-w)/(r2+w) \n", + "\n", + "#As power is fed into 1 and 2 equally\n", + "pd=p/2 \n", + "\n", + "#Power delivered\n", + "#Port 1\n", + "p1=pd*(1-T1**2) \n", + "print 'Power at port 1: %0.3f'%p1,'mW'\n", + "\n", + "#Port2\n", + "p2=pd*(1-T2**2) \n", + "print 'Power at port 2: %0.3f'%p2,'mW'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Power at port 1: 19.753 mW\n", + "Power at port 2: 19.835 mW\n" + ] + } + ], + "prompt_number": 48 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 216 Example 4.15" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division \n", + "#Given\n", + "T1=1/2 \n", + "T2=3/5 \n", + "T3=0 \n", + "T4=4/5 \n", + "p=500e-3 #W\n", + "#S matrix for magic Tee\n", + "x=1/sqrt(2) \n", + "s=[0, 0, x, x, 0, 0, x, -x, x ,x, 0, 0, x, -x, 0, 0] \n", + "#Using the input output relation\n", + "#[b]=[s]*[a]\n", + "b=[0.6565, 0.7576, 0.5536, 0.0892] \n", + "\n", + "#(i) Power transmitted through ports\n", + "#Port 1\n", + "p1=(1/2)*b[0]**2*(1-T1**2) \n", + "print 'Power at port 1: %0.3f'%p1,'W'\n", + "\n", + "#Port2\n", + "p2=(1/2)*(b[1]**2)*(1-(T2**2)) \n", + "print 'Power at port 2: %0.3f'%p2, 'W'\n", + "\n", + "#Port 4\n", + "p4=(1/2)*b[3]**2*(1-T4**2) \n", + "print 'Power at port 4: %0.3f'%p4,'W'\n", + "\n", + "#(ii) Power reflected at port 3\n", + "#Port 3\n", + "p3=p*b[2]**2 \n", + "print 'Power at port 3: %0.3f'%p3,'W'\n", + "\n", + "#(iii) Power absorbed\n", + "pabs=p-(p1+p2+p3+p4) \n", + "print 'Power absorbed: %0.3f'%pabs,'W'\n", + "\n", + "#Answer for power absorbed is calculated wrong in book" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Power at port 1: 0.162 W\n", + "Power at port 2: 0.184 W\n", + "Power at port 4: 0.001 W\n", + "Power at port 3: 0.153 W\n", + "Power absorbed: 0.000 W\n" + ] + } + ], + "prompt_number": 53 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 236 Example 4.18" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from numpy import mat, set_printoptions\n", + "#Given\n", + "C=10 #dB\n", + "D=30 #dB\n", + "\n", + "#Parameters\n", + "bet=10**(-C/20) \n", + "x=bet/(10**(D/20)) \n", + "a=sqrt(1-(bet*bet)) \n", + "#Scattering matrix\n", + "#Assuming symmetery\n", + "s=mat([[0, a ,x ,(bet*1J)],[ a, 0, (bet*1J), x],[ x ,(bet*1J), 0 ,a],[ (bet*1J) ,x ,a, 0] ])\n", + "set_printoptions(precision=3)\n", + "print 'Scattering matrix:\\n',s " + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Scattering matrix:\n", + "[[ 0.000+0.j 0.949+0.j 0.010+0.j 0.000+0.316j]\n", + " [ 0.949+0.j 0.000+0.j 0.000+0.316j 0.010+0.j ]\n", + " [ 0.010+0.j 0.000+0.316j 0.000+0.j 0.949+0.j ]\n", + " [ 0.000+0.316j 0.010+0.j 0.949+0.j 0.000+0.j ]]\n" + ] + } + ], + "prompt_number": 57 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 238 Example 4.20" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "vswr=2 \n", + "D1=8 #mW\n", + "D2=2 #mW\n", + "\n", + "#Reflection coefficient at arm 4\n", + "T=(vswr-1)/(vswr+1) \n", + "#Powwe delivered to D1\n", + "P=(D1*100)/(1-T**2) \n", + "P1=0.99*P \n", + "#Power reflected at D1\n", + "W1=(P/100)*T*T \n", + "#Power reflected at load\n", + "W2=D2-W1 \n", + "Tt=sqrt((W2*100)/(P1)) \n", + "pt=(1+Tt)/(1-Tt) \n", + "print 'VSWR:%0.3f'%pt\n", + "Pl=P1*(1-(Tt*Tt)) \n", + "print 'Power delivered:' ,Pl,'mW'\n", + "\n", + "#Answer for P1 should be 792 but it is given as 800" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "VSWR:2.008\n", + "Power delivered: 791.0 mW\n" + ] + } + ], + "prompt_number": 59 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 239 Example 4.21" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from numpy import mat, set_printoptions\n", + "#Given\n", + "I=30 #dB\n", + "Il=0.4 #dB\n", + "\n", + "S12=10**(I/-20) \n", + "S21=10**(Il/-20) \n", + "s=mat([[0, S12],[ S21, 0] ])\n", + "set_printoptions(precision=3)\n", + "print 'Scattering matrix:\\n' ,s" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Scattering matrix:\n", + "[[ 0. 0.032]\n", + " [ 0.955 0. ]]\n" + ] + } + ], + "prompt_number": 60 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 240 Example 4.22" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from numpy import mat, set_printoptions\n", + "#Given\n", + "I=30 #dB\n", + "Il=2 #dB\n", + "p=1.3 \n", + "\n", + "#Elelments\n", + "T=(p-1)/(p+1) \n", + "S11=T \n", + "S22=T \n", + "S33=T \n", + "S12=10**(-Il/20) \n", + "S13=10**(-I/20) \n", + "S21=S13 \n", + "S32=S13 \n", + "S23=S12 \n", + "S31=S23 \n", + "s=mat([[S11, S21, S31] ,[S12, S22, S32], [S13, S23 ,S33] ])\n", + "set_printoptions(precision=3)\n", + "print 'Scattering matrix:\\n' ,s" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Scattering matrix:\n", + "[[ 0.13 0.032 0.794]\n", + " [ 0.794 0.13 0.032]\n", + " [ 0.032 0.794 0.13 ]]\n" + ] + } + ], + "prompt_number": 61 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 249 Example 4.23" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "f=10e9 #Hz\n", + "u=4e-7*pi \n", + "c=3e8 #m/s\n", + "a=2.29 #cm\n", + "a1=a/100 \n", + "b=1.02 #cm\n", + "b1=b/100 \n", + "\n", + "#E/H\n", + "w=2*pi*f \n", + "EbyH=(w*u)/sqrt(((w/c)**2)+((pi/a1)**2)) \n", + "lam=c/f \n", + "lamc=2*a1 \n", + "d=(1/4)*(lam/sqrt(1-((lam/lamc)**2))) \n", + "print 'Position: %0.3f'%(d*100), 'cm'\n", + "\n", + "#Answer for positon is calculated wrong in book" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Position: 0.993 cm\n" + ] + } + ], + "prompt_number": 62 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 250 Example 4.24" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from numpy import mat, set_printoptions\n", + "#Given\n", + "#As it is perfectly matched\n", + "S12=1/sqrt(2) \n", + "S21=S12 \n", + "s=mat([[0 ,S12] ,[S21, 0] ])\n", + "set_printoptions(precision=3)\n", + "print 'Scattering matrix:\\n' , s" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Scattering matrix:\n", + "[[ 0. 0.707]\n", + " [ 0.707 0. ]]\n" + ] + } + ], + "prompt_number": 65 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/Microwave_Engineering_by_G._S._Raghuvanshi/Ch5.ipynb b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch5.ipynb new file mode 100644 index 00000000..b1441f3d --- /dev/null +++ b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch5.ipynb @@ -0,0 +1,1034 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:a5e82465bfb623eb9318715f7f52014da580babc1cb20ec72de42ac065345041" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Ch-5 : Microwave tubes Klystrons" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Pages Number: 288 Example 5.1" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division \n", + "from math import sqrt, pi\n", + "#Given\n", + "f=10e9 #Hz\n", + "v=9e3 #V\n", + "i=40e-3 #A\n", + "l=3 #cm\n", + "l1=l/100 #m\n", + "G=2e-6 #mho\n", + "bet=0.92 \n", + "j1x=0.582 \n", + "x=1.841 \n", + "ebym=1.7e11 #J\n", + "\n", + "#Maximum voltage\n", + "w=2*pi*f \n", + "v0x=sqrt(2*ebym) \n", + "thet=(w*l1)/(v0x*sqrt(v)) \n", + "\n", + "av=(bet**2*thet*i*j1x)/(x*v*G) \n", + "print 'Maximum voltage:%0.3f'%av,'V'\n", + "\n", + "#Power Gain\n", + "ic=2*i*j1x \n", + "v2=(bet*ic)/G \n", + "pout=bet*ic*v2 \n", + "pin=2*i*v \n", + "\n", + "#Efficiency\n", + "eet=pout/pin \n", + "print 'Power gain: %0.3f'%(eet*100), '%'\n", + "\n", + "#Answer for effciency comes out to be wrong, it is calculted wrongly in book" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Maximum voltage:20.262 V\n", + "Power gain: 127.420 %\n" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 288 Example 5.2" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "l=2 #cm\n", + "l1=l/100 #m\n", + "f=5e9 #Hz\n", + "i=25e-3 #A\n", + "n=21/4 \n", + "e=1.6e-19 \n", + "m=9.1e-31 \n", + "thetag=0 \n", + "bet=1 \n", + "j1x=0.582 \n", + "x=1.841 \n", + "\n", + "#(i) Beam Voltage\n", + "v0=(m*l1*l1*f*f)/(2*e*n*n) \n", + "print 'Beam voltage: %0.3f'%v0, 'V'\n", + "\n", + "#(ii) Input voltage\n", + "v1=x*v0/(pi*bet*n) \n", + "print 'Input voltage: %0.3f'%v1,'V'\n", + "\n", + "#(iii) Output voltage\n", + "v2=0.25*v0 \n", + "print 'Output voltage %0.3f'%v2,'V'\n", + "\n", + "#(iv) Power output\n", + "pmax=i*v0*j1x \n", + "print 'Maximum power output: %0.3f'%pmax, 'W'\n", + "\n", + "#(v) Efficiency\n", + "eet=j1x*bet*v2/v0 \n", + "print 'Efficiency:' ,eet*100,'%'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Beam voltage: 1031.746 V\n", + "Input voltage: 115.164 V\n", + "Output voltage 257.937 V\n", + "Maximum power output: 15.012 W\n", + "Efficiency: 14.55 %\n" + ] + } + ], + "prompt_number": 20 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 289 Example 5.3" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import sin\n", + "#Given\n", + "r0=45e3 #W\n", + "j0=25e-3 #A\n", + "V=1500 #V\n", + "f=5e9 #hz\n", + "d=1 #mm\n", + "d1=d/1000 #m\n", + "l=3.5 #cm\n", + "l1=l/100 #m\n", + "rsh=32e3 #ohms\n", + "j1x=0.582 \n", + "x=1.841 \n", + "\n", + "#(i) Input gap voltage\n", + "w=2*pi*f \n", + "v0=(5.93e5*sqrt(V)) \n", + "thetag=(w*d1)/v0 \n", + "bet=sin(thetag/2)/(thetag/2) \n", + "theta0=(w*l1)/v0 \n", + "v1=(2*V*x)/(bet*theta0) \n", + "print 'Input gap voltage: %0.3f'%v1\n", + "\n", + "#(ii) Voltage gain\n", + "av=(bet**2*theta0*j1x*rsh)/(r0*x) \n", + "print 'Voltage gain %0.3f'% av" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Input gap voltage: 124.871\n", + "Voltage gain 9.186\n" + ] + } + ], + "prompt_number": 22 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 290 Example 5.4" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import cos\n", + "#Given\n", + "V=1000 #V\n", + "r0=40e3 #ohm\n", + "i0=25e-3 #A\n", + "f=3e9 #Hz\n", + "d=1 #mm\n", + "d1=d/1000 #m\n", + "l=4 #cm \n", + "l1=4/100 #m\n", + "j1x=0.582 \n", + "x=1.841 \n", + "rsh=30e3 #ohm\n", + "\n", + "#(i) Input gap voltage\n", + "w=2*pi*f \n", + "v0=(5.93e5*sqrt(V)) \n", + "thetag=(w*d1)/v0 \n", + "bet=sin(thetag/2)/(thetag/2) \n", + "theta0=(w*l1)/v0 \n", + "vmax=(2*V*x)/(bet*theta0) \n", + "print 'Input gap voltage: %0.3f'%vmax, 'V'\n", + "\n", + "#(ii) Voltage gain\n", + "av=(bet*bet*theta0*j1x*rsh)/(r0*x) \n", + "print 'Voltage gain: %0.3f'%av\n", + "\n", + "#(iii) Efficiency\n", + "v2=bet*2*i0*j1x*rsh \n", + "eet=(bet*2*i0*j1x*v2)/(2*i0*V) \n", + "print 'Efficiency: %0.3f'%(eet*100),'%'\n", + "\n", + "#(iv) Beam loading conductance\n", + "gbl=(i0/(2*V))*((bet*bet)-(bet*cos(thetag/2))) \n", + "print 'Beam loading conductance:%0.3e'%gbl\n", + "\n", + "#Answer for beam loading conductance is calculated wrong in book" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Input gap voltage: 95.547 V\n", + "Voltage gain: 8.757\n", + "Efficiency: 46.672 %\n", + "Beam loading conductance:9.835e-07\n" + ] + } + ], + "prompt_number": 27 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 291 Example 5.5" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "f=3e9 #hz\n", + "v=900 #V\n", + "i=30e-3 #A\n", + "d=4 #cm\n", + "d1=d/100 #m\n", + "gap=1 #mm\n", + "gap1=1/1000 #m\n", + "rsh=40e3 #ohm\n", + "x=1.841 \n", + "j1x=0.582 \n", + "r=40e3 #ohm\n", + "ebym=1.758e11 #J\n", + "\n", + "#(i) Electron velocity\n", + "v0=sqrt(2*ebym*v) \n", + "print 'Electron velocity: %0.3f'%v0,'m/s'\n", + "\n", + "#(ii) Electron transit time\n", + "t=d1/v0 \n", + "print 'Electron transit time: %0.3f'%t,'s'\n", + "\n", + "#(iii) Input voltage gap\n", + "w=2*pi*f \n", + "theta0=(w*d1)/v0 \n", + "thetag=(w*gap1)/v0 \n", + "bet=sin(thetag/2)/(thetag/2) \n", + "v2=(2*v*x)/(bet*theta0) \n", + "print 'Input voltage gap: %0.3f'%v2, 'V'\n", + "\n", + "#(iv) Voltage gain\n", + "av=(bet**2*theta0*j1x*rsh)/(x*r) \n", + "print 'Voltage gain: %0.3f'%av\n", + "\n", + "#Values of v and f are changed in question and answer, hence vaules used in answer are taken.\n", + "#Also second part has not been done in book" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Electron velocity: 17788760.496 m/s\n", + "Electron transit time: 0.000 s\n", + "Input voltage gap: 81.964 V\n", + "Voltage gain: 12.192\n" + ] + } + ], + "prompt_number": 28 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 292 Example 5.6" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import sqrt, log10 \n", + "#Given\n", + "f=8e9 #hz\n", + "i=2.5 #A\n", + "v=20e3 #V\n", + "bet=1 \n", + "amp=10*sqrt(2) #V\n", + "rsh=10e3 #ohm\n", + "rsho=30e3 #ohm\n", + "dc=1e-6 #c/m**3\n", + "rf=0.5 \n", + "e=1.6e-19 \n", + "ee=8.854e-12 \n", + "m=9.1e-31 #kg\n", + "\n", + "#(i) Induced current\n", + "w=2*pi*f \n", + "wq=rf*sqrt((e*dc)/(m*ee)) \n", + "\n", + "#Amplitude of induced current\n", + "ic=(i*w*(bet**2)*amp)/(2*v*wq) \n", + "print 'Induced current: %0.3f'%ic,'A'\n", + "\n", + "#Induced voltage\n", + "icrms=ic/sqrt(2) \n", + "v2rms=icrms*rsho \n", + "print 'Induced voltage: %0.3f'%v2rms,'V'\n", + "\n", + "#(ii) Power gain\n", + "pg=(((i*w)**2)*(bet**4)*rsh*rsho)/(4*((v*wq)**2)) \n", + "pgdb=10*log10(pg) \n", + "print 'Power gain: %0.3f'%pgdb,'dB'\n", + "\n", + "#(iii) Electronic efficiency\n", + "eeta=((icrms**2)*rsho)/(i*v) \n", + "print 'Electronic efficiency: %0.3f'%(eeta*100),'%'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Induced current: 0.631 A\n", + "Induced voltage: 13376.164 V\n", + "Power gain: 57.755 dB\n", + "Electronic efficiency: 11.928 %\n" + ] + } + ], + "prompt_number": 29 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 294 Example 5.7" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "f=3e9 #hz\n", + "l=4 #cm\n", + "l1=4/100 #m\n", + "d=0.1 #cm\n", + "d1=d/100 #m\n", + "V=900 #V\n", + "i0=30e-3 #A\n", + "rsh=25e3 #ohm\n", + "x=1.841 \n", + "j1x=0.582 \n", + "\n", + "#(i) Input voltage for maximum output\n", + "v0=0.593e6*sqrt(V) \n", + "w=2*pi*f \n", + "theta0=w*l1/v0 #rad\n", + "thetag=w*d1/v0 #rad\n", + "bet=sin(thetag/2)/(thetag/2) \n", + "v1max=2*V*x/(bet*theta0) #v\n", + "print 'Input voltage for maximum output: %0.3f'%v1max,'V'\n", + "\n", + "#(ii) Voltage gain\n", + "r0=V/i0 #ohm\n", + "av=((bet**2)*theta0*j1x*rsh)/(x*r0) #V\n", + "print 'Voltage gain: %0.3f'%av, 'V'\n", + "\n", + "#(iii) Efficiency\n", + "ic=2*i0*j1x #A\n", + "v2=bet*ic*rsh #V\n", + "eet=bet*ic*v2/(2*i0*V) \n", + "print 'Efficiency: %0.3f'%(eet*100), '%'\n", + "\n", + "#(iv) Beam loading conductance\n", + "gb=(i0/(V*2))*(bet**2-(bet*cos(thetag/2))) #ohm\n", + "print 'Beam loading conductance: %0.3e'%gb,'ohm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Input voltage for maximum output: 81.969 V\n", + "Voltage gain: 10.159 V\n", + "Efficiency: 51.366 %\n", + "Beam loading conductance: 1.446e-06 ohm\n" + ] + } + ], + "prompt_number": 30 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 295 Example 5.8" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "f=5e9 #hz\n", + "v0=10e3 #V\n", + "d=1 #mm\n", + "d1=d/1000 #m\n", + "v1=100 #V\n", + "\n", + "#(i) Gap transit time\n", + "vv0=0.593e6*sqrt(v0) #m/sec\n", + "tau=d1/vv0 #sec\n", + "print 'Gap transit time: %0.3e'%tau,'sec'\n", + "\n", + "#Gap transit angle\n", + "w=2*pi*f \n", + "thetag=w*tau #rad\n", + "print 'Gap transit angle: %0.3f'%thetag, 'rad'\n", + "\n", + "#(ii) Beam coupling coefficient\n", + "betin=sin(thetag/2)/(thetag/2) \n", + "print 'Beam coupling coefficient: %0.3f'%betin\n", + "\n", + "#(iii) Velocity of electron leaving buncher gap\n", + "vig=vv0*(1+((betin*v1)/(2*v0))) #m/sec\n", + "print 'Velocity of electron leaving buncher gap: %0.3f'%vig, 'm/sec'\n", + "\n", + "#(iv) Depth of modulation\n", + "m=betin*v1/v0 \n", + "print 'Depth of modulation: %0.3f'%m" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Gap transit time: 1.686e-11 sec\n", + "Gap transit angle: 0.530 rad\n", + "Beam coupling coefficient: 0.988\n", + "Velocity of electron leaving buncher gap: 59593044.746 m/sec\n", + "Depth of modulation: 0.010\n" + ] + } + ], + "prompt_number": 33 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 296 Example 5.9" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "f=10e9 #hz\n", + "v0=15e3 #V\n", + "i0=2.5e-3 #A\n", + "d=1 #cm\n", + "d1=d/100 #m\n", + "vrms=10 #V\n", + "bet=1 \n", + "p=1e-8 #C/m**3\n", + "rf=0.6 \n", + "e=1.6e-19 \n", + "m=9.1e-31 \n", + "ee=8.854e-12 \n", + "\n", + "#(i) DC electron beam phase cobstant\n", + "vv0=(0.593e6*sqrt(v0)) \n", + "w=2*pi*f \n", + "bete=w/vv0 #rad/m\n", + "print 'DC electron beam phase constant: %0.3f'%bete,'rad/m'\n", + "\n", + "#(ii) Reduced plasma frequency and reduced plasma phase constant\n", + "wq=rf*sqrt(e*p/(m*ee)) #rad/m\n", + "print 'Reduced plasma frequency: %0.3f'%wq,'rad/m'\n", + "betq=wq/vv0 #rad/sec\n", + "print 'Reduced plasma phase constant: %0.3f'%betq,'rad/sec'\n", + "\n", + "#(iii) Gap transit time\n", + "tau=d1/vv0 #sec\n", + "vtg=vv0*(1+(bet*vrms*sin(w*tau)/(2*v0))) #m/sec\n", + "print 'Gap transit time: %0.3f'%vtg, 'm/sec'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "DC electron beam phase constant: 865.126 rad/m\n", + "Reduced plasma frequency: 8455139.683 rad/m\n", + "Reduced plasma phase constant: 0.116 rad/sec\n", + "Gap transit time: 72644284.673 m/sec\n" + ] + } + ], + "prompt_number": 37 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 296 Example 5.10" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "f=4e9 #hz\n", + "v0=10e3 #V\n", + "i0=0.75 #A\n", + "v1=2 #V\n", + "bet=1 \n", + "rsh=10e3 #ohm\n", + "p=5e-5 #C/m**3\n", + "r=0.6 \n", + "rsht=4e3 #ohm\n", + "e=1.6e-19 \n", + "m=9.1e-31 \n", + "ee=8.854e-12 \n", + "\n", + "#(i) Induced current and voltage in output cavity\n", + "w1=sqrt(e*p/(m*ee)) #rad/sec\n", + "w=2*pi*f \n", + "wq=0.5*w1 #rad/sec\n", + "rr=w/wq \n", + "\n", + "i4=((i0**3)*(rr**3)*(bet**6)*v1*(rsh**2))/(8*(v0**3)) #A\n", + "print 'Induced current: %0.3f'%i4,'A'\n", + "v4=i4*rsht #V\n", + "print 'Induced voltage: %0.3f'%(v4/1000), 'kV'\n", + "\n", + "#(ii) Power output\n", + "pout=(i4**4)*rsht #W\n", + "print 'Power output: %0.3f'%pout, 'W'\n", + "\n", + "#Answer for Pout should be 13.43 kW but it is given as 10.89kW as value of I4 is calculated as 1.289 but it comes out to be 1.35" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Induced current: 1.354 A\n", + "Induced voltage: 5.415 kV\n", + "Power output: 13438.135 W\n" + ] + } + ], + "prompt_number": 40 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 297 Example 5.9" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "f=8e9 #hz\n", + "v0=500 #V\n", + "l=1.2 #mm\n", + "l1=l/1000 #m\n", + "rsh=18e3 #ohm\n", + "ebym=1.759e11 \n", + "ee=8.854e-12 \n", + "\n", + "#(i) Repeller voltage\n", + "n=1+(3/4) \n", + "v11=(ebym*n*n)/(8*(l1**2)*(f**2)) \n", + "vr=sqrt(v0/v11)-v0 \n", + "print 'Repeller voltage: %0.3f'%vr,'V'\n", + "\n", + "#(ii) Required dc current\n", + "v2=200 #V\n", + "j1x=0.582 \n", + "i=v2/(2*rsh*j1x) #A\n", + "print 'Required dc current: %0.3f'%(i*1000), 'mA'\n", + "\n", + "#Answer for repeller voltage is calculated wrong in book" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Repeller voltage: 327.238 V\n", + "Required dc current: 9.546 mA\n" + ] + } + ], + "prompt_number": 42 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 298 Example 5.12" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "f=9e9 #hz\n", + "v0=361 #V\n", + "i0=30e-3 #A\n", + "l=0.1 #cm\n", + "l1=l/100 #m\n", + "x=2.408 \n", + "j1x=0.582 \n", + "ebym=1.759e11 \n", + "\n", + "#Maximum power output\n", + "n=1 \n", + "pout=2*i0*v0*x*j1x/(2*pi*(n+(3/4))) #W\n", + "print 'Maximum power output: %0.3f'%pout,'W'\n", + "\n", + "#Operating repeller voltage\n", + "vr=((6.744e-6*sqrt(v0)*l1*f)/(n+(3/4)))-v0 #v\n", + "print 'Operating repeller voltage: %0.3f'%vr,'V'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Maximum power output: 2.761 W\n", + "Operating repeller voltage: 297.985 V\n" + ] + } + ], + "prompt_number": 44 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 298 Example 5.13" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "f=9e9 #hz\n", + "v0=250 #V\n", + "l=0.5 #cm\n", + "l1=l/100 #m\n", + "\n", + "#Bandwidth\n", + "n=3 \n", + "df=(n+(3/4))/(6.774e-6*l1*sqrt(v0)) #hz\n", + "print 'Bandwidth: %0.3f'%(df/10**6),'Mhz'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Bandwidth: 7.002 Mhz\n" + ] + } + ], + "prompt_number": 45 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 299 Example 5.14" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "f=10e9 #hz\n", + "v0=600 #V\n", + "vr=250 #V\n", + "ebym=1.759e11 \n", + "\n", + "#Repeller space\n", + "n=1 \n", + "l=sqrt((ebym*(n+(3/4))**2*(vr+v0)**2)/(8*f**2*v0)) #m\n", + "print 'Repeller space: %0.3f'%(l*1000),'mm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Repeller space: 0.900 mm\n" + ] + } + ], + "prompt_number": 46 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 299 Example 5.15" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "v0=300 #V\n", + "i0=20e-3 #A\n", + "v1=40 #V\n", + "n=2 \n", + "x=2.408 \n", + "j1x=0.52 \n", + "\n", + "#(i) Input power\n", + "pin=i0*v0 #W\n", + "print 'Input power:' ,pin,'W'\n", + "\n", + "#(ii) Output power\n", + "pout=(2*v0*i0*x*j1x)/((2*pi*n)-(pi/2)) #W\n", + "print 'Output power: %0.3f'%pout, 'W'\n", + "\n", + "#Efficiency\n", + "eet=pout/pin \n", + "print 'Efficiency: %0.3f'%(eet*100), '%'\n", + "\n", + "#Answer for output power in book is 0.7 which is wrong, it should be 1.3W\n", + "#Hence answer of efficiency also changes" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Input power: 6.0 W\n", + "Output power: 1.367 W\n", + "Efficiency: 22.776 %\n" + ] + } + ], + "prompt_number": 47 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 300 Example 5.16" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "f=10e9 #hz\n", + "v0=600 #V\n", + "l=0.1 #cm\n", + "l1=l/100 #m\n", + "bet=0.9 \n", + "ebym=1.759e11 \n", + "n=2 \n", + "j1x=0.575 #from standard table\n", + "\n", + "\n", + "#(i) Repeller voltage\n", + "vr=((6.744e-6*sqrt(v0)*l1*f)/(n-(1/4)))-v0 #V\n", + "print 'Repeller voltage:',round(vr), 'V'\n", + "\n", + "#(ii) Bunching parameter\n", + "v1=200 #V\n", + "x=bet*v1*2*pi*(n-(1/4))/(2*v0) \n", + "print 'Bunching parameter: %0.3f'%x\n", + "\n", + "#(iii) Required DC current\n", + "rsh=20e3 #ohm\n", + "i=v1/(2*rsh*j1x) #A\n", + "print 'Required DC current: %0.3f'%(i*1000),'mA'\n", + "\n", + "#(iv) Electronic efficiency\n", + "eet=2*x*j1x/(2*pi*(n-(1/4))) \n", + "print 'Electronic efficiency:',eet*100, '%'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Repeller voltage: 344.0 V\n", + "Bunching parameter: 1.649\n", + "Required DC current: 8.696 mA\n", + "Electronic efficiency: 17.25 %\n" + ] + } + ], + "prompt_number": 48 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 301 Example 5.17" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "f=10e9 #hz\n", + "v0=300 #V\n", + "j0=0.3 #A/cm\n", + "i0=45e-3 #A\n", + "\n", + "rb=sqrt(i0/(pi*j0)) #mm\n", + "print 'Electron beam radius: %0.3f'%(rb*10),'mm'\n", + "r=rb*(120/100) #mm\n", + "print 'Radius of cathode disc:%0.3f'%(r*10),'mm'\n", + "d=sqrt(2.335e-6*(300)**(3/2)/j0) #mm\n", + "print 'Cathode anode spacing: %0.3f'%(d*10),'mm'\n", + "#Anode hole has to be 15% larger than cathode disc\n", + "ra=r*1.15 #mm\n", + "print 'Anode hole: %0.3f'%(ra*10),'mm'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Electron beam radius: 2.185 mm\n", + "Radius of cathode disc:2.622 mm\n", + "Cathode anode spacing: 2.011 mm\n", + "Anode hole: 3.015 mm\n" + ] + } + ], + "prompt_number": 49 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: Example 5.18" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import tan, exp\n", + "#Given\n", + "f=9e9 #hz\n", + "v0=300 #V\n", + "vr=125 #V\n", + "bet=0.9 \n", + "c=3e8 #m/s\n", + "w=2*pi*f \n", + "br=2.18 #mm\n", + "e0=8.854e-12 \n", + "ebym=1.7e11 \n", + "\n", + "#From sin(theta)/theta table, thetag is found out to be\n", + "thetag=0.25*pi \n", + "d=(2*thetag*0.593e6*sqrt(v0))/w \n", + "print 'Distance: %0.3f'%(d*1000),'mm'\n", + "\n", + "#Axial cavity length\n", + "l=c/(10*f) #m\n", + "print 'Axial cavity length: %0.3f'%(l*1000),'mm'\n", + "\n", + "#Ratio of outer to inner conductor\n", + "a=1.5*br \n", + "a1=a/1000 \n", + "x=d/(w*e0*a1*a1*60*tan((w*l)/c)) \n", + "bbya=exp(x) \n", + "print 'Ratio of outer to inner conductor: %0.3f'%bbya\n", + "\n", + "#radii of outer and inner conductor\n", + "print 'Radius of outer conductor:',a, 'mm'\n", + "\n", + "b=1.52*a #mm\n", + "print 'Radius of inner conductor:' ,b,'mm'\n", + "\n", + "#Repeller spacing\n", + "lopt=sqrt(ebym*(19/4)**2*(v0+vr)**2/(8*f**2*v0)) #m\n", + "print 'Repeller spacing: %0.3f'%(lopt*1000),'mm'\n", + "\n", + "#Answer for radii of outer and inner conductor have wrong calculations in book\n", + "#Also ratio of outer to inner conductor is also calculated wrong" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Distance: 0.285 mm\n", + "Axial cavity length: 3.333 mm\n", + "Ratio of outer to inner conductor: 3.396\n", + "Radius of outer conductor: 3.27 mm\n", + "Radius of inner conductor: 4.9704 mm\n", + "Repeller spacing: 1.888 mm\n" + ] + } + ], + "prompt_number": 50 + } + ], + "metadata": {} + } + ] +} diff --git a/Microwave_Engineering_by_G._S._Raghuvanshi/Ch6.ipynb b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch6.ipynb new file mode 100644 index 00000000..19acfdbd --- /dev/null +++ b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch6.ipynb @@ -0,0 +1,600 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:9e826c15d23aa6f60ab9f31679ea83e194639cce3ac1ef9438682b8d5dace862" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Ch-6 : Microwave Travelling Wave Tubes O Type" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 330 Example 6.1" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division \n", + "from math import sqrt, pi\n", + "#Given\n", + " \n", + "#Given\n", + "I0=30e-3 #A\n", + "V0=3e3 #V\n", + "Z0=10 #ohm\n", + "l=0.1624 #m\n", + "f=10e9 #Hz\n", + "\n", + "#(i) Gain parameter\n", + "C=((I0*Z0)/(4*V0))**(1/3) \n", + "print 'Gain parameter: %0.3f'%C\n", + "\n", + "N=(l*f)/(0.593e6*sqrt(V0)) \n", + "\n", + "#(ii) Power Gain\n", + "Ap=-9.54+(47.3*C*N) \n", + "print 'Power gain: %0.3f'%Ap,'dB'\n", + "\n", + "ve=0.593e6*sqrt(V0) \n", + "be=(2*pi*f)/ve \n", + "\n", + "#Four propogation constants\n", + "gam1=((-sqrt(3)*be*C)/2)+(1J*be*(2+C))/2 \n", + "gam2=((sqrt(3)*be*C)/2)+(1J*be*(2+C))/2 \n", + "gam3=1J*be*(1-C) \n", + "gam4=-1J*be*(1-((C*C*C)/4)) \n", + "\n", + "print 'Four propogation constants:\\n {:.3f}\\n{:.3f}\\n{:.3f}\\n{:.3f}\\n'.format(gam1,gam2,gam3,gam4)\n", + "\n", + "#Calculations for propogation constants are wrong in book for gam 3 and 4, hence answers dont match" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Gain parameter: 0.029\n", + "Power gain: 59.613 dB\n", + "Four propogation constants:\n", + " -48.986+1962.764j\n", + "48.986+1962.764j\n", + "0.000+1877.917j\n", + "0.000-1934.469j\n", + "\n" + ] + } + ], + "prompt_number": 16 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 332 Example 6.2" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "I0=20e-3 #A\n", + "V0=4e3 #V\n", + "Z0=100 #ohm\n", + "N=30 \n", + "\n", + "C=((I0*Z0)/(4*V0))**(1/3) \n", + "#Gain\n", + "Ap=-9.54+(47.3*C*N) \n", + "print 'Gain:' ,Ap,'dB'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Gain: 61.41 dB\n" + ] + } + ], + "prompt_number": 17 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 332 Example 6.3" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "c=3e8 #m/s\n", + "d=2e-3 #m\n", + "p=50e2 #turns per m\n", + "e=1.6e-19 #J\n", + "m=9.1e-31 \n", + "\n", + "# Axial phase velocity\n", + "vp=c/(pi*p*d) \n", + "print 'Axial phase velocity: %0.3f'%vp,'m/s'\n", + "\n", + "#Anode voltage\n", + "V0=(m*vp*vp)/(2*e) \n", + "print 'Anode voltage: %0.3f'%V0, 'V'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Axial phase velocity: 9549296.586 m/s\n", + "Anode voltage: 259.319 V\n" + ] + } + ], + "prompt_number": 19 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 332 Example 6.4" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import sin \n", + "#Given\n", + "a=(4.4*pi)/180 #radians\n", + "c=3e8 #m/s\n", + "f=8e9 #Hz\n", + "al=2 #Np/m\n", + "\n", + "#Phase velocity\n", + "vp=c*sin(a) \n", + "\n", + "#Propogation constant\n", + "be=(2*pi*f)/vp \n", + "\n", + "gam=al+(1J*be) \n", + "print 'Propogation constant: {:.3f}'.format(gam)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Propogation constant: 2.000+2183.964j\n" + ] + } + ], + "prompt_number": 20 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 333 Example 6.5" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Vc=11e3 #V\n", + "Ir=0.85 #A\n", + "V0=31e3 #V\n", + "Pout=50e3 #W\n", + "I=7 #A\n", + "\n", + "#Electronic efficiency\n", + "ne=Pout/(V0*I) \n", + "print 'Electronic efficiency: %0.3f'%(ne*100), '%'\n", + "\n", + "#Overall efficiency\n", + "no=Pout/(Vc*(I-Ir)) \n", + "print 'Overall efficiency: %0.3f'%(no*100), '%'\n", + "\n", + "#Answer for elecytronic efficiency should be 23.04% but it is given as 36.4 in book" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Electronic efficiency: 23.041 %\n", + "Overall efficiency: 73.910 %\n" + ] + } + ], + "prompt_number": 22 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 333 Example 6.6" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "I0=0.95 #A\n", + "V0=7e3 #V\n", + "Z0=20 #ohm\n", + "N=20 \n", + "\n", + "C=((I0*Z0)/(4*V0))**(1/3) \n", + "#Gain\n", + "Ap=-9.54+(47.3*C*N) \n", + "print 'Gain: %0.3f'%Ap,'dB'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Gain: 73.590 dB\n" + ] + } + ], + "prompt_number": 23 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 334 Example 6.7" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Vc=12e3 #V\n", + "V0=30e3 #V\n", + "Pout=60e3 #W\n", + "I=7.5 #A\n", + "\n", + "#Electronic efficiency\n", + "ne=Pout/(V0*I) \n", + "print 'Electronic efficiency: %0.3f'%(ne*100), '%'\n", + "\n", + "#Overall efficiency\n", + "no=Pout/(Vc*I) \n", + "print 'Overall efficiency: %0.3f'%(no*100),'%'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Electronic efficiency: 26.667 %\n", + "Overall efficiency: 66.667 %\n" + ] + } + ], + "prompt_number": 24 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 334 Example 6.8" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Vc=20e3 #V\n", + "V0=32e3 #V\n", + "Pout=75e3 #W\n", + "I=7 #A\n", + "\n", + "#Electronic efficiency\n", + "ne=Pout/(V0*I) \n", + "print 'Electronic efficiency: %0.3f'%(ne*100),'%'\n", + "\n", + "#Overall efficiency\n", + "no=Pout/(Vc*I) \n", + "print 'Overall efficiency: %0.3f'%(no*100), '%'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Electronic efficiency: 33.482 %\n", + "Overall efficiency: 53.571 %\n" + ] + } + ], + "prompt_number": 25 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 335 Example 6.9" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "I0=500e-3 #A\n", + "V0=10e3 #V\n", + "Z0=25 #ohm\n", + "l=.20 #m\n", + "f=5.93e9 #Hz\n", + "\n", + "#Gain parameter\n", + "C=((I0*Z0)/(4*V0))**(1/3) \n", + "print 'Gain parameter: %0.3f'%C\n", + "\n", + "N=(l*f)/(0.593e6*sqrt(V0)) \n", + "#Gain\n", + "Ap=-9.54+(47.3*C*N) \n", + "print 'Gain of TWT: %0.3f'%Ap,'dB'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Gain parameter: 0.068\n", + "Gain of TWT: 54.656 dB\n" + ] + } + ], + "prompt_number": 26 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 335 Example 6.10" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Pout=250 #W\n", + "n=0.15 \n", + "V0=7.5e3 #V\n", + "f=6.15e9 #Hz\n", + "c=3e8 #m/s\n", + "\n", + "#(i) Input Power\n", + "Pi=Pout/n \n", + "print 'Input Power: %0.3f'%Pi,'W'\n", + "\n", + "#(ii) Beam current\n", + "I0=Pi/V0 \n", + "print 'Beam current: %0.3f'%I0,'A'\n", + "\n", + "#(iii) Beam velocity\n", + "vb=0.593e6*sqrt(V0) \n", + "print 'Beam velocity: %0.3f'%vb, 'm/s'\n", + "\n", + "#(iv) Radius of helix\n", + "a=(2*vb)/(2*pi*f) \n", + "print 'Radius of helix: %0.3f'%a,'m'\n", + "\n", + "#(v) Electron beam radius\n", + "r=(3*a)/4 \n", + "print 'Electron beam radius: %0.3f'%r, 'm'\n", + "\n", + "#(vi) Pitch of helix\n", + "p=(2*pi*a*vb)/c \n", + "print 'Pitch of helix: %0.3f'%p,'m'\n", + "\n", + "#(vii) Current density\n", + "J0=I0/(pi*r*r) \n", + "print 'Current density: %0.3f'%(J0/1000),'kA/msqr'\n", + "\n", + "#(viii) Magnetic field for beam confinement\n", + "B=(4*8.3e-4*sqrt(I0/(r*r*sqrt(V0)))) \n", + "print 'Magnetic field for beam confinement:' ,round(B*1000),'mT'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Input Power: 1666.667 W\n", + "Beam current: 0.222 A\n", + "Beam velocity: 51355306.444 m/s\n", + "Radius of helix: 0.003 m\n", + "Electron beam radius: 0.002 m\n", + "Pitch of helix: 0.003 m\n", + "Current density: 17.799 kA/msqr\n", + "Magnetic field for beam confinement: 84.0 mT\n" + ] + } + ], + "prompt_number": 31 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 336 Example 6.11" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "I0=30e-3 #A\n", + "V0=3e3 #V\n", + "Z0=10 #ohm\n", + "l=0.1624 #m\n", + "f=10e9 #Hz\n", + "C=((I0*Z0)/(4*V0))**(1/3) \n", + "N=(l*f)/(0.593e6*sqrt(V0)) \n", + "\n", + "#Gain\n", + "Ap=-9.54+(47.3*C*N) \n", + "print 'Gain: %0.3f'%Ap,'dB'\n", + "\n", + "ve=0.593e6*sqrt(V0) \n", + "be=(2*pi*f)/ve \n", + "\n", + "#Four propogation constants\n", + "gam1=((-sqrt(3)*be*C)/2)+(1J*be*(2+C))/2 \n", + "gam2=((sqrt(3)*be*C)/2)+(1J*be*(2+C))/2 \n", + "gam3=1J*be*(1-C) \n", + "gam4=-1J*be*(1-((C*C*C)/4)) \n", + "\n", + "print 'Four propogation constants:\\n {:.3f}\\n{:.3f}\\n{:.3f}\\n{:.3f}\\n'.format(gam1,gam2,gam3,gam4)\n", + "\n", + "#Calculations for propogation constants are wrong for gam 3 and 4 hence answers dont match" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Gain: 59.613 dB\n", + "Four propogation constants:\n", + " -48.986+1962.764j\n", + "48.986+1962.764j\n", + "0.000+1877.917j\n", + "0.000-1934.469j\n", + "\n" + ] + } + ], + "prompt_number": 33 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 337 Example 6.12" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "I0=35e-3 #A\n", + "V0=4e3 #V\n", + "Z0=20 #ohm\n", + "f=10e9 #Hz\n", + "\n", + "#(i) Gain parameter\n", + "C=((I0*Z0)/(4*V0))**(1/3) \n", + "print 'Gain parameter:' ,C\n", + "\n", + "ve=0.593e6*sqrt(V0) \n", + "be=(2*pi*f)/ve \n", + "\n", + "#Four propogation constants\n", + "gam1=((-sqrt(3)*be*C)/2)+(1J*be*(2+C))/2 \n", + "gam2=((sqrt(3)*be*C)/2)+(1J*be*(2+C))/2 \n", + "gam3=1J*be*(1-C) \n", + "gam4=-1J*be*(1-((C*C*C)/4)) \n", + "\n", + "print 'Four propogation constants:\\n {:.3f}\\n{:.3f}\\n{:.3f}\\n{:.3f}\\n'.format(gam1,gam2,gam3,gam4)\n", + "\n", + "#Calculations for propogation constants are wrong hence answers dont match" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Gain parameter: 0.0352364936603\n", + "Four propogation constants:\n", + " -51.123+1704.826j\n", + "51.123+1704.826j\n", + "0.000+1616.278j\n", + "0.000-1675.292j\n", + "\n" + ] + } + ], + "prompt_number": 34 + } + ], + "metadata": {} + } + ] +} diff --git a/Microwave_Engineering_by_G._S._Raghuvanshi/Ch7.ipynb b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch7.ipynb new file mode 100644 index 00000000..0a7b3b64 --- /dev/null +++ b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch7.ipynb @@ -0,0 +1,667 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:371baee58886405b4aa7513c033038892ef3ab34ea90022bb1b212fed658f276" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Ch-7 : Cross Field Microwave tube M Type" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 369 Example 7.1" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division \n", + "from math import pi\n", + "#Given\n", + "f=10e9 #Hz\n", + "C=2.5e-12 #F\n", + "Gr=2e-4 #mho\n", + "Ge=0.025e-3 #mho\n", + "Ploss=18.5e3 #W\n", + "V0=5.5e3 #V\n", + "I0=4.5 #A\n", + "\n", + "w=2*pi*f \n", + "\n", + "#(i) Unloaded Q\n", + "Qun=(w*C)/Gr \n", + "print 'Unloaded quality factor: %0.3f'%Qun\n", + "\n", + "#External Q\n", + "Qe=(w*C)/Ge \n", + "print 'External quality factor: %0.3f'%Qe\n", + "\n", + "#(ii) Circuit effciency\n", + "n=1/(1+(Qe/Qun)) \n", + "print 'Circuit effciency: %0.3f'%(n*100), '%'\n", + "\n", + "#Electronic effciency\n", + "ne=1-(Ploss/(V0*I0)) \n", + "print 'Electronic effciency: %0.3f'%(ne*100), '%'\n", + "\n", + "#Answer for Qe is given as 6285.6 but it should be 6283.1 " + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Unloaded quality factor: 785.398\n", + "External quality factor: 6283.185\n", + "Circuit effciency: 11.111 %\n", + "Electronic effciency: 25.253 %\n" + ] + } + ], + "prompt_number": 4 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 370 Example 7.2" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import sqrt \n", + "#Given\n", + "V0=25e3 #V\n", + "ebym=1.76e11 \n", + "B0=0.0336 #T\n", + "a=5e-2 #m\n", + "b=10e-2 #m\n", + "\n", + "#(i) Cut off voltage\n", + "x=(b/((b*b)-(a*a)))**2 \n", + "V=(ebym*B0*B0)/(8*x) \n", + "print 'Cut off voltage: %0.3f'%(V/1000),'KV'\n", + "\n", + "#(ii) Cut off magnetic field\n", + "y=((8*V0*x)/ebym) \n", + "B=sqrt(y) \n", + "print 'Cut off magnetic field: %0.3f'%(B*1000),'mT'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Cut off voltage: 139.709 KV\n", + "Cut off magnetic field: 14.213 mT\n" + ] + } + ], + "prompt_number": 6 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 371 Example 7.3" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Pout=250e3 #W\n", + "V0=25e3 #V\n", + "I0=25 #A\n", + "ebym=1.76e11 \n", + "B0=0.035 #T\n", + "a=4e-2 #m\n", + "b=8e-2 #m\n", + "\n", + "\n", + "#(i) Efficiency\n", + "n=Pout/(V0*I0) \n", + "print 'Efficiency:' ,n*100,'%'\n", + "\n", + "#(ii) Cyclotron frequency\n", + "f=(ebym*B0)/(2*pi) \n", + "print 'Cyclotron frequency: %0.3f'%(f/10**9),'Ghz'\n", + "\n", + "#(iii) Cut off magnetic field\n", + "x=(b/((b*b)-(a*a)))**2 \n", + "y=((8*V0*x)/ebym) \n", + "B=sqrt(y) \n", + "print 'Cut off magnetic field: %0.3f'%(B*1000),'mT'\n", + "\n", + "#(iv) Cut off voltage\n", + "V=(ebym*B0*B0)/(8*x) \n", + "print 'Cut off voltage:' ,round(V/1000),'KV'\n", + "\n", + "#Answer for Cyclotron frequency is is given as 9.8GHz but it should be 0.98 GHz as value of B0=0.035 not 0.35 as taken in part 2" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Efficiency: 40.0 %\n", + "Cyclotron frequency: 0.980 Ghz\n", + "Cut off magnetic field: 17.767 mT\n", + "Cut off voltage: 97.0 KV\n" + ] + } + ], + "prompt_number": 8 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 372 Example 7.4" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Gr=3e-4 #mho\n", + "Ge=3e-5 #mho\n", + "Ploss=200e3 #W\n", + "V0=22e3 #V\n", + "I0=28 #A\n", + "\n", + "#(i) Circuit effciency\n", + "n=1/(1+(Gr/Ge)) \n", + "print 'Circuit effciency: %0.3f'%(n*100), '%'\n", + "\n", + "#(ii) Electronic effciency\n", + "ne=1-(Ploss/(V0*I0)) \n", + "print 'Electronic effciency: %0.3f'%(ne*100),'%'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Circuit effciency: 9.091 %\n", + "Electronic effciency: 67.532 %\n" + ] + } + ], + "prompt_number": 9 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 372 Example 7.5" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "f=9e9 #Hz\n", + "C=2.5e-12 #F\n", + "Gr=2e-4 #mho\n", + "Ge=2.5e-5 #mho\n", + "Ploss=18.5e3 #W\n", + "V0=5.5e3 #V\n", + "I0=4.5 #A\n", + "\n", + "#(i) Angular resonant frequency\n", + "w=2*pi*f \n", + "print 'Angular resonant frequency: %0.3f'%w, 'rad/s'\n", + "\n", + "#(ii) Unloaded Q\n", + "Qun=round((w*C)/Gr) \n", + "print 'Unloaded quality factor:' ,Qun\n", + "\n", + "#(iii) Loaded Q\n", + "Ql=round((w*C)/(Gr+Ge)) \n", + "print 'Loaded quality factor:' ,Ql\n", + "\n", + "#(iv) External Q\n", + "Qe=(w*C)/Ge \n", + "print 'External quality factor: %0.3f'%Qe\n", + "\n", + "#(v) Circuit effciency\n", + "n=1/(1+(Qe/Qun)) \n", + "print 'Circuit effciency: %0.3f'%(n*100),'%'\n", + "\n", + "#(vi) Electronic effciency\n", + "ne=1-(Ploss/(V0*I0)) \n", + "print 'Electronic effciency: %0.3f'%(ne*100), '%'\n", + "\n", + "#Answer for external Q is given as 56.57 but it should be 5654.8" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Angular resonant frequency: 56548667764.616 rad/s\n", + "Unloaded quality factor: 707.0\n", + "Loaded quality factor: 628.0\n", + "External quality factor: 5654.867\n", + "Circuit effciency: 11.113 %\n", + "Electronic effciency: 25.253 %\n" + ] + } + ], + "prompt_number": 11 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 373 Example 7.6" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "f=4e9 #Hz\n", + "V0=25e3 #V\n", + "I0=3 #A\n", + "B0=0.3 #T\n", + "D=0.8 \n", + "Z0=50 #ohm\n", + "ebym=1.76e11 \n", + "\n", + "#(i) Electron beam phase constant\n", + "be=(2*pi*f)/sqrt(2*ebym*V0) \n", + "print 'Electron beam phase constant: %0.3f'%be,'rad/s'\n", + "\n", + "#(ii) Gain Parameter\n", + "C=((I0*Z0)/(4*V0))**(1/3) \n", + "print 'Gain Parameter: %0.3f'%C\n", + "\n", + "#(iii) Length for oscillation condition\n", + "N=1.25/D \n", + "l=(2*pi*N)/be \n", + "print 'Length for oscillation condition: %0.3f'%l,'m'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Electron beam phase constant: 267.916 rad/s\n", + "Gain Parameter: 0.114\n", + "Length for oscillation condition: 0.037 m\n" + ] + } + ], + "prompt_number": 14 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 374 Example 7.7" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "N=20 \n", + "t=0.2e-6 #s\n", + "DC=0.001 #Duty cycle\n", + "\n", + "#(i) Agile excursion\n", + "A=N/t \n", + "print 'Agile excursion:' ,A/10**6,'MHz'\n", + "\n", + "#(ii) Signal frequency\n", + "f=DC/t \n", + "print 'Signal frequency:',f/1000, 'Khz'\n", + "\n", + "#(iii) Agile rate\n", + "R=f/(2*N) \n", + "print 'Agile Rate:',R, 'Hz'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Agile excursion: 100.0 MHz\n", + "Signal frequency: 5.0 Khz\n", + "Agile Rate: 125.0 Hz\n" + ] + } + ], + "prompt_number": 15 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 375 Example 7.8" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import log10 \n", + "#Given\n", + "V0=1.8e3 #V\n", + "I0=1.3 #A\n", + "Pin=70 #W\n", + "n=0.22 \n", + "\n", + "#(i) Power generated\n", + "Pgen=n*I0*V0 \n", + "print 'Power generated:' ,Pgen,'W'\n", + "\n", + "#(ii) Total RF power generated\n", + "Pt=Pin+Pgen \n", + "print 'Total RF power generated:' ,Pt,'W'\n", + "\n", + "#(iii) Power gain\n", + "G=Pt/Pin \n", + "Gdb=10*log10(G) \n", + "print 'Power Gain: %0.3f'%Gdb,'dB'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Power generated: 514.8 W\n", + "Total RF power generated: 584.8 W\n", + "Power Gain: 9.219 dB\n" + ] + } + ], + "prompt_number": 16 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 375 Example 7.9" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "V0=10e3 #V\n", + "I0=2 #A\n", + "b=4e-2 #m\n", + "a=3e-2 #m\n", + "B0=0.01 #Wb/m2\n", + "ebym=1.759e11 \n", + "\n", + "#Cut off voltage\n", + "x=1-((b*b)/(a*a)) \n", + "V=(ebym*(B0**2)*(a**2)*(x**2))/8 \n", + "KV=V/1000 #Kilovolts\n", + "print 'Cut off voltage: %0.3f'%KV, 'KV'\n", + "\n", + "#Magnetic flux density\n", + "y=-sqrt((8*V0)/ebym) \n", + "B=y/(a*x) \n", + "print 'Magnetic flux density: %0.3f'%B, 'T'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Cut off voltage: 1.197 KV\n", + "Magnetic flux density: 0.029 T\n" + ] + } + ], + "prompt_number": 18 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 376 Example 7.10" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "V0=10e3 #V\n", + "I0=2 #A\n", + "b=4e-2 #m\n", + "a=3e-2 #m\n", + "B0=0.01 #Wb/m2\n", + "ebym=1.759e11 \n", + "\n", + "#Cut off voltage\n", + "x=1-((b*b)/(a*a)) \n", + "V=(ebym*(B0**2)*(a**2)*(x**2))/8 \n", + "print 'Cut off voltage: %0.3f'%(V/1000), 'KV'\n", + "\n", + "#Magnetic flux density\n", + "y=-sqrt((8*V0)/ebym) \n", + "B=y/(a*x) \n", + "print 'Magnetic flux density: %0.3f'%B, 'T'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Cut off voltage: 1.197 KV\n", + "Magnetic flux density: 0.029 T\n" + ] + } + ], + "prompt_number": 20 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 376 Example 7.11" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "e=1.6e-19 #J\n", + "B0=0.01 #Wb/m2\n", + "d=6e-2 #m\n", + "V0=20e3 #V\n", + "ebym=1.759e11 \n", + "\n", + "#(i) Hull cut off voltage\n", + "Voc=(B0*B0*d*d*ebym)/2 \n", + "print 'Hull cut off voltage:' ,Voc/1000,'KV'\n", + "\n", + "#(ii) Hull magnetic field\n", + "Boc=sqrt((2*V0)/ebym)/d \n", + "print 'Hull magnetic field: %0.3f'%(Boc*1000),'mT'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Hull cut off voltage: 31.662 KV\n", + "Hull magnetic field: 7.948 mT\n" + ] + } + ], + "prompt_number": 21 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 377 Example 7.12" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "V0=10e3 #V\n", + "V01=5e3 #V\n", + "I0=2 #A\n", + "b=3e-2 #m\n", + "a=2e-2 #m\n", + "B0=0.01 #Wb/m2\n", + "ebym=1.759e11 \n", + "\n", + "#Cut off voltage\n", + "x=1-((b*b)/(a*a)) \n", + "V=(ebym*(B0**2)*(a**2)*(x**2))/8 \n", + "KV=V/1000 #Kilovolts\n", + "print 'Cut off voltage: %0.3f'%KV,'KV'\n", + "\n", + "#Magnetic flux density\n", + "y=-sqrt((8*V01)/ebym) \n", + "B=y/(a*x) \n", + "print 'Magnetic flux density: %0.3f'%B, 'Wb/m2'\n", + "\n", + "#Answer in book is wrong for Magnetic flux density as a*a ,where a=2, is taken as 5, which should be 4" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Cut off voltage: 1.374 KV\n", + "Magnetic flux density: 0.019 Wb/m2\n" + ] + } + ], + "prompt_number": 23 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 377 Example 7.13" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "N=15 \n", + "t=0.3e-6 #s\n", + "DC=0.0011 #Duty cycle\n", + "\n", + "#(i) Agile excursion\n", + "A=N/t \n", + "print 'Agile excursion:',A/10**6, 'MHz'\n", + "\n", + "#(ii) Pulse to pulse frequency seperation\n", + "fp=1/t \n", + "print 'Pulse to pulse frequency seperation: %0.3f'%(fp/10**6),'Mhz'\n", + "\n", + "#(iii) Signal frequency\n", + "f=DC/t \n", + "print 'Signal frequency: %0.3f'%(f/1000), 'Khz'\n", + "\n", + "#(iv) Agile rate\n", + "Tp=N/f \n", + "R=1/(2*Tp) \n", + "print 'Agile Rate: %0.3f'%R,'ps'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Agile excursion: 50.0 MHz\n", + "Pulse to pulse frequency seperation: 3.333 Mhz\n", + "Signal frequency: 3.667 Khz\n", + "Agile Rate: 122.222 ps\n" + ] + } + ], + "prompt_number": 26 + } + ], + "metadata": {} + } + ] +} diff --git a/Microwave_Engineering_by_G._S._Raghuvanshi/Ch8.ipynb b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch8.ipynb new file mode 100644 index 00000000..e05f6096 --- /dev/null +++ b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch8.ipynb @@ -0,0 +1,542 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:1c099612373c83d96585e30f362b0f5d48107f5099d65d556d32340ac8900c86" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Ch-8 : Microwave Solid State Control Device" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 389 Example 8.1" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division \n", + "from math import pi, sqrt, log10\n", + "#Given\n", + "Rf=0.5 #ohm\n", + "Rr=1 #ohm\n", + "Ls=0.3e-9 #H\n", + "Cj=0.1e-12 #F\n", + "f=3.18e9 #Hz\n", + "Z0=50 #ohm\n", + "\n", + "Zf=Rf+(1J*round(2*pi*f*Ls)) \n", + "Zr=Rr+(1J*(round(2*pi*f*Ls)-(1/(2*pi*f*Cj)))) \n", + "\n", + "#Series Configuration\n", + "print 'Series Configuration' \n", + "\n", + "#Insertion Loss\n", + "x=(2*Z0)/((2*Z0)+Zf) \n", + "x1=sqrt(((x.real))**2+((x.imag))**2) \n", + "IN=-20*log10(x1) \n", + "print 'Insertion Loss: %0.3f'%IN,'dB'\n", + "\n", + "#Isolation Loss\n", + "y=(2*Z0)/((2*Z0)+Zr) \n", + "y1=sqrt(((y.real))**2+((y.imag))**2) \n", + "IS=-20*log10(y1) \n", + "print 'Isolation Loss: %0.3f'%IS,'dB'\n", + "\n", + "#Shunt Configuration\n", + "print 'Shunt Configuration' \n", + "\n", + "#Insertion Loss\n", + "a=(2*Zr)/((2*Zr)+Z0) \n", + "a1=sqrt(((a.real))**2+((a.imag))**2) \n", + "INs=-20*log10(a1) \n", + "print 'Insertion Loss: %0.3f'%INs,'dB'\n", + "\n", + "#Isolation Loss\n", + "b=(2*Zf)/((2*Zf)+Z0) \n", + "b1=sqrt(((b.real))**2+((b.imag))**2) \n", + "ISs=-20*log10(b1) \n", + "print 'Isolation Loss: %0.3f'%ISs,'dB'\n", + "\n", + "#Answer for Series configuration insertion loss is 0.058 but is given as 0.58db" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Series Configuration\n", + "Insertion Loss: 0.059 dB\n", + "Isolation Loss: 14.061 dB\n", + "Shunt Configuration\n", + "Insertion Loss: 0.012 dB\n", + "Isolation Loss: 12.772 dB\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 390 Example 8.2" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Rf=1 #ohm\n", + "Rr=4 #ohm\n", + "Ls=0.3e-9 #H\n", + "Cj=0.1e-12 #F\n", + "f=3.18e9 #Hz\n", + "Z0=50 #ohm\n", + "\n", + "Zf=Rf+(1J*round(2*pi*f*Ls)) \n", + "Zr=Rr+(1J*(round(2*pi*f*Ls)-(1/(2*pi*f*Cj)))) \n", + "\n", + "#Series Configuration\n", + "print 'Series Configuration' \n", + "\n", + "#Insertion Loss\n", + "x=(2*Z0)/((2*Z0)+Zf) \n", + "x1=sqrt(((x.real))**2+((x.imag))**2) \n", + "IN=-20*log10(x1) \n", + "print 'Insertion Loss: %0.3f'%IN,'dB'\n", + "\n", + "#Isolation Loss\n", + "y=(2*Z0)/((2*Z0)+Zr) \n", + "y1=sqrt(((y.real))**2+((y.imag))**2) \n", + "IS=-20*log10(y1) \n", + "print 'Isolation Loss: %0.3f'%IS,'dB'\n", + "\n", + "#Shunt Configuration\n", + "print 'Shunt Configuration' \n", + "\n", + "#Insertion Loss\n", + "a=(2*Zr)/((2*Zr)+Z0) \n", + "a1=sqrt(((a.real))**2+((a.imag))**2) \n", + "INs=-20*log10(a1) \n", + "print 'Insertion Loss: %0.3f'%INs,'dB'\n", + "\n", + "#Isolation Loss\n", + "b=(2*Zf)/((2*Zf)+Z0) \n", + "b1=sqrt(((b.real))**2+((b.imag))**2) \n", + "ISs=-20*log10(b1) \n", + "print 'Isolation Loss: %0.3f'%ISs,'dB'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Series Configuration\n", + "Insertion Loss: 0.102 dB\n", + "Isolation Loss: 14.071 dB\n", + "Shunt Configuration\n", + "Insertion Loss: 0.015 dB\n", + "Isolation Loss: 12.843 dB\n" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 392 Example 8.3" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Vbd=1000 #V\n", + "f=30e9 #Hz\n", + "E=3e5 #V/cm\n", + "Cj=0.3e-12 #F\n", + "er=11.8 \n", + "e0=8.854e-12 \n", + "\n", + "W=Vbd/E \n", + "Wpi=W/100 #mu\n", + "\n", + "#Total series resistance\n", + "R=1/(2*pi*f*Cj) \n", + "print 'Total series resistance: %0.3f'%R, 'ohms'\n", + "\n", + "#Junction Area\n", + "A=(Cj*Wpi)/(e0*er) \n", + "print 'Junction Area: %0.3f'%(A*10000), 'cm2'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Total series resistance: 17.684 ohms\n", + "Junction Area: 0.001 cm2\n" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 428 Example 8.6" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "MQ=10 \n", + "M=0.4 \n", + "r=20 \n", + "Td=300 #K\n", + "T=290 #K\n", + "\n", + "x=(MQ*MQ)/r \n", + "#Power Gain\n", + "Ap=(r*x)/((1+sqrt(1+x))**2) \n", + "Apdb=10*log10(Ap) \n", + "print 'Power gain: %0.3f'%Apdb,'dB'\n", + "\n", + "#Noise figure\n", + "z=(Td/T)/sqrt(1+((MQ*MQ)/r)) \n", + "F=1+z \n", + "Fdb=10*log10(F) \n", + "print 'Nosie figure: %0.3f'%F,'dB'\n", + "\n", + "#Bandwidth\n", + "BW=2*M*sqrt(r) \n", + "print 'Bandwidth: %0.3f'%BW" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Power gain: 9.245 dB\n", + "Nosie figure: 1.422 dB\n", + "Bandwidth: 3.578\n" + ] + } + ], + "prompt_number": 4 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 428 Example 8.7" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "MQ=10 \n", + "r=10 \n", + "\n", + "x=(MQ*MQ)/r \n", + "\n", + "#Gain\n", + "Ap=(r*x)/((1+sqrt(1+x))**2) \n", + "Apdb=10*log10(Ap) \n", + "print 'Gain: %0.3f'%Apdb,'dB'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Gain: 7.297 dB\n" + ] + } + ], + "prompt_number": 5 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 429 Example 8.8" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Rs=1 #ohm\n", + "ws=5e9 #Hz\n", + "M=0.25 \n", + "C0=2e-12 #F\n", + "\n", + "#(i) Effective Q\n", + "Q=1/(Rs*ws*C0*(1-(M*M))) \n", + "print 'Effective Q: %0.3f'%Q" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Effective Q: 106.667\n" + ] + } + ], + "prompt_number": 6 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 434 Example 8.9" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "e=0.0001 \n", + "s=330 \n", + "\n", + "#Charge transfer effciency\n", + "n=1-e \n", + "\n", + "#Final charge pulse\n", + "#x=P/P0\n", + "x=(1-(e*s)) \n", + "print 'Final charge pulse:' ,x" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Final charge pulse: 0.967\n" + ] + } + ], + "prompt_number": 7 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 434 Example 8.10" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Qmax=0.05e-12 #C\n", + "f=10e6 #Hz\n", + "V=10 #V\n", + "n=3 \n", + "\n", + "#Power disspated per bit\n", + "P=n*f*V*Qmax \n", + "print 'Power disspated per bit:',P*10**6, 'muW'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Power disspated per bit: 15.0 muW\n" + ] + } + ], + "prompt_number": 8 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 434 Example 8.11" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "e0=8.854e-12 \n", + "er=3.9 \n", + "d=0.15e-6 #m\n", + "e=1.6e-19 #J\n", + "Nmax=2.2e16 #m-2\n", + "A=0.6e-8 #m\n", + "P=0.67e-3 #W\n", + "n=3 \n", + "\n", + "#(i) Junction capacitance\n", + "Ci=(e0*er)/d \n", + "\n", + "#Gate voltage\n", + "V=(Nmax*e)/Ci \n", + "print 'Gate voltage: %0.3f'%V,'V'\n", + "\n", + "#(ii) Charge stored\n", + "Qmax=Nmax*e*A \n", + "\n", + "#Clock frequency\n", + "f=P/(n*V*Qmax) \n", + "print 'Clock frequency: %0.3f'%(f/10**6),'MHz'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Gate voltage: 15.291 V\n", + "Clock frequency: 0.692 MHz\n" + ] + } + ], + "prompt_number": 7 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 435 Example 8.12" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Qmax=0.06e-12 #C\n", + "f=20e6 #Hz\n", + "V=10 #V\n", + "n=3 \n", + "\n", + "#Power disspated per bit\n", + "P=n*f*V*Qmax \n", + "print 'Power disspated per bit:',P*10**6, 'muW'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Power disspated per bit: 36.0 muW\n" + ] + } + ], + "prompt_number": 10 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 435 Example 8.13" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "e0=8.854e-12 \n", + "er=4 \n", + "d=0.1e-6 #m\n", + "si=0.85 \n", + "e=1.6e-19 #J\n", + "Na=1e20 \n", + "\n", + "Ci=(e0*er)/d \n", + "print 'Junction capacitance: %0.5f'%Ci, 'F/m'\n", + "\n", + "W=sqrt((2*e0*er*si)/(e*Na)) \n", + "print 'Depletion layer width: %0.3e'%W,'m'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Junction capacitance: 0.00035 F/m\n", + "Depletion layer width: 1.940e-06 m\n" + ] + } + ], + "prompt_number": 12 + } + ], + "metadata": {} + } + ] +} diff --git a/Microwave_Engineering_by_G._S._Raghuvanshi/Ch9.ipynb b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch9.ipynb new file mode 100644 index 00000000..841b5c3a --- /dev/null +++ b/Microwave_Engineering_by_G._S._Raghuvanshi/Ch9.ipynb @@ -0,0 +1,1041 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:9c9d61e8b5bf885fbdf1f7f9c70abb8dab2f7888d9bcb8fa95f4e55f61bf2198" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Ch-9 : Microwave Solid State Generators & Amplifiers" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 448 Example 9.2" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "from math import pi\n", + "#Given\n", + "fc=5e9 #Hz\n", + "Em=2e7 #V/m\n", + "vs=4e3 #ms/s\n", + "Xc=1 #ohm\n", + "\n", + "#Maximum allowable power\n", + "Pm=((Em*vs)**2)/(((2*pi*fc)**2)*Xc) \n", + "print 'Maximum allowable power: %0.3f'%Pm, 'W'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Maximum allowable power: 6.485 W\n" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 451 Example 9.3" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "XeGe=4.0 #eV\n", + "XeGaAs=4.1 #eV\n", + "delEgGe=0.78 #eV\n", + "delEgGaAs=1.42 #eV\n", + "\n", + "#Conduction band differential\n", + "delEc=XeGe-XeGaAs \n", + "print 'Conduction band differential:' ,delEc,'eV'\n", + "\n", + "#Valence band differential\n", + "delEv=delEgGaAs-delEgGe-delEc \n", + "print 'Valence band differential:' ,delEv,'eV'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Conduction band differential: -0.1 eV\n", + "Valence band differential: 0.74 eV\n" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 454 Example 9.4" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "S11=0.89 \n", + "S12=0.02 \n", + "S21=3.1 \n", + "S22=0.78 \n", + "\n", + "Del=(S11*S22)-(S12*S21) \n", + "K=(1-(S11)**2-(S22)**2+(Del)**2 )/(2*S12*S21) \n", + "if(K<1):\n", + " print 'Amplifier is potentially unstable' \n", + "else:\n", + " print 'Amplifier is potentially stable' \n", + " \n", + " " + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Amplifier is potentially unstable\n" + ] + } + ], + "prompt_number": 4 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 454 Example 9.5" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "S11=0.40 \n", + "S12=0.01 \n", + "S21=2.00 \n", + "S22=0.35 \n", + "\n", + "ZL=20 #ohm\n", + "ZS=30 #ohm\n", + "Z0=ZL+ZS #ohm\n", + "\n", + "#Reflection coefficients of source and load\n", + "TL=(ZL-Z0)/(ZL+Z0) \n", + "TLm=-TL \n", + "TS=(ZS-Z0)/(ZS+Z0) \n", + "TSm=-TS \n", + "\n", + "#Reflection coefficients of input and output\n", + "Tin=S11+((S12*S21*TL)/(1-(S22*TL))) \n", + "Tout=S22+((S12*S21*TS)/(1-(S22*TS))) \n", + "\n", + "#Transducer Gain\n", + "x=(1-(TSm)**2)/((1-(S11*TSm))**2) #Value of should be 1.145\n", + "y=(S21*S21) \n", + "z=(1-(TLm)**2)/((1-(Tout*TLm))**2) \n", + "GT=x*y*z \n", + "print 'Transducer Gain: %0.3f'%GT\n", + "\n", + "#Available Power Gain\n", + "z1=1-(Tout)**2 \n", + "GA=(x*y)/z1 \n", + "print 'Available power Gain: %0.3f'%GA\n", + "\n", + "#Power Gain\n", + "z2=1-(Tin)**2 \n", + "GP=(x*y)/z2 \n", + "print 'Power Gain: %0.3f'%GP\n", + "\n", + "#All the end calculations of finding gain are not accurate in the book, hence the answers dont match" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Transducer Gain: 5.207\n", + "Available power Gain: 5.257\n", + "Power Gain: 5.473\n" + ] + } + ], + "prompt_number": 25 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 455 Example 9.6" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import sqrt\n", + "#Given\n", + "S11=0.60 \n", + "S12=0.045 \n", + "S21=2.50 \n", + "S22=0.50\n", + "TS=0.5 \n", + "TL=0.4 \n", + "Vrms=10 #V\n", + "Z0=50 #ohm\n", + "\n", + "#(i)Reflection coefficients of input and output\n", + "Tin=S11+((S12*S21*TL)/(1-(S22*TL))) \n", + "Tout=S22+((S12*S21*TS)/(1-(S22*TS))) \n", + "print 'Reflection coefficients of input: %0.3f'%Tin\n", + "print 'Reflection coefficients of output:' ,Tout\n", + "\n", + "#(ii) Gains\n", + "#Transducer Gain\n", + "x=(1-(TS)**2)/((1-(S11*TS))**2) \n", + "y=(S21*S21) \n", + "z=(1-(TL)**2)/((1-(Tout*TL))**2) \n", + "GT=x*y*z \n", + "print 'Transducer Gain: %0.3f'%GT\n", + "\n", + "#Available Power Gain\n", + "z1=1-(Tout)**2 \n", + "GA=(x*y)/z1 \n", + "print 'Available power Gain: %0.3f'%GA\n", + "\n", + "#Power Gain\n", + "z2=1-(Tin)**2 \n", + "GP=(x*y)/z2 \n", + "print 'Power Gain: %0.3f'%GP\n", + "\n", + "#Calculation for Tout and Gains are wrong in the book, hence the answers dont match\n", + "\n", + "#(iii) Power available\n", + "Gt=9.4 \n", + "Pas=(sqrt(2)*Vrms)**2/(8*Z0) \n", + "Pal=Gt*Pas \n", + "print 'Power available at source:' ,Pas,'W'\n", + "print 'Power available at load:',Pal, 'W'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Reflection coefficients of input: 0.656\n", + "Reflection coefficients of output: 0.575\n", + "Transducer Gain: 13.553\n", + "Available power Gain: 14.291\n", + "Power Gain: 16.803\n", + "Power available at source: 0.5 W\n", + "Power available at load: 4.7 W\n" + ] + } + ], + "prompt_number": 26 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 457 Example 9.7" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import log10 \n", + "#Given\n", + "S11=0.90 \n", + "S12=0 \n", + "S21=2.40 \n", + "S22=0.80 \n", + "\n", + "Gmax=(S21*S21)/((1-(S11)**2)*(1-(S22)**2)) \n", + "Gdb=10*log10(Gmax) \n", + "print 'Maximum gain: %0.3f'%Gdb" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Maximum gain: 19.254\n" + ] + } + ], + "prompt_number": 27 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 468 Example 9.8" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "e=1.6e-19 \n", + "Nd=1.1e23 #m-3\n", + "a=0.2e-6 #m\n", + "er=11.8 \n", + "e0=8.854e-12 \n", + "mue=800e-4 #m2/Vs\n", + "Z=50e-6 \n", + "L=8.5e-6 #m\n", + "W0=1 #V\n", + "Vd=12 #V\n", + "Vg=1.5 #V\n", + "\n", + "#(i) Pinch off voltage and pinch off current\n", + "Vp=(e*Nd*a*a)/(2*er*e0) \n", + "print 'Pinch off voltage: %0.3f'%Vp,'V'\n", + "\n", + "Ip=(mue*e*e*Nd*Nd*Z*a*a)/(e0*er*L) \n", + "print 'Pinch off current: %0.3f'%Ip,'A'\n", + "#Answer for Ip is 55809 A but it is given as 0.00558 A\n", + "\n", + "#(ii) Drain and maximum drain current\n", + "#Taking Ip=5.58mA as given in book\n", + "Ip1=0.00558 #A\n", + "x=(2/3)*(((Vd+Vg+W0)/Vp)**(3/2)) \n", + "y=(2/3)*(((Vg+W0)/Vp)**(3/2)) \n", + "Id=Ip1*((Vd/Vp)-x+y)\n", + "print 'Drain current: %0.3f'%-Id,'A'\n", + "\n", + "#Saturation Current\n", + "Is=Ip1*((1/3)-((Vg+W0)/Vp)+((2/3)*(((Vg+W0)/Vp)**(3/2))))\n", + "print 'Drain saturation current: %0.3e'%Is, 'A'\n", + "\n", + "#(iii) Cut off frequency\n", + "f=(2*mue*e*Nd*a*a)/(pi*er*e0*L*L) \n", + "print 'Cutt off freqency: %0.3f'%(f/10**9),'GHz'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Pinch off voltage: 3.369 V\n", + "Pinch off current: 55809.081 A\n", + "Drain current: 0.011 A\n", + "Drain saturation current: 9.728e-05 A\n", + "Cutt off freqency: 4.750 GHz\n" + ] + } + ], + "prompt_number": 29 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 469 Example 9.9" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "e=1.6e-19 \n", + "Nd=8e23 #m-3\n", + "a=0.12e-6 #m\n", + "er=13.2 \n", + "e0=8.854e-12 \n", + "\n", + "#Pinch off voltage\n", + "Vp=(e*Nd*a*a)/(2*er*e0) \n", + "print 'Pinch off voltage:' ,Vp,'V'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Pinch off voltage: 7.88549602645 V\n" + ] + } + ], + "prompt_number": 9 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 486 Example 9.10" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "vd=2e5 #m/s\n", + "L=10e-6 #m\n", + "Ec=3.2e5 #V/m\n", + "\n", + "#Natural frequency\n", + "f=vd/L \n", + "print 'Natural frequency:' ,f/10**9,'GHz'\n", + "\n", + "#Critical voltage\n", + "Vc=Ec*L \n", + "print 'Critical voltage:',Vc, 'V'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Natural frequency: 20.0 GHz\n", + "Critical voltage: 3.2 V\n" + ] + } + ], + "prompt_number": 31 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 487 Example 9.11" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "n=0.08 \n", + "A=3e-8 #m2\n", + "n0=1e21 #m-3\n", + "e=1.6e-19 \n", + "vd=1.5e5 #m/s\n", + "M=3.2\n", + "E=350e3 #V\n", + "L=12e-6 #m\n", + "\n", + "#Power output\n", + "Pout=n*A*n0*e*vd*M*L*E \n", + "print 'Power output:' ,Pout*1000,'mW'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Power output: 774.144 mW\n" + ] + } + ], + "prompt_number": 11 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 487 Example 9.12" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "G=15.85 \n", + "Rn=75 #ohm\n", + "\n", + "Rl=Rn-(Rn/G) \n", + "C=Rl+(10*1J) \n", + "print 'Cavity impedance: {:.3f}'.format(C), 'ohms'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Cavity impedance: 70.268+10.000j ohms\n" + ] + } + ], + "prompt_number": 32 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 487 Example 9.13" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "e=1.6e-19 \n", + "n1=1e16 #m-3\n", + "mu1=8000e-4 #m2/Vs\n", + "nu=1e14 #m-3\n", + "muu=180e-4 #m2/Vs\n", + "\n", + "#/Conductivity\n", + "C=e*((n1*mu1)+(nu*muu)) \n", + "print 'Conductivity: %0.3f'%(C*1000),'m mho'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Conductivity: 1.280 m mho\n" + ] + } + ], + "prompt_number": 33 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 488 Example 9.14" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "e0=8.854e-12 \n", + "er=13.1 \n", + "vd=2.5e5 #m/s\n", + "e=1.6e-19 \n", + "mu=0.015 #m2/Vs\n", + "\n", + "#Criteria\n", + "n0L=(e0*er*vd)/(e*mu) \n", + "print 'n0L should be greater than %0.3e'%n0L,'m**-3'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "n0L should be greater than 1.208e+16 m**-3\n" + ] + } + ], + "prompt_number": 34 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 488 Example 9.15" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "L=10e-6 #m\n", + "f=10e9 #Hz\n", + "e=1.6e-19 \n", + "n0=2e20 #m3\n", + "E=3200e2 #V/m\n", + "\n", + "#Current density\n", + "vd=L*f \n", + "J=n0*e*vd \n", + "print 'Current density:' ,J,'A/m sqr'\n", + "\n", + "#Negative electron mobility\n", + "mu=-vd/E \n", + "print 'Negative electron mobility:' ,mu*10000,'cm sqr/Vs'\n", + "\n", + "#Answer for Negative electron mobility is 3125 but it is given as 3100" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Current density: 3200000.0 A/m sqr\n", + "Negative electron mobility: -3125.0 cm sqr/Vs\n" + ] + } + ], + "prompt_number": 15 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 497 Example 9.17" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "n=0.15 \n", + "Vdc=100 #V\n", + "Idc=200e-3 #A\n", + "vd=2e5 #m/s\n", + "L=6e-6 #m\n", + "\n", + "#(i) Maximum CW output power\n", + "Pdc=Vdc*Idc \n", + "Pout=n*Pdc \n", + "print 'Maximum CW power output:' ,Pout,'W'\n", + "\n", + "#(ii) Resonant frequency\n", + "f=vd/(2*L) \n", + "print 'Resonant frequency: %0.3f'%(f/10**9),'GHz'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Maximum CW power output: 3.0 W\n", + "Resonant frequency: 16.667 GHz\n" + ] + } + ], + "prompt_number": 35 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 497 Example 9.18" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "n=0.1 \n", + "Vdc=100 #V\n", + "Idc=100e-3 #A\n", + "vd=2e5 #m/s\n", + "L=5e-6 #m\n", + "V0=90 #V\n", + "k=3 \n", + "\n", + "#(i) Maximum CW output power\n", + "Pdc=Vdc*Idc \n", + "Pout=n*Pdc \n", + "print 'Maximum CW power output:' ,Pout,'W'\n", + "\n", + "#(ii) Resonant frequency\n", + "f=vd/(2*L) \n", + "print 'Resonant frequency:' ,f,'Hz'\n", + "\n", + "#(iii)Transit time\n", + "T=L/vd \n", + "print 'Transit time:' ,T,'s'\n", + "\n", + "#(iv) Avalanche multiplication factor\n", + "M=1/(1-((Vdc/V0)**k)) \n", + "print 'Avalanche multiplication factor: %0.3f'%-M" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Maximum CW power output: 1.0 W\n", + "Resonant frequency: 20000000000.0 Hz\n", + "Transit time: 2.5e-11 s\n", + "Avalanche multiplication factor: 2.690\n" + ] + } + ], + "prompt_number": 36 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 498 Example 9.19" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "n=0.1 \n", + "Vdc=100 #V\n", + "Idc=0.9 #A\n", + "t=0.01e-9 #s\n", + "f=16e9 #Hz\n", + "\n", + "#(i)Power output\n", + "Pdc=Vdc*Idc \n", + "Pout=n*Pdc \n", + "print 'Power output:' ,Pout,'W'\n", + "\n", + "#(ii)Duty cycle\n", + "D=(t/2)+(1/(2*f)) \n", + "print 'Duty cycle:',D, 's'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Power output: 9.0 W\n", + "Duty cycle: 3.625e-11 s\n" + ] + } + ], + "prompt_number": 18 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 498 Example 9.20" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "Cj=0.5e-12 #F\n", + "Lp=0.5e-9 #H\n", + "Irf=0.65 #A\n", + "Rl=2 #ohms\n", + "Vbd=80 #V\n", + "Idc=0.08 #A\n", + "\n", + "#Resonant frequency\n", + "f=1/(2*pi*sqrt(Cj*Lp)) \n", + "print 'Resonant frequency: %0.3f'%f,'Hz'\n", + "\n", + "#Efficiency\n", + "Pout=(Irf*Irf*Rl)/2 \n", + "Pin=Vbd*Idc \n", + "n=(Pout*100)/Pin \n", + "print 'Efficiency: %0.3f'%n, '%'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Resonant frequency: 10065842420.897 Hz\n", + "Efficiency: 6.602 %\n" + ] + } + ], + "prompt_number": 38 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 501 Example 9.21" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "J=25e7 #A/m \n", + "Na=2.5e21 #m3\n", + "e=1.6e-19 \n", + "\n", + "#Avlance zone velocity\n", + "vz=J/(Na*e) \n", + "print 'Avlanche zone velocity:' ,vz,'m/s'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Avlanche zone velocity: 625000.0 m/s\n" + ] + } + ], + "prompt_number": 20 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 503 Example 9.22" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "e=1.6e-19 \n", + "N=4e21 #m\n", + "L=10e-6 #m\n", + "e0=8.854e-12 \n", + "er=11 \n", + "\n", + "#Breakdown voltage\n", + "Vbd=(e*N*L*L)/(e0*er) \n", + "print 'Breakdown voltage:' ,round(Vbd),'V'\n", + "\n", + "#Breakdown electric field\n", + "E=Vbd/L \n", + "print 'Breakdown electric field: %0.3f'%E, 'V/m'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Breakdown voltage: 657.0 V\n", + "Breakdown electric field: 65712466.887 V/m\n" + ] + } + ], + "prompt_number": 39 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 515 Example 9.23" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "lam=8000e-10 #m\n", + "a=0.5e-2 #m\n", + "D=4e8 #m\n", + "\n", + "#Angular Spread\n", + "t=(1.22*lam)/a \n", + "print 'Angular spread:',t, 'rad'\n", + "\n", + "#Aerial spread\n", + "A=pi*((D*t)**2) \n", + "print 'Aerial spread:',A, 'm sqr'\n", + "\n", + "\n", + "#Answer for A is given as 193 m sqr but it is 1.915e10 m sqr" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Angular spread: 0.0001952 rad\n", + "Aerial spread: 19152676887.0 m sqr\n" + ] + } + ], + "prompt_number": 41 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 515 Example 9.24" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "E=10 #W\n", + "T=1e-9 #s\n", + "c=3e8 #m/s\n", + "lam=650e-9 #m\n", + "\n", + "#Pulse Power\n", + "P=E/T \n", + "print 'Pulse Power:' ,P,'W'\n", + "\n", + "#Q value\n", + "Q=(c*T)/lam \n", + "print 'Q value: %0.3f'%Q " + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Pulse Power: 10000000000.0 W\n", + "Q value: 461538.462\n" + ] + } + ], + "prompt_number": 42 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Page Number: 515 Example 9.25" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + " \n", + "#Given\n", + "h=6.626e-34 \n", + "c=3e8 #m/s\n", + "e=1.6e-19 \n", + "Eg=1.85 #eV\n", + "\n", + "#Wavelenght emitted\n", + "lam=(h*c)/(Eg*e) \n", + "lamarm=lam*1e10 \n", + "print 'Wavelenght emitted:' ,round(lamarm),'A'" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Wavelenght emitted: 6716.0 A\n" + ] + } + ], + "prompt_number": 43 + } + ], + "metadata": {} + } + ] +} diff --git a/Microwave_Engineering_by_G._S._Raghuvanshi/screenshots/12refCoeff.png b/Microwave_Engineering_by_G._S._Raghuvanshi/screenshots/12refCoeff.png Binary files differnew file mode 100644 index 00000000..db6c9944 --- /dev/null +++ b/Microwave_Engineering_by_G._S._Raghuvanshi/screenshots/12refCoeff.png diff --git a/Microwave_Engineering_by_G._S._Raghuvanshi/screenshots/1RefCoeff.png b/Microwave_Engineering_by_G._S._Raghuvanshi/screenshots/1RefCoeff.png Binary files differnew file mode 100644 index 00000000..307db5eb --- /dev/null +++ b/Microwave_Engineering_by_G._S._Raghuvanshi/screenshots/1RefCoeff.png diff --git a/Microwave_Engineering_by_G._S._Raghuvanshi/screenshots/6axialPhasVel.png b/Microwave_Engineering_by_G._S._Raghuvanshi/screenshots/6axialPhasVel.png Binary files differnew file mode 100644 index 00000000..b35ff8c9 --- /dev/null +++ b/Microwave_Engineering_by_G._S._Raghuvanshi/screenshots/6axialPhasVel.png |