summaryrefslogtreecommitdiff
path: root/Engineering_Mechanics_by_A._K._Tayal/Chapter_26_APPENDIX.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Engineering_Mechanics_by_A._K._Tayal/Chapter_26_APPENDIX.ipynb')
-rw-r--r--Engineering_Mechanics_by_A._K._Tayal/Chapter_26_APPENDIX.ipynb35
1 files changed, 25 insertions, 10 deletions
diff --git a/Engineering_Mechanics_by_A._K._Tayal/Chapter_26_APPENDIX.ipynb b/Engineering_Mechanics_by_A._K._Tayal/Chapter_26_APPENDIX.ipynb
index 0bfaddae..879e8f3d 100644
--- a/Engineering_Mechanics_by_A._K._Tayal/Chapter_26_APPENDIX.ipynb
+++ b/Engineering_Mechanics_by_A._K._Tayal/Chapter_26_APPENDIX.ipynb
@@ -74,6 +74,7 @@
}
],
"source": [
+ "import math\n",
"#Initilizatin of variable\n",
"F=10 #N\n",
"P_1=[2,4,3] \n",
@@ -125,6 +126,7 @@
}
],
"source": [
+ "import math\n",
"#initiliation of variables\n",
"T=2500 #N\n",
"#Co-ordinates\n",
@@ -169,6 +171,7 @@
}
],
"source": [
+ "import math\n",
"#initilization of variables\n",
"A=[2,-1,1]\n",
"B=[1,1,2]\n",
@@ -208,6 +211,7 @@
}
],
"source": [
+ "import math\n",
"#initilization of variables\n",
"A=[2,-6,-3]\n",
"B=[4,3,-1] \n",
@@ -245,6 +249,7 @@
}
],
"source": [
+ "import math\n",
"#initilization of variables\n",
"A=[4,-3,1]\n",
"P=[2,3,-1]\n",
@@ -267,7 +272,7 @@
},
{
"cell_type": "code",
- "execution_count": 29,
+ "execution_count": 1,
"metadata": {
"collapsed": false
},
@@ -318,6 +323,7 @@
}
],
"source": [
+ "import math\n",
"#initilization of variables\n",
"A=[2,-6,-3]\n",
"B=[4,3,-1]\n",
@@ -343,7 +349,7 @@
},
{
"cell_type": "code",
- "execution_count": 38,
+ "execution_count": 3,
"metadata": {
"collapsed": false
},
@@ -358,6 +364,7 @@
}
],
"source": [
+ "import math\n",
"# Initilization of Variable \n",
"# Points As martices\n",
"A=[0,1,2]\n",
@@ -395,7 +402,7 @@
},
{
"cell_type": "code",
- "execution_count": 39,
+ "execution_count": 4,
"metadata": {
"collapsed": false
},
@@ -409,6 +416,7 @@
}
],
"source": [
+ "import math\n",
"# Initilization of variables\n",
"# Points as matrices\n",
"O=[-2,3,5]\n",
@@ -448,6 +456,7 @@
}
],
"source": [
+ "import math\n",
"# Initilization of variables\n",
"# Points as matrices\n",
"P=[1,-1,2] # Point where force is applied\n",
@@ -485,6 +494,7 @@
}
],
"source": [
+ "import math\n",
"# Initilization of variables\n",
"f=22 # N \n",
"# Points as matrices\n",
@@ -528,6 +538,7 @@
}
],
"source": [
+ "import math\n",
"# Initilization of variables\n",
"# Force Vector\n",
"F=[50,-80,30]\n",
@@ -577,6 +588,7 @@
}
],
"source": [
+ "import math\n",
"# Initilization of variables\n",
"f=100 # N # magnitude of force\n",
"# Co-ordinates of corners of the box as matrices\n",
@@ -631,6 +643,7 @@
}
],
"source": [
+ "from __future__ import division\n",
"# Initilization of variables\n",
"F=20 # kN # Force acting at O\n",
"M_x=76 # kNm\n",
@@ -651,7 +664,7 @@
},
{
"cell_type": "code",
- "execution_count": 19,
+ "execution_count": 5,
"metadata": {
"collapsed": false
},
@@ -711,6 +724,7 @@
}
],
"source": [
+ "from __future__ import division\n",
"# Initilization of variables\n",
"P=5 # kN\n",
"Q=3 # kN\n",
@@ -741,7 +755,7 @@
},
{
"cell_type": "code",
- "execution_count": 23,
+ "execution_count": 7,
"metadata": {
"collapsed": false
},
@@ -756,6 +770,7 @@
}
],
"source": [
+ "import numpy\n",
"# Initilization of variables\n",
"F=2 # kN\n",
"W=1 # kN\n",
@@ -787,21 +802,21 @@
],
"metadata": {
"kernelspec": {
- "display_name": "Python 3",
+ "display_name": "Python [Root]",
"language": "python",
- "name": "python3"
+ "name": "Python [Root]"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
- "version": 3
+ "version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
- "pygments_lexer": "ipython3",
- "version": "3.5.1"
+ "pygments_lexer": "ipython2",
+ "version": "2.7.12"
},
"widgets": {
"state": {},