diff options
author | hardythe1 | 2015-07-03 12:23:43 +0530 |
---|---|---|
committer | hardythe1 | 2015-07-03 12:23:43 +0530 |
commit | 5a86a20b9de487553d4ef88719fb0fd76a5dd6a7 (patch) | |
tree | db67ac5738a18b921d9a8cf6e86f402703f30bdf /Engineering_Physics_/Chapter2.ipynb | |
parent | 37d315828bbfc0f5cabee669d2b9dd8cd17b5154 (diff) | |
download | Python-Textbook-Companions-5a86a20b9de487553d4ef88719fb0fd76a5dd6a7.tar.gz Python-Textbook-Companions-5a86a20b9de487553d4ef88719fb0fd76a5dd6a7.tar.bz2 Python-Textbook-Companions-5a86a20b9de487553d4ef88719fb0fd76a5dd6a7.zip |
add/remove books
Diffstat (limited to 'Engineering_Physics_/Chapter2.ipynb')
-rwxr-xr-x | Engineering_Physics_/Chapter2.ipynb | 155 |
1 files changed, 0 insertions, 155 deletions
diff --git a/Engineering_Physics_/Chapter2.ipynb b/Engineering_Physics_/Chapter2.ipynb deleted file mode 100755 index e5649f50..00000000 --- a/Engineering_Physics_/Chapter2.ipynb +++ /dev/null @@ -1,155 +0,0 @@ -{
- "metadata": {
- "name": "",
- "signature": "sha256:a390c22e8bbeba1dfd4031b28f9e625838df0d3c214c564a212b1961eafc18f9"
- },
- "nbformat": 3,
- "nbformat_minor": 0,
- "worksheets": [
- {
- "cells": [
- {
- "cell_type": "heading",
- "level": 1,
- "metadata": {},
- "source": [
- "2: Thermoelectricity"
- ]
- },
- {
- "cell_type": "heading",
- "level": 1,
- "metadata": {},
- "source": [
- "Example number 2.1, Page number 54"
- ]
- },
- {
- "cell_type": "code",
- "collapsed": false,
- "input": [
- "#importing modules\n",
- "import math\n",
- "from __future__ import division\n",
- "\n",
- "#Variable declaration\n",
- "Tn=285; #neutral temperature(C)\n",
- "Tc=-20; #temperature at junction(C)\n",
- "\n",
- "#Calculation\n",
- "Ti=(2*Tn)-Tc; #temperature of inversion(C)\n",
- "\n",
- "#Result\n",
- "print \"temperature of inversion is\",Ti,\"C\""
- ],
- "language": "python",
- "metadata": {},
- "outputs": [
- {
- "output_type": "stream",
- "stream": "stdout",
- "text": [
- "temperature of inversion is 590 C\n"
- ]
- }
- ],
- "prompt_number": 1
- },
- {
- "cell_type": "heading",
- "level": 2,
- "metadata": {},
- "source": [
- "Example number 2.2, Page number 54"
- ]
- },
- {
- "cell_type": "code",
- "collapsed": false,
- "input": [
- "#importing modules\n",
- "import math\n",
- "from __future__ import division\n",
- "\n",
- "#Variable declaration\n",
- "aFe=16.65; #value of a of Fe\n",
- "bFe=-0.095; #value of b of Fe\n",
- "aAg=2.86; #value of a of Ag\n",
- "bAg=0.017; #value of b of Ag\n",
- "t=100; #temperature(C)\n",
- "\n",
- "#Calculation\n",
- "a=aFe-aAg; #value of aFe_Ag\n",
- "b=bFe-bAg; #value of bFe_Ag\n",
- "Tn=-a/b; #neutral temperature(C)\n",
- "EFe_Ag=(a*t)+(0.5*b*t**2); #thermo emf of thermocouple\n",
- "\n",
- "#Result\n",
- "print \"neutral temperature is\",Tn,\"C\"\n",
- "print \"thermo emf of thermocouple is\",EFe_Ag"
- ],
- "language": "python",
- "metadata": {},
- "outputs": [
- {
- "output_type": "stream",
- "stream": "stdout",
- "text": [
- "neutral temperature is 123.125 C\n",
- "thermo emf of thermocouple is 819.0\n"
- ]
- }
- ],
- "prompt_number": 2
- },
- {
- "cell_type": "heading",
- "level": 2,
- "metadata": {},
- "source": [
- "Example number 2.3, Page number 54"
- ]
- },
- {
- "cell_type": "code",
- "collapsed": false,
- "input": [
- "#importing modules\n",
- "import math\n",
- "from __future__ import division\n",
- "\n",
- "#Variable declaration\n",
- "#PFe=1734-4.87t\n",
- "#PCu=136+0.95t\n",
- "aFe_Pb=1734;\n",
- "bFe_Pb=-4.87;\n",
- "aCu_Pb=136;\n",
- "bCu_Pb=0.95\n",
- "\n",
- "#Calculation\n",
- "a=aFe_Pb-aCu_Pb; #value of aFe_Cu\n",
- "b=bFe_Pb-bCu_Pb; #value of bFe_Cu\n",
- "EFe_Cu=(a*t)+(0.5*b*t**2); #thermo emf of thermocouple(microV)\n",
- "EFe_Cu=EFe_Cu*10**-6; #thermo emf of thermocouple(V)\n",
- "\n",
- "#Result\n",
- "print \"thermo emf of thermocouple is\",EFe_Cu,\"V\""
- ],
- "language": "python",
- "metadata": {},
- "outputs": [
- {
- "output_type": "stream",
- "stream": "stdout",
- "text": [
- "thermo emf of thermocouple is 0.1307 V\n"
- ]
- }
- ],
- "prompt_number": 3
- }
- ],
- "metadata": {}
- }
- ]
-}
\ No newline at end of file |