From a4206084fd8c2bd696ea4ae4012aa83534979456 Mon Sep 17 00:00:00 2001 From: Jovina Dsouza Date: Tue, 22 Jul 2014 00:00:04 +0530 Subject: adding book --- .../Chapter_01-checkpoint.ipynb | 329 +++++++++++++++++++++ 1 file changed, 329 insertions(+) create mode 100755 Electrical_Circuit_Theory_And_Technology/Chapter_01-checkpoint.ipynb (limited to 'Electrical_Circuit_Theory_And_Technology/Chapter_01-checkpoint.ipynb') diff --git a/Electrical_Circuit_Theory_And_Technology/Chapter_01-checkpoint.ipynb b/Electrical_Circuit_Theory_And_Technology/Chapter_01-checkpoint.ipynb new file mode 100755 index 00000000..b33db331 --- /dev/null +++ b/Electrical_Circuit_Theory_And_Technology/Chapter_01-checkpoint.ipynb @@ -0,0 +1,329 @@ +{ + "metadata": { + "name": "" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "

Chapter 1: Units Associated with Basic Electrical Quantities

" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "

Example 1, page no. 4

" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#find the quantity of electricity transferred.\n", + "from __future__ import division\n", + "#initializing the variables:\n", + "I = 5; # in Ampere\n", + "t = 120; # in sec\n", + "\n", + "#calculation:\n", + "Q = I*t\n", + "\n", + "#results\n", + "print \"Charge, Q = \", Q,\"coulomb(C)\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Charge, Q = 600 coulomb(C)" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "

Example 2, page no. 5

" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Determine the force needed.\n", + "from __future__ import division\n", + "#initializing the variables:\n", + "M = 5; # in Kg\n", + "a = 2; # in m/s2\n", + "\n", + "#calculation:\n", + "F = M*a\n", + "\n", + "#results\n", + "print \"Force:\", F,\"Newton(N)\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Force: 10 Newton(N)" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "

Example 3, page no. 5

" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Find the force acting vertically downwards\n", + "from __future__ import division\n", + "#initializing the variables:\n", + "M = 0.2; # in Kg\n", + "g = 9.81; # in m/s2\n", + "\n", + "#calculation:\n", + "F = M*g\n", + "\n", + "#results\n", + "print \"Force:\", F,\"Newton(N)\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Force: 1.962 Newton(N)" + ] + } + ], + "prompt_number": 3 + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "

Example 4, page no. 6

" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Calculate Work Done and Average Power?\n", + "from __future__ import division\n", + "#initializing the variables:\n", + "F = 200; # in Newton\n", + "d = 20; # in m\n", + "t = 25; # in sec\n", + "\n", + "#calculation:\n", + "W = F*d\n", + "P = W/t\n", + "\n", + "#results\n", + "print \"Power:\", P,\"watt(W)\"\n", + "print \"Work Done:\", W,\"Nm\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Power: 160.0 watt(W)\n", + "Work Done: 4000 Nm" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "

Example 5, page no. 6

" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#What is (a) the work done and (b) the power developed?\n", + "from __future__ import division\n", + "#initializing the variables:\n", + "M = 1000; # in Kg\n", + "h = 10; # in m\n", + "t = 20; # in sec\n", + "g = 9.81 # in m/s2\n", + "\n", + "#calculation:\n", + "W = M*g*h\n", + "P = W/t\n", + "\n", + "#results\n", + "print \"Work Done:\", W,\"Joule(J)\"\n", + "print \"Power:\", P,\"watt(W)\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Work Done: 98100.0 Joule(J)\n", + "Power: 4905.0 watt(W)" + ] + } + ], + "prompt_number": 5 + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "

Example 6, page no. 7

" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Find the conductance of a conductor of resistances\n", + "from __future__ import division\n", + "#initializing the variables:\n", + "R1 = 10; # in ohm\n", + "R2 = 5000; # in ohm\n", + "R3 = 0.1; # in ohm\n", + "#calculation:\n", + "G1 = 1/R1\n", + "G2 = 1/R2\n", + "G3 = 1/R3\n", + "\n", + "#results\n", + "print \"conductance(G1):\", G1,\"seimen(S)\"\n", + "print \"conductance(G2):\", G2,\"seimen(S)\"\n", + "print \"conductance(G3):\", G3,\"seimen(S)\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "conductance(G1): 0.1 seimen(S)\n", + "conductance(G2): 0.0002 seimen(S)\n", + "conductance(G3): 10.0 seimen(S)" + ] + } + ], + "prompt_number": 6 + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "

Example 7, page no. 7

" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#How much energy is provided in this time?\n", + "from __future__ import division\n", + "#initializing the variables:\n", + "V = 5; # in Volts\n", + "I = 3; # in Ampere\n", + "t = 600; # in sec\n", + "#calculation:\n", + "P = V*I\n", + "E = P*t\n", + "\n", + "#results\n", + "print \"Energy(E):\", E,\"Joule(J)\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Energy(E): 9000 Joule(J)" + ] + } + ], + "prompt_number": 7 + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "

Example 8, page no. 8

" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Find the power rating of the heater and the current taken from the supply.\n", + "from __future__ import division\n", + "#initializing the variables:\n", + "E = 18E5; # in Joule\n", + "V = 250; # in Volts\n", + "t = 1800; # in sec\n", + "\n", + "#calculation:\n", + "P = E/t\n", + "I = P/V\n", + "\n", + "#results\n", + "print \"Power(P):\", P,\"Watt(W)\"\n", + "print \"Current(I):\", I,\"Ampere(A)\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Power(P): 1000.0 Watt(W)\n", + "Current(I): 4.0 Ampere(A)" + ] + } + ], + "prompt_number": 9 + } + ], + "metadata": {} + } + ] +} \ No newline at end of file -- cgit