diff options
Diffstat (limited to 'sample_notebooks/PADMAVATHITHIYAGARAJAN')
-rw-r--r-- | sample_notebooks/PADMAVATHITHIYAGARAJAN/Chapter_5.ipynb | 49 | ||||
-rw-r--r-- | sample_notebooks/PADMAVATHITHIYAGARAJAN/chapter5.ipynb | 50 |
2 files changed, 99 insertions, 0 deletions
diff --git a/sample_notebooks/PADMAVATHITHIYAGARAJAN/Chapter_5.ipynb b/sample_notebooks/PADMAVATHITHIYAGARAJAN/Chapter_5.ipynb new file mode 100644 index 00000000..3159e1a4 --- /dev/null +++ b/sample_notebooks/PADMAVATHITHIYAGARAJAN/Chapter_5.ipynb @@ -0,0 +1,49 @@ +{ + "metadata": { + "name": "Chapter 5" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": "Chapter 5 , Resistance and Wire Size" + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": "Problem 5.5, Page number: 48" + }, + { + "cell_type": "code", + "collapsed": false, + "input": "from __future__ import division\n\n#Comparing the Resistances of wires\n\n#Initialization\n\nA10=10380 #Area in cmil\n\nA14=4106 #Area in cmil\n\nfrom decimal import *\n\n#Calculation\n\nR14_R10=A10/A14\n\nprint \"The no. 14 wire has\",round(R14_R10,2),\"times as much resistance as the no. 10 wire\"", + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": "The no. 14 wire has 2.53 times as much resistance as the no. 10 wire\n" + } + ], + "prompt_number": 3 + }, + { + "cell_type": "code", + "collapsed": false, + "input": "", + "language": "python", + "metadata": {}, + "outputs": [] + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file diff --git a/sample_notebooks/PADMAVATHITHIYAGARAJAN/chapter5.ipynb b/sample_notebooks/PADMAVATHITHIYAGARAJAN/chapter5.ipynb new file mode 100644 index 00000000..7ed0f4e9 --- /dev/null +++ b/sample_notebooks/PADMAVATHITHIYAGARAJAN/chapter5.ipynb @@ -0,0 +1,50 @@ +{ + "metadata": { + "name": "chapter5.ipynb" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": "Chapter 5 , Resistance and Wire Size" + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": "Problem 5.5, Page number: 48" + }, + { + "cell_type": "code", + "collapsed": false, + "input": "from __future__ import division\n\n#Comparing the Resistances of wires\n\n#Initialization\n\nA10=10380 #Area in cmil\n\nA14=4106 #Area in cmil\n\n#Calculation\n\nR14_R10=A10/A14\n\nprint \"The no. 14 wire has\",round(R14_R10,2),\"times as much resistance as the no. 10 wire\"", + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": "The no. 14 wire has 2.53 times as much resistance as the no. 10 wire\n" + } + ], + "prompt_number": 1 + }, + { + "cell_type": "code", + "collapsed": false, + "input": "", + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": 1 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file |