diff options
Diffstat (limited to 'Engineering_Mechanics_by_A._K._Tayal/Chapter_6_FRICTION.ipynb')
-rw-r--r-- | Engineering_Mechanics_by_A._K._Tayal/Chapter_6_FRICTION.ipynb | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/Engineering_Mechanics_by_A._K._Tayal/Chapter_6_FRICTION.ipynb b/Engineering_Mechanics_by_A._K._Tayal/Chapter_6_FRICTION.ipynb index 5710d02f..ee662d5e 100644 --- a/Engineering_Mechanics_by_A._K._Tayal/Chapter_6_FRICTION.ipynb +++ b/Engineering_Mechanics_by_A._K._Tayal/Chapter_6_FRICTION.ipynb @@ -64,7 +64,7 @@ }, { "cell_type": "code", - "execution_count": 39, + "execution_count": 2, "metadata": { "collapsed": false }, @@ -116,6 +116,8 @@ } ], "source": [ + "from __future__ import division\n", + "import math\n", "# Initilization of variables\n", "M=2000 # kg # mass of the car\n", "mu=0.3 # coefficient of static friction between the tyre and the road\n", @@ -137,7 +139,7 @@ }, { "cell_type": "code", - "execution_count": 46, + "execution_count": 3, "metadata": { "collapsed": false }, @@ -191,7 +193,7 @@ }, { "cell_type": "code", - "execution_count": 50, + "execution_count": 4, "metadata": { "collapsed": false }, @@ -225,22 +227,23 @@ } ], "metadata": { + "anaconda-cloud": {}, "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": {}, |