diff options
-rw-r--r-- | Engineering_Mechanics_by_Khurmi_R.S./chapter10.ipynb | 206 | ||||
-rw-r--r-- | Engineering_Mechanics_by_Khurmi_R.S./chapter11.ipynb | 872 | ||||
-rw-r--r-- | Engineering_Mechanics_by_Khurmi_R.S./chapter17.ipynb | 399 | ||||
-rw-r--r-- | Engineering_Mechanics_by_Khurmi_R.S./chapter2.ipynb | 69 | ||||
-rw-r--r-- | Engineering_Mechanics_by_Khurmi_R.S./chapter20.ipynb | 230 | ||||
-rw-r--r-- | Engineering_Mechanics_by_Khurmi_R.S./chapter21.ipynb | 192 | ||||
-rw-r--r-- | Engineering_Mechanics_by_Khurmi_R.S./chapter24.ipynb | 495 | ||||
-rw-r--r-- | Engineering_Mechanics_by_Khurmi_R.S./chapter28.ipynb | 253 | ||||
-rw-r--r-- | Engineering_Mechanics_by_Khurmi_R.S./chapter7.ipynb | 71 | ||||
-rw-r--r-- | Engineering_Mechanics_by_Khurmi_R.S./screenshots/screenshot1.png | bin | 0 -> 27445 bytes | |||
-rw-r--r-- | Engineering_Mechanics_by_Khurmi_R.S./screenshots/screenshot2.png | bin | 0 -> 21809 bytes | |||
-rw-r--r-- | Engineering_Mechanics_by_Khurmi_R.S./screenshots/screenshot3.png | bin | 0 -> 22998 bytes |
12 files changed, 2787 insertions, 0 deletions
diff --git a/Engineering_Mechanics_by_Khurmi_R.S./chapter10.ipynb b/Engineering_Mechanics_by_Khurmi_R.S./chapter10.ipynb new file mode 100644 index 00000000..37b360d0 --- /dev/null +++ b/Engineering_Mechanics_by_Khurmi_R.S./chapter10.ipynb @@ -0,0 +1,206 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:7b15e8f180333ee46bf2dbf70747d7d301a3bed09a0eb6d2a0ced67423d0f6af"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 10:Principles of Lifting Machines"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.1, Page no.173"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "W=1000 #Weight in N\n",
+ "P=25 #Effort in N\n",
+ "x=0.1 #Distance through which the weight is moved in m\n",
+ "y=8 #Distance through which effort is moved in m\n",
+ "\n",
+ "#calculation\n",
+ "MA=W/P\n",
+ "VR=y/x\n",
+ "Eta=MA/VR\n",
+ "\n",
+ "#Result\n",
+ "print\"Mechanical advantage of the machine, M.A.=\",int(MA)\n",
+ "print\"Velocity ratio of the machine, V.R.=\",int(VR)\n",
+ "print\"Efficiency of the machine, Eta=\",int(round(Eta*100,1)),\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Mechanical advantage of the machine, M.A.= 40\n",
+ "Velocity ratio of the machine, V.R.= 80\n",
+ "Efficiency of the machine, Eta= 50 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.2, Page no.174 "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "VR=30 #Velocity ratio\n",
+ "W=1500.0 #Load in N\n",
+ "P=125 #Effort in N\n",
+ "\n",
+ "#calculation\n",
+ "MA=W/P\n",
+ "Eta=MA/VR\n",
+ "\n",
+ "#Result\n",
+ "print\"Efficiency, Eta=\",int(round(Eta*100,1)),\"%\"\n",
+ "print\"Since efficiency of the machine is less than 50%, therefore the machine is non-reversible\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Efficiency, Eta= 40 %\n",
+ "Since efficiency of the machine is less than 50%, therefore the machine is non-reversible\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.4, Page no.176"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "P=100.0 #Effort in N\n",
+ "W=840.0 #Load in N\n",
+ "VR=10 #vecocity ratio\n",
+ "\n",
+ "#calculation\n",
+ "#To calculate efficiency of the machine\n",
+ "MA=W/P\n",
+ "Eta=(MA/VR)*100\n",
+ "#To calculate friction of the machine\n",
+ "F_effort=P-(W/VR) #In terms of effort\n",
+ "F_load=(P*VR)-W #In terms of load\n",
+ "\n",
+ "#Result\n",
+ "print\"Efficiency of the machine, Eta=\",int(Eta),\"%\"\n",
+ "print\"Friction of the machine in terms of effort, F_effort=\",int(F_effort),\"N\"\n",
+ "print\"Friction of the machine in terms of load, F_load=\",int(F_load),\"N\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Efficiency of the machine, Eta= 84 %\n",
+ "Friction of the machine in terms of effort, F_effort= 16 N\n",
+ "Friction of the machine in terms of load, F_load= 160 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 10.9, Page no.181"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "m=0.02 #On dividing W/50 we get 0.02W where m=0.02\n",
+ "W=600 #Load in N\n",
+ "VR=100 #velocity ratio\n",
+ "\n",
+ "#calculation\n",
+ "Max_MA=1/m\n",
+ "Max_Pos_Efficiency=1/(m*VR)\n",
+ "P=m*W+8 #Given\n",
+ "F_effort=P-(W/VR)\n",
+ "MA=W/P\n",
+ "Eta=MA/VR\n",
+ "\n",
+ "#Result\n",
+ "print\"Maximum possible mechanical advantage, Max M.A.=\",int(Max_MA)\n",
+ "print\"Maximum possible efficiency=\",int(round(Max_Pos_Efficiency*100,1)),\"%\"\n",
+ "print\"Effort required to overcome the machine friction, F_effort=\",int(F_effort),\"N\"\n",
+ "print\"Efficiency of the machine, Eta=\",int(round(Eta*100,1)),\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum possible mechanical advantage, Max M.A.= 50\n",
+ "Maximum possible efficiency= 50 %\n",
+ "Effort required to overcome the machine friction, F_effort= 14 N\n",
+ "Efficiency of the machine, Eta= 30 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Engineering_Mechanics_by_Khurmi_R.S./chapter11.ipynb b/Engineering_Mechanics_by_Khurmi_R.S./chapter11.ipynb new file mode 100644 index 00000000..25b07c59 --- /dev/null +++ b/Engineering_Mechanics_by_Khurmi_R.S./chapter11.ipynb @@ -0,0 +1,872 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:184281d9efd5e0a993226e7e376baf4131b3afd17d002bdb4997678ec13c9170"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 11:Simple Lifting Machines"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.1, Page no.187"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "D=300.0 #Diameter of wheel in mm\n",
+ "d=30.0 #Diameter of axle in mm\n",
+ "W=900.0 #Load in N\n",
+ "P=100.0 #Effort applied in N\n",
+ "\n",
+ "#calculation\n",
+ "VR=D/d\n",
+ "MA=W/P\n",
+ "Eta=MA/VR\n",
+ "\n",
+ "#Result\n",
+ "print\"Efficiency, Eta =\",int(Eta*100),\"%\"\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Efficiency, Eta = 90 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.2, Page no.187"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "W=480.0 #Load in N\n",
+ "P=120.0 #effort in N\n",
+ "D=500.0 #Diameter of wheel in mm\n",
+ "d=100.0 #Diameter of axle in mm\n",
+ "\n",
+ "#calculation\n",
+ "MA=W/P\n",
+ "VR=D/d\n",
+ "Eta=MA/VR\n",
+ "\n",
+ "#Result\n",
+ "print\"(i)Mechanical Advantage=\",int(MA)\n",
+ "print\"(ii)Velocity ratio=\",int(VR)\n",
+ "print\"(iii)Efficiency of machine=\",int(Eta*100),\"%\"\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(i)Mechanical Advantage= 4\n",
+ "(ii)Velocity ratio= 5\n",
+ "(iii)Efficiency of machine= 80 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.3, Page no.189"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "d1=80 #larger diameter of wheel in mm\n",
+ "d2=70 #Smaller diamter of wheel in mm\n",
+ "D=250 #Diameter of effort wheel in mm\n",
+ "W=1050.0 #Load lifted in N\n",
+ "P=25.0 #Effort in N\n",
+ "\n",
+ "\n",
+ "#calculation\n",
+ "VR=2*D/(d1-d2)\n",
+ "MA=W/P\n",
+ "Eta=MA/VR\n",
+ "F_effort=P-(W/VR)\n",
+ "\n",
+ "\n",
+ "#Result\n",
+ "print\"Velocity Ratio, VR=\",int(VR) #Answer given wrongly in book. 50 is correct answer\n",
+ "print\"Efficiency, Eta=\",int(Eta*100),\"%\"\n",
+ "print\"Frictional effort lost, F_effort=\",int(F_effort),\"N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Velocity Ratio, VR= 50\n",
+ "Efficiency, Eta= 84 %\n",
+ "Frictional effort lost, F_effort= 4 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.5, Page no.190"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "D=410.0 #Effective diameter of wheel in mm\n",
+ "d1=310.0 #Effective diameter of axle in mm\n",
+ "d2=210.0 #Effective diameter of axle in mm\n",
+ "P=25.0 #Effort in N\n",
+ "Eta=84.0/100#Efficiency\n",
+ "\n",
+ "#calculation\n",
+ "VR=2*D/(d1-d2)\n",
+ "W=Eta*P*VR\n",
+ "\n",
+ "#Result\n",
+ "print\"W=\",round(W,1),\"N\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "W= 172.2 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.6, Page no.191"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "R=125 #Radius of larger groove in mm\n",
+ "r=115 #Radius of smaller groove in mm\n",
+ "Eta=80.0/100 #Efficiency\n",
+ "W=1500 #Load in N\n",
+ "\n",
+ "#calculation\n",
+ "VR=2*R/(R-r)\n",
+ "P=W/(Eta*VR)\n",
+ "\n",
+ "#Result\n",
+ "print\"P=\",int(P),\"N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "P= 75 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.7, Page no.192"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "W=1800.0 #Load in N\n",
+ "P=100 #effort in N\n",
+ "T1=12 #number of teeth on larger block\n",
+ "T2=11 #number of teeth on smaller block\n",
+ "\n",
+ "#calculation\n",
+ "VR=2*T1/(T1-T2)\n",
+ "MA=W/P\n",
+ "Eta=MA/VR\n",
+ "\n",
+ "#Result\n",
+ "print\"Velocity Ratio=\",int(VR)\n",
+ "print\"Mechanical Advantage=\",int(MA)\n",
+ "print\"Efficiency=\",int(Eta*100),\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Velocity Ratio= 24\n",
+ "Mechanical Advantage= 18\n",
+ "Efficiency= 75 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 20
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.8, Page no.193"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "T1=90.0 #No. of cogs on the effort wheel\n",
+ "T2=25.0 #No. of cogs on the effort pinion\n",
+ "T3=40.0 #No. of teeth on the spur wheel\n",
+ "T4=8.0 #No. of teeth on the load wheel\n",
+ "P=50.0 #effort in N\n",
+ "Eta=75.0/100 #Efficiency\n",
+ "\n",
+ "#calculation\n",
+ "VR=(T1/T2)*(T3/T4)\n",
+ "W=Eta*P*VR\n",
+ "\n",
+ "#Result\n",
+ "print\"W=\",int(W),\"N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "W= 675 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.9, Page no.195"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "T=40.0 #No. of teeth on the worm wheel\n",
+ "D=300.0 #Diameter of effort wheel in mm\n",
+ "r=50.0 #radius of load drum in mm\n",
+ "W=1800.0 #Load in N\n",
+ "P=24.0 #effort in N\n",
+ "\n",
+ "#calculation\n",
+ "VR=D*T/(2*r)\n",
+ "MA=W/P\n",
+ "Eta=MA/VR\n",
+ "\n",
+ "#Result\n",
+ "print\"Efficiency=\",round(Eta*100,1),\"%\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Efficiency= 62.5 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 25
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.10, Page no.195"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=2 #No. of threads\n",
+ "T=60 #No. of teeth on worm wheel\n",
+ "D=250 #Diameter of effort wheel in mm\n",
+ "r=50 #raidus of load drum in mm\n",
+ "Eta=50.0/100 #Efficiency\n",
+ "W=300 #load in N\n",
+ "\n",
+ "#calculation\n",
+ "VR=D*T/(2*n*r)\n",
+ "P=W/(Eta*VR)\n",
+ "\n",
+ "#Result\n",
+ "print\"Velocity ratio of the machine, VR=\",int(VR)\n",
+ "print\"Effort required,P=\",int(P),\"N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Velocity ratio of the machine, VR= 75\n",
+ "Effort required,P= 8 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 27
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.11, Page no.197"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "D=200.0 #Diameter of effort wheel in mm\n",
+ "T=60.0 #No. of teeth in worn wheel\n",
+ "r=40.0 #radius of load drum in mm\n",
+ "W=9000.0 #load in N\n",
+ "P=75.0 #Effort in N\n",
+ "\n",
+ "#calculation\n",
+ "VR=(D*T)/r\n",
+ "MA=W/P\n",
+ "Eta=MA/VR\n",
+ "\n",
+ "#Result\n",
+ "print\"Efficiency=\",int(Eta*100),\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Efficiency= 40 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 28
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.12, Page no.197"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=2 #No. of threads\n",
+ "D=400 #Diameter of effort wheel in mm\n",
+ "r=50 #radius of load drum in mm\n",
+ "Eta=35.0/100 #efficiency\n",
+ "P=80 #Effort in N\n",
+ "T=50 #No. of teeth in worm wheel\n",
+ "\n",
+ "#calculation\n",
+ "VR=D*T/(n*r)\n",
+ "W=P*VR*Eta\n",
+ "\n",
+ "#Result\n",
+ "print\"W=\",int(W),\"N\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "W= 5600 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 30
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.13, Page no.199"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "T_2=25.0 #No. of teeth on pinion\n",
+ "T_1=300.0 #No. of teeth on the spur wheel\n",
+ "r=50.0 #Radius of drum in mm\n",
+ "l=300.0 #Radius of the handle in mm\n",
+ "P=20.0 #Effort in N\n",
+ "W=300.0 #Load lifted in N\n",
+ "\n",
+ "#calculation\n",
+ "#To calculate efficiency of the machine\n",
+ "VR=int(((1/r)*(T_1/T_2))*100)\n",
+ "MA=W/P\n",
+ "Eta=MA/VR\n",
+ "#To calculate effect of friction\n",
+ "F_load=(P*VR)-W #In terms of load \n",
+ "F_effort=P-(W/VR) #In terms of effort\n",
+ "\n",
+ "#Result\n",
+ "print\"Efficiency of the machine=\",round(Eta*100,3),\"%\"\n",
+ "print\"Effect of friction in terms of load, F_load=\",int(F_load),\"N\"\n",
+ "print\"Effect of friction in terms of effort, F_effort=\",round(F_effort,1),\"N\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Efficiency of the machine= 62.5 %\n",
+ "Effect of friction in terms of load, F_load= 180 N\n",
+ "Effect of friction in terms of effort, F_effort= 7.5 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 31
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.15, Page no.202"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "T_2=20.0 #No. of teeth of pinion\n",
+ "T_4=25.0 #No. of teeth of pinion\n",
+ "T_1=50.0 #No. of teeth on the spur wheel\n",
+ "T_3=60.0 #No. of teeth on the spur wheel\n",
+ "l=0.5 #length of the handle in m\n",
+ "r=0.25 #Radius of load drum in m\n",
+ "Eta=60.0/100 #Efficiency\n",
+ "W=720.0 #Load in N\n",
+ "#Calculation\n",
+ "VR=l/r*((T_1/T_2)*(T_3/T_4))\n",
+ "P=W/(VR*Eta)\n",
+ "\n",
+ "#Result\n",
+ "print\"P=\",int(P),\"N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "P= 100 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 34
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.17, Page no.206"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=3 #No. of pulleys\n",
+ "P=50.0 #Effort in N\n",
+ "W=320.0 #Weight lifted in N\n",
+ "\n",
+ "#calculation\n",
+ "#To calculate efficiency of the machine\n",
+ "VR=2**n\n",
+ "MA=W/P\n",
+ "Eta=MA/VR\n",
+ "#To calculate effect of friction\n",
+ "F_load=(P*VR)-W #In terms of load \n",
+ "F_effort=P-(W/VR) #In terms of amount\n",
+ "\n",
+ "#Result\n",
+ "print\"Efficiency of the machine=\",int(round(Eta*100,3)),\"%\"\n",
+ "print\"Amount of friction in terms of load, F_load=\",int(F_load),\"N\"\n",
+ "print\"Amount of friction in terms of effort, F_effort=\",int(F_effort),\"N\"\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Efficiency of the machine= 80 %\n",
+ "Amount of friction in terms of load, F_load= 80 N\n",
+ "Amount of friction in terms of effort, F_effort= 10 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 35
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.18, Page no.208"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=2*5 #No. of pulleys in each block\n",
+ "P=125.0 #Effort in N\n",
+ "W=1000.0 #Weight lifted in N\n",
+ "\n",
+ "#calculation\n",
+ "VR=n\n",
+ "F_load=(P*VR)-W #In terms of load \n",
+ "F_effort=P-(W/VR) #In terms of effort\n",
+ "\n",
+ "#Result\n",
+ "print\"Amount of effort wasted in friction, F_effort=\",int(F_effort),\"N\"\n",
+ "print\"Amount of friction load, F_load=\",int(F_load),\"N\" #Answer given wrongly in book. 250 is correct answer\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Amount of effort wasted in friction, F_effort= 25 N\n",
+ "Amount of friction load, F_load= 250 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 36
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.19, Page no.209"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "n=4 #No. of pulleys \n",
+ "W=1800 #load lifted in N\n",
+ "Eta=75.0/100 #efficiency\n",
+ "\n",
+ "#calculation\n",
+ "VR=(2**n)-1\n",
+ "P=W/(Eta*VR)\n",
+ "F_effort=P-(W/VR)\n",
+ "\n",
+ "\n",
+ "#Result\n",
+ "print\"Effort required to lift the load,P=\",int(P),\"N\"\n",
+ "print\"Effort wasted in friction, F_effort=\",int(F_effort),\"N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Effort required to lift the load,P= 160 N\n",
+ "Effort wasted in friction, F_effort= 40 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 37
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.20, Page no.210"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "p=10 #Pitch of thread in mm\n",
+ "l=400 #length of the handle in mm\n",
+ "W=2000 #load lifted in N\n",
+ "Eta=45.0/100 #Efficiency\n",
+ "\n",
+ "#calculation\n",
+ "VR=(2*math.pi*l)/p\n",
+ "P=W/(Eta*VR)\n",
+ "\n",
+ "#Result\n",
+ "print\"P=\",round(P,1),\"N\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "P= 17.7 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 39
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.21, Page no.212"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "p_1=12 #Pitch of the screw in mm\n",
+ "p_2=10 #Pitch of the screw in mm\n",
+ "l=300 #Arm length of jack in mm\n",
+ "W=7.5*1000 #Load lifted in N\n",
+ "P=30 #Effort in N\n",
+ "\n",
+ "#calculation\n",
+ "VR=int((2*math.pi*l)/(p_1-p_2))\n",
+ "MA=W/P\n",
+ "Eta=MA/VR\n",
+ "\n",
+ "#Result\n",
+ "print\"Efficiency, Eta=\",round(Eta*100,1),\"%\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Efficiency, Eta= 26.5 %\n"
+ ]
+ }
+ ],
+ "prompt_number": 40
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.22, Page no.212"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "p_1=10 #Pitch of the screw jack in mm\n",
+ "p_2=7 #Pitch of the screw jack in mm\n",
+ "l=360 #Arm length of screw jack in mm\n",
+ "W=5*1000 #Load lifted in N\n",
+ "Eta=28.0/100 #Efficiency\n",
+ "\n",
+ "#calculation\n",
+ "VR=int((2*math.pi*l)/(p_1-p_2))\n",
+ "P=W/(Eta*VR)\n",
+ "\n",
+ "#Result\n",
+ "print\"P=\",round(P,1),\"N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "P= 23.7 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 41
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.23, Page no.214"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "l=300.0 #length of handle in mm\n",
+ "T=50.0 #No. of teeth in worm wheel\n",
+ "p=10.0 #Pitch of screw in mm\n",
+ "P=100.0 #Effort applied in N\n",
+ "W=100000.0 #Load lifted in N\n",
+ "n=2 #no. of threads\n",
+ "#calculation\n",
+ "VR=int((2*math.pi*l*T)/(n*p))\n",
+ "MA=W/P\n",
+ "Eta=MA/VR\n",
+ "\n",
+ "#Result\n",
+ "print\"Efficiency, Eta=\",round(Eta*100,1),\"%\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Efficiency, Eta= 21.2 %\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_by_Khurmi_R.S./chapter17.ipynb b/Engineering_Mechanics_by_Khurmi_R.S./chapter17.ipynb new file mode 100644 index 00000000..c298d51e --- /dev/null +++ b/Engineering_Mechanics_by_Khurmi_R.S./chapter17.ipynb @@ -0,0 +1,399 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:85535c0517c7db1c26616cfbd159ac864531d333c114379946da9cf48e690b11"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "chapter 17:Linear Motion"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.1, Page no.363"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "u=0 #initial velocity\n",
+ "a=0.4 #acceleration in m/s**2\n",
+ "t=20 #Time taken in s\n",
+ "\n",
+ "#calculation\n",
+ "s=(u*t)+((a*t**2)/2)\n",
+ "\n",
+ "#Result\n",
+ "print\"The distance covered by the car, s=\",int(s),\"m\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The distance covered by the car, s= 80 m\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.2, Page no.363"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "u=7.5 #on coverting km.p.h to m/s\n",
+ "a=0.5 #acceleration in m/s**2\n",
+ "t=12 #Time taken in s\n",
+ "\n",
+ "#calculation\n",
+ "s=(u*t)+((a*t**2)/2)\n",
+ "\n",
+ "#Result\n",
+ "print\"The distance travelled by the train, s=\",int(s),\"m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The distance travelled by the train, s= 126 m\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.3, Page no.363"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "u=0 #initial velocity\n",
+ "a=1.2 #acceleration in m/s**2\n",
+ "s=60 #distance travelled in m\n",
+ "\n",
+ "#calculation\n",
+ "v=math.sqrt(u**2+(2*a*s))\n",
+ "\n",
+ "#Result\n",
+ "print\"v=\",round((v*3600)/1000,1),\"km.p.h.\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "v= 43.2 km.p.h.\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.9, Page no.368"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "u=-4.9 #initial velocity in m/s\n",
+ "t=2 #time taken in s\n",
+ "g=9.8 #gravity in m/s**2\n",
+ "\n",
+ "#calculation\n",
+ "h=(u*t)+((g*t**2)/2)\n",
+ "\n",
+ "#Result\n",
+ "print\"Height of the bridge, h=\",round(h,1),\"m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Height of the bridge, h= 9.8 m\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.10, Page no.368"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "u=-12 #velocity of balloon when packet is dropped in m/s\n",
+ "t=2 #time in s\n",
+ "g=9.8 #gravity in m/s**2\n",
+ "\n",
+ "#calculation\n",
+ "v=u+(g*t)\n",
+ "\n",
+ "#Result\n",
+ "print\"Velocity of packet after 2 sec, v=\",round(v,1),\"m/s\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Velocity of packet after 2 sec, v= 7.6 m/s\n"
+ ]
+ }
+ ],
+ "prompt_number": 7
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.11, Page no.368"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "u=0 #initial velocity\n",
+ "t=2.8 #Time taken in s\n",
+ "g=9.8 #gravity in m/s**2\n",
+ "\n",
+ "#calculation\n",
+ "s=(u*t)+((g*t**2)/2)\n",
+ "\n",
+ "#Result\n",
+ "print\"The height of the buiding, s=\",round(s,1),\"m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The height of the buiding, s= 38.4 m\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.12, Page no.368"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "u=0 #initial velocity\n",
+ "s=65 #height of the building in s\n",
+ "g=9.8 #gravity in m/s**2\n",
+ "\n",
+ "#calculation\n",
+ "v=math.sqrt(u**2+(2*g*s))\n",
+ "\n",
+ "#Result\n",
+ "print\"v=\",round(v,1),\"m/s\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "v= 35.7 m/s\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.13, Page no.368"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "u=-28 #initial velocity in m/s\n",
+ "t=2 #time taken in s\n",
+ "g=9.8 #gravity in m/s**2\n",
+ "\n",
+ "#calculation\n",
+ "s=(u*t)+((g*t**2)/2)\n",
+ "\n",
+ "#Result\n",
+ "print\"Distance covered by the body in 2 seconds, s=\",round(s,1),\"m\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Distance covered by the body in 2 seconds, s= -36.4 m\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.14, Page no.368"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "u=-80 #initial velocity in m/s\n",
+ "v=0 #Final velocity\n",
+ "g=9.8 #gravity in m/s**2\n",
+ "\n",
+ "#calculation\n",
+ "s=(v**2-u**2)/(2*g)\n",
+ "\n",
+ "#Result\n",
+ "print\"Height to which the bullet will rise above the point of projection, s=\",round(s,1),\"m\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Height to which the bullet will rise above the point of projection, s= -326.5 m\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 17.15, Page no.369"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "u=0 #initial velocity\n",
+ "t_1=3 #Time taken by the first body in s\n",
+ "t_2=2 #Time taken by the second body in s\n",
+ "\n",
+ "#calculation\n",
+ "h_1=(u*t_1)+((g*t_1**2)/2)\n",
+ "h_2=(u*t_2)+((g*t_2**2)/2)\n",
+ "\n",
+ "#Result\n",
+ "print\"Separation between the bodies=\",round(h_1-h_2,1),\"m\"\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Separation between the bodies= 24.5 m\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Engineering_Mechanics_by_Khurmi_R.S./chapter2.ipynb b/Engineering_Mechanics_by_Khurmi_R.S./chapter2.ipynb new file mode 100644 index 00000000..341834d4 --- /dev/null +++ b/Engineering_Mechanics_by_Khurmi_R.S./chapter2.ipynb @@ -0,0 +1,69 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:f6c02b719e31d1a336f2951e35b5844e0b901d43ada783dc65f4c2528cdc373c"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 2:Composition and Resolution of Forces"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 2.1, Page no.16"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "F_1=100 #First force in N\n",
+ "F_2=150 #Second force in N\n",
+ "theta=45 #Angle between F_1 and F_2 in degree\n",
+ "\n",
+ "#calculation\n",
+ "R=math.sqrt((F_1**2)+(F_2**2)+(2*F_1*F_2*math.cos(theta*math.pi/180)))\n",
+ "\n",
+ "#Result\n",
+ "print\"R=\",int(round(R)),\"N\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "R= 232 N\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_by_Khurmi_R.S./chapter20.ipynb b/Engineering_Mechanics_by_Khurmi_R.S./chapter20.ipynb new file mode 100644 index 00000000..3845b0df --- /dev/null +++ b/Engineering_Mechanics_by_Khurmi_R.S./chapter20.ipynb @@ -0,0 +1,230 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:500ea84ac640cd41660e6f638f881e8562be78729e5c4e8b033f789e32ce7768"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 20:Projectiles"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.4, Page no.423"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "alpha=30 #angle of projection with the horizontal in degree\n",
+ "u=40 #velocity of projection in m/s\n",
+ "g=9.8 #gravity in m/s**2\n",
+ "\n",
+ "#calculation\n",
+ "t=(2*u*math.sin(alpha*math.pi/180)/g)\n",
+ "\n",
+ "#Result\n",
+ "print\"t=\",round(t,2),\"s\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "t= 4.08 s\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.5, Page no.423"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "alpha=25 #angle of projection with the horizontal in degree\n",
+ "u=15 #velocity of projection in m/s\n",
+ "g=9.8 #gravity in m/s**2\n",
+ "\n",
+ "#calculation\n",
+ "R=((u**2)*(math.sin((2*alpha)*math.pi/180))/g)\n",
+ "\n",
+ "#Result\n",
+ "print\"R=\",round(R,1),\"m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "R= 17.6 m\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.6, Page no.424"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "alpha=45 #angle of projection with the horizontal in degree\n",
+ "u=100 #velocity of projection in m/s\n",
+ "g=9.8 #gravity in m/s**2\n",
+ "\n",
+ "#calculation\n",
+ "H=((u**2)*math.sin((alpha*math.pi)/180)**2/(2*g))\n",
+ "\n",
+ "#Result\n",
+ "print\"H=\",round(H,1),\"m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "H= 255.1 m\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.23, Page no.439"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "alpha=35 #angle of projection with the horizontal in degree\n",
+ "beta=15 #inclination of the plane in degree\n",
+ "u=10 #velocity of projection in m/s\n",
+ "g=9.8 #gravity in m/s**2\n",
+ "\n",
+ "#calculation\n",
+ "t_1=(2*u*math.sin((alpha-beta)*math.pi/180)/(g*math.cos(beta*math.pi/180)))\n",
+ "t_2=(2*u*math.sin((alpha+beta)*math.pi/180)/(g*math.cos(beta*math.pi/180)))\n",
+ "\n",
+ "#Result\n",
+ "print\"Time of flight when the ball is projected upwards, t_1=\",round(t_1,2),\"s\"\n",
+ "print\"Time of flight when the ball is projected downwards, t_2=\",round(t_2,2),\"s\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Time of flight when the ball is projected upwards, t_1= 0.72 s\n",
+ "Time of flight when the ball is projected downwards, t_2= 1.62 s\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 20.24, Page no.441"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "alpha=55 #angle of projection with the horizontal in degree\n",
+ "beta=20 #angle of plane in degree\n",
+ "u=30 #velocity of projection in m/s\n",
+ "g=9.8 #gravity in m/s**2\n",
+ "pi=180 #pi in degree\n",
+ "\n",
+ "#calculation\n",
+ "alpha=(pi/4)+(beta/2)\n",
+ "R=(u**2*(math.sin(((2*alpha)-beta)*math.pi/180)-math.sin(beta*math.pi/180))/(g*math.cos(beta*math.pi/180)**2))\n",
+ "t=(2*u*math.sin((alpha-beta)*math.pi/180))/(g*math.cos(beta*math.pi/180))\n",
+ "\n",
+ "#Result\n",
+ "print\"Maximum Range, alpha=\",int(alpha),\"degree\"\n",
+ "print\"Range of the projectile, R=\",round(R,2),\"m\"\n",
+ "print\"Time of flight, t=\",round(t,2),\"s\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum Range, alpha= 55 degree\n",
+ "Range of the projectile, R= 68.43 m\n",
+ "Time of flight, t= 3.74 s\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_by_Khurmi_R.S./chapter21.ipynb b/Engineering_Mechanics_by_Khurmi_R.S./chapter21.ipynb new file mode 100644 index 00000000..cb050489 --- /dev/null +++ b/Engineering_Mechanics_by_Khurmi_R.S./chapter21.ipynb @@ -0,0 +1,192 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:1e2ea72063f4480e1666d90f5821f69263d6f609957c096a14e46eb50fe68a8d"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 21:Motion of Rotation"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 21.1, Page no.447"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "omega_0=0 #initial angular velocity\n",
+ "alpha=0.5 #angular acceleration in rad/sec**2\n",
+ "t=10 #time in sec\n",
+ "\n",
+ "#calculation\n",
+ "omega=omega_0+alpha*t\n",
+ "theta=omega_0*t+(alpha*t**2/2)\n",
+ "\n",
+ "#Result\n",
+ "print\"Angular velocity of the flywheel, omega=\",int(omega),\"rad/sec\"\n",
+ "print\"Angular displacement of the flywheel, theta=\",int(theta),\"rad\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Angular velocity of the flywheel, omega= 5 rad/sec\n",
+ "Angular displacement of the flywheel, theta= 25 rad\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 21.4, Page no.448"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "omega_0=0 #initial angular velocity\n",
+ "alpha=0.5 #acceleration in rad/sec**2\n",
+ "t_1=120 #timetaken in sec\n",
+ "omega1_0=60 #initial angular velocity when pulley is coming to rest in rad/sec\n",
+ "alpha_2=-0.3 #Retardation in rad/sec**2\n",
+ "\n",
+ "\n",
+ "#calculation\n",
+ "#To calculate angular speed of pully in r.p.m. at the end of 2 min.\n",
+ "omega=round((omega_0+alpha*t_1)/(2*math.pi),2)\n",
+ "#To calculate time in which the pulley will come to rest\n",
+ "t_2=-omega1_0/alpha_2\n",
+ "\n",
+ "#Result\n",
+ "print\"Angular speed of pully in r.p.m. at the end of 2 min., omega=\",int(omega*60),\"r.p.m.\"\n",
+ "print\"Time in which the pulley will come to rest, t_2=\",int(t_2),\"sec\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Angular speed of pully in r.p.m. at the end of 2 min., omega= 573 r.p.m.\n",
+ "Time in which the pulley will come to rest, t_2= 200 sec\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 21.9, Page no.453"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "r=0.6 #radius of wheel in m\n",
+ "omega_0=0 #initial angular velocity\n",
+ "alpha=0.8 #angular acceleration in rad/s**2\n",
+ "t=5 #time in s\n",
+ "\n",
+ "#calculation\n",
+ "omega=omega_0+alpha*t\n",
+ "v=r*omega\n",
+ "\n",
+ "#result\n",
+ "print\"Linear velocity of the point on the periphery of the wheel, v=\",round(v,1),\"m/s\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Linear velocity of the point on the periphery of the wheel, v= 2.4 m/s\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 21.10, Page no.453"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "r=1 #Radius if pulley in m\n",
+ "N=240 #angular frequency in r.p.m\n",
+ "\n",
+ "#calculation\n",
+ "omega=2*math.pi*N/60\n",
+ "v=r*omega\n",
+ "\n",
+ "#Result\n",
+ "print\"Linear velocity of the particle on the periphery of the wheel, v=\",round(v,1),\"m/s\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Linear velocity of the particle on the periphery of the wheel, v= 25.1 m/s\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Engineering_Mechanics_by_Khurmi_R.S./chapter24.ipynb b/Engineering_Mechanics_by_Khurmi_R.S./chapter24.ipynb new file mode 100644 index 00000000..6985dc58 --- /dev/null +++ b/Engineering_Mechanics_by_Khurmi_R.S./chapter24.ipynb @@ -0,0 +1,495 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:d91fc2c8a474e3c0069134482e3e16ad6362f5044324f39d0db7cd73f8242369"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 24:Laws of Motion"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.1, Page no.484"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Variable declaration\n",
+ "m=100 #mass of body in kg\n",
+ "a=3.5 #acceleration in m/s**2\n",
+ "\n",
+ "#calculation\n",
+ "F=m*a\n",
+ "\n",
+ "#Result\n",
+ "print\"F=\",int(F),\"N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "F= 350 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.2, Page no.485"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "m=50 #mass of body in kg\n",
+ "g_e=9.8 #acceleration due to gravity on earth in m/s**2\n",
+ "g_m=1.7 #acceleration due to gravity on moon in m/s**2\n",
+ "g_s=270.0 #acceleration due to gravity on sun in m/s**2\n",
+ "\n",
+ "#calculation\n",
+ "F_1=m*g_e\n",
+ "F_2=m*g_m\n",
+ "F_3=(m*g_s)\n",
+ "\n",
+ "#Result\n",
+ "print\"Weight of the body on the earth, F_1=\",int(F_1),\"N\"\n",
+ "print\"Weight of the body on the moon, F_2=\",int(F_2),\"N\"\n",
+ "print\"Weight of the body on the sun, F_3=\",round(F_3/1000,1),\"kN\"\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Weight of the body on the earth, F_1= 490 N\n",
+ "Weight of the body on the moon, F_2= 85 N\n",
+ "Weight of the body on the sun, F_3= 13.5 kN\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.3, Page no.485"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "m=7.5 #mass of the body in kg\n",
+ "u=1.2 #velocity in m/s\n",
+ "F=15 #Force in N\n",
+ "t=2 #time in s\n",
+ "\n",
+ "#calculation\n",
+ "a=F/m\n",
+ "v=u+(a*t)\n",
+ "\n",
+ "#Result\n",
+ "print\"Velocity of the body after 2 seconds, v=\",round(v,1),\"m/s\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Velocity of the body after 2 seconds, v= 5.2 m/s\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.4, Page no.485"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "m=500.0 #mass of vehicle in kg\n",
+ "u=25.0 #initial velocity in m/s\n",
+ "F=200.0 #Force in N\n",
+ "t=120.0 #time in s\n",
+ "\n",
+ "#calculation\n",
+ "a=F/m\n",
+ "v_1=u+(a*t)\n",
+ "v_2=u+(-a*t) #Force acts in the opposite direction of motion\n",
+ "\n",
+ "#Result\n",
+ "print\"Velocity of vehicle when the force acts in the dirction of motion,v_1=\",int(v_1),\"m/s\"\n",
+ "print\"Velocity of vehicle when the force acts in the opposite dirction of motion,v_2=\",int(v_2),\"m/s\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Velocity of vehicle when the force acts in the dirction of motion,v_1= 73 m/s\n",
+ "Velocity of vehicle when the force acts in the opposite dirction of motion,v_2= -23 m/s\n"
+ ]
+ }
+ ],
+ "prompt_number": 13
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.5, Page no.486"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "F=50.0 #Retarding force in N\n",
+ "m=20.0 #mass of the body in kg\n",
+ "u=15 #initial velocity in m/s\n",
+ "v=0 #final velocity\n",
+ "\n",
+ "#calculation\n",
+ "a=F/m\n",
+ "t=u/a \n",
+ "\n",
+ "#Result\n",
+ "print\"t=\",int(t),\"s\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "t= 6 s\n"
+ ]
+ }
+ ],
+ "prompt_number": 15
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.6, Page no.486"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "m=2.5 #mass of the car in t\n",
+ "F=1 #Propelling force in N\n",
+ "u=10 #initial velocity in m/s\n",
+ "v=15 #final velocity in m/s\n",
+ "\n",
+ "#calculation\n",
+ "a=F/m\n",
+ "t=(v-u)/a\n",
+ "\n",
+ "#Result\n",
+ "print\"t=\",round(t,1),\"s\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "t= 12.5 s\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.7, Page no.486"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "m=800.0 #mass of electric train in t\n",
+ "Resistance=80 #Resistance to motion in kN\n",
+ "Tractive=200 #Tractive force in kN\n",
+ "v=25 #final velocity in m/s\n",
+ "u=0 #initial velocity\n",
+ "\n",
+ "#calculation\n",
+ "F=Tractive-Resistance\n",
+ "a=F/m\n",
+ "t=(v-u)/a\n",
+ "\n",
+ "#Result\n",
+ "print\"t=\",round(t,1),\"s\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "t= 166.7 s\n"
+ ]
+ }
+ ],
+ "prompt_number": 17
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.11, Page no.490"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "m=50 #mass of the body in kg\n",
+ "a=1.2 #acceleration in m/s**2\n",
+ "g=9.8 #gravity in m/s**2\n",
+ "\n",
+ "#calculation\n",
+ "F=m*(g+a)\n",
+ "\n",
+ "#result\n",
+ "print\"F=\",int(F),\"N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "F= 550 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.12, Page no.490"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "m=100 #mass of the body in kg\n",
+ "a=-0.8 #acceleration in m/s**2\n",
+ "g=9.8 #gravity in m/s**2\n",
+ "\n",
+ "#calculation\n",
+ "F_1=m*(g+a)\n",
+ "F_2=m*(g-a)\n",
+ "\n",
+ "#Result\n",
+ "print\"(a)The lift is moving upwards, F_1=\",int(F_1),\"N\"\n",
+ "print\"(b)The lift is moving downwards, F_2=\",int(F_2),\"N\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a)The lift is moving upwards, F_1= 900 N\n",
+ "(b)The lift is moving downwards, F_2= 1060 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 19
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.13, Page no.490"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "m=65.0 #mass of the body in kg\n",
+ "F=800.0 #Force in N\n",
+ "g=9.8 #gravity in m/s**2\n",
+ "\n",
+ "#calculation\n",
+ "a=(F/m)-g\n",
+ "\n",
+ "#Result\n",
+ "print\"Acceleration of the elevator, a=\",round(a,1),\"m/s**2\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Acceleration of the elevator, a= 2.5 m/s**2\n"
+ ]
+ }
+ ],
+ "prompt_number": 21
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.14, Page no.490"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "m_1=500 #mass of the elevator in kg\n",
+ "a=3 #acceleration in m/s**2\n",
+ "m_2=70 #mass of operator in kg\n",
+ "\n",
+ "#calculation\n",
+ "R_1=m_2*(g+a)\n",
+ "R_2=(m_1+m_2)*(g+a)\n",
+ "\n",
+ "#Result\n",
+ "print\"Scale Reading,R_1=\",int(R_1),\"N\"\n",
+ "print\"Total tension in the cable of the elevator, R_2=\",int(R_2),\"N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Scale Reading,R_1= 896 N\n",
+ "Total tension in the cable of the elevator, R_2= 7296 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 22
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 24.18, Page no.495"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "M=25 #mass of the machine gun in kg\n",
+ "m=0.03 #mass of the bullet in kg\n",
+ "v=250 #velocity of firing in m/s\n",
+ "\n",
+ "#calculation\n",
+ "V=(m*v)/M\n",
+ "\n",
+ "#Result\n",
+ "print\"Velocity with which the machine gun will recoil, v=\",round(V,1),\"m/s\"\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Velocity with which the machine gun will recoil, v= 0.3 m/s\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Engineering_Mechanics_by_Khurmi_R.S./chapter28.ipynb b/Engineering_Mechanics_by_Khurmi_R.S./chapter28.ipynb new file mode 100644 index 00000000..e82bf6da --- /dev/null +++ b/Engineering_Mechanics_by_Khurmi_R.S./chapter28.ipynb @@ -0,0 +1,253 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:009e429ea1d1a6f618797566ada042bfaebc4f67f1205df26f3e658838bf8819"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 28:Motion Along a Circular Path"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 28.1, Page no.574"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "m=5 #mass of body in kg\n",
+ "r=1.5 #Radius of circle in m\n",
+ "omega=2 #angular velocity of the body in rad/s\n",
+ "\n",
+ "#calculation\n",
+ "F=m*omega**2*r\n",
+ "\n",
+ "#Result\n",
+ "print\"F=\",int(F),\"N\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "F= 30 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 28.2, Page no.574"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "m=1 #mass of stone in kg\n",
+ "r=1 #Radius of circle in m\n",
+ "v=10 #linear velocity of the stone in m/s\n",
+ "\n",
+ "#calculation\n",
+ "F=(m*v**2)/r\n",
+ "\n",
+ "#Result\n",
+ "print\"The value of centrifugal force acting on the stone, F=\",int(F),\"N\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The value of centrifugal force acting on the stone, F= 100 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 28.3, Page no.574"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "m=0.25 #mass of ball in kg\n",
+ "r=2 #Radius of circle in m\n",
+ "F=25 #maximum tension in the sring in N\n",
+ "\n",
+ "#calculation\n",
+ "omega=math.sqrt(F/(m*r))\n",
+ "\n",
+ "#Result\n",
+ "print\"The maximum angular velocity at which the ball can be rotated, omega=\",round(omega,2),\"rad/s\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The maximum angular velocity at which the ball can be rotated, omega= 7.07 rad/s\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 28.6, Page no.576"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "m=60 #mass of railway engine in t\n",
+ "r=200 #Radius of circular path in m\n",
+ "v=10 #velocity of engine in m/s\n",
+ "\n",
+ "#calculation\n",
+ "P_c=(m*v**2)/r\n",
+ "\n",
+ "#Result\n",
+ "print\"The force exerted on the rails towards the centre of the circle, P_c=\",int(P_c),\"kN\"\n",
+ "\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The force exerted on the rails towards the centre of the circle, P_c= 30 kN\n"
+ ]
+ }
+ ],
+ "prompt_number": 5
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 28.7, Page no.576"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#variable declaration\n",
+ "m=1.5 #mass of automobile in t\n",
+ "v=15 #velocity of automobile in m/s\n",
+ "r=25 #radius of the sag in m\n",
+ "g=9.8 #gravity in m/s**2\n",
+ "\n",
+ "#calculation\n",
+ "R=((m*v**2)/r)+(m*g)\n",
+ "\n",
+ "#Result\n",
+ "print\"The reaction between the automobile and road while travelling at the lowest part of the sag is\",round(R,1),\"kN\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The reaction between the automobile and road while travelling at the lowest part of the sag is 28.2 kN\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 28.13, Page no.583"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "#variable declaration\n",
+ "r=50 #Radius of level track in m\n",
+ "Mu=0.45 #Coefficient of friction\n",
+ "g=9.8 #gravity in m/s**2\n",
+ "\n",
+ "#calculation\n",
+ "v_max=(math.sqrt(Mu*g*r))*3.6 #Multiplying by 3.6 to convert m/s to km.p.h.\n",
+ "\n",
+ "#Result\n",
+ "print\"Maximum speed,v_max=\",round(v_max,1),\"km.p.h.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum speed,v_max= 53.5 km.p.h.\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file diff --git a/Engineering_Mechanics_by_Khurmi_R.S./chapter7.ipynb b/Engineering_Mechanics_by_Khurmi_R.S./chapter7.ipynb new file mode 100644 index 00000000..7a199c6b --- /dev/null +++ b/Engineering_Mechanics_by_Khurmi_R.S./chapter7.ipynb @@ -0,0 +1,71 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:ec48b28f06cb0d89d2925aa8322307ed874ac1a1362613ee7eaf2b5b1ddf3343"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 7:Moment of Inertia"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 7.1, Page no.103"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from math import sqrt\n",
+ "#variable declaration\n",
+ "b=30 #width of the secion in mm\n",
+ "d=40 #depth of the section in mm\n",
+ "\n",
+ "#calculation\n",
+ "I_xx=b*d**3/12\n",
+ "I_yy=d*b**3/12\n",
+ "\n",
+ "#Result\n",
+ "print\"I_xx=\",int(I_xx/1000),\"*10^3 mm**4\"\n",
+ "print\"I_yy=\",int(I_yy/1000),\"*10^3 mm**4\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "I_xx= 160 *10^3 mm**4\n",
+ "I_yy= 90 *10^3 mm**4\n"
+ ]
+ }
+ ],
+ "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_by_Khurmi_R.S./screenshots/screenshot1.png b/Engineering_Mechanics_by_Khurmi_R.S./screenshots/screenshot1.png Binary files differnew file mode 100644 index 00000000..3f7faa5b --- /dev/null +++ b/Engineering_Mechanics_by_Khurmi_R.S./screenshots/screenshot1.png diff --git a/Engineering_Mechanics_by_Khurmi_R.S./screenshots/screenshot2.png b/Engineering_Mechanics_by_Khurmi_R.S./screenshots/screenshot2.png Binary files differnew file mode 100644 index 00000000..69619787 --- /dev/null +++ b/Engineering_Mechanics_by_Khurmi_R.S./screenshots/screenshot2.png diff --git a/Engineering_Mechanics_by_Khurmi_R.S./screenshots/screenshot3.png b/Engineering_Mechanics_by_Khurmi_R.S./screenshots/screenshot3.png Binary files differnew file mode 100644 index 00000000..294c7714 --- /dev/null +++ b/Engineering_Mechanics_by_Khurmi_R.S./screenshots/screenshot3.png |