From 37c5eeeddf3dddc176192efc7c699faa15f22601 Mon Sep 17 00:00:00 2001 From: Trupti Kini Date: Thu, 5 May 2016 23:30:26 +0600 Subject: Added(A)/Deleted(D) following books A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter3_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter4_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter5_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter6_3.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter7_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/Chapter9_3.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter10_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter12_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter13_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter14_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter15_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter16_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter17_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter19_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter20_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter21_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter22_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter23_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter24_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter25_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter26_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter27_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter28_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter29_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter30_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter31_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter32_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter33_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter34_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter35_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/chapter36_4.ipynb A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/Clipper_waveform_3.png A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/Gate_to_Source_Voltage_vs_Drain_Current_3.png A A_Textbook_of_Applied_Electronics_by_R_S_Sedha/screenshots/transconductance_curve_3.png A Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch1_5.ipynb A Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch2_5.ipynb A Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch3_5.ipynb A Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch4_5.ipynb A Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch6_5.ipynb A Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch7_5.ipynb A Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch8_5.ipynb A Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/screenshots/ch1.png A Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/screenshots/ch3.png A Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/screenshots/ch6.png A Power_System_Operation_and_Control_by_B._R._Gupta/README.txt A "_Applied_Thermodynamics_and_Engineering\t_by_T._D._Eastop_and_A._Mcconkey/ch3_1.ipynb" A "_Applied_Thermodynamics_and_Engineering\t_by_T._D._Eastop_and_A._Mcconkey/ch4_1.ipynb" A "_Applied_Thermodynamics_and_Engineering\t_by_T._D._Eastop_and_A._Mcconkey/ch5_1.ipynb" A "_Applied_Thermodynamics_and_Engineering\t_by_T._D._Eastop_and_A._Mcconkey/ch6_1.ipynb" A "_Applied_Thermodynamics_and_Engineering\t_by_T._D._Eastop_and_A._Mcconkey/ch7_1.ipynb" A "_Applied_Thermodynamics_and_Engineering\t_by_T._D._Eastop_and_A._Mcconkey/ch8_1.ipynb" A "_Applied_Thermodynamics_and_Engineering\t_by_T._D._Eastop_and_A._Mcconkey/ch9_1.ipynb" A "_Applied_Thermodynamics_and_Engineering\t_by_T._D._Eastop_and_A._Mcconkey/screenshots/3_1.png" A "_Applied_Thermodynamics_and_Engineering\t_by_T._D._Eastop_and_A._Mcconkey/screenshots/5_1.png" A "_Applied_Thermodynamics_and_Engineering\t_by_T._D._Eastop_and_A._Mcconkey/screenshots/9_1.png" A dss_by_asd/README.txt A dss_by_asd/namratha.ipynb A dss_by_asd/screenshots/screenshot2.png A dss_by_asd/screenshots/screenshot4.png A dss_by_asd/screenshots/streamplot.png A sample_notebooks/RaviGarg/chap1.ipynb --- sample_notebooks/RaviGarg/chap1.ipynb | 462 ++++++++++++++++++++++++++++++++++ 1 file changed, 462 insertions(+) create mode 100644 sample_notebooks/RaviGarg/chap1.ipynb (limited to 'sample_notebooks') diff --git a/sample_notebooks/RaviGarg/chap1.ipynb b/sample_notebooks/RaviGarg/chap1.ipynb new file mode 100644 index 00000000..36a74a3e --- /dev/null +++ b/sample_notebooks/RaviGarg/chap1.ipynb @@ -0,0 +1,462 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:1a5424f1a289fa2ea02065679fbda8bfa43c7eec69070520139086e97a973104" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 1 Coulombs Law" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 1.1 Page no 12" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "q=-3*10**-7 #C\n", + "e=-1.6*10**-19 #C\n", + "\n", + "#Calculation\n", + "n=q/e\n", + "\n", + "#Result\n", + "print\"Number of electrons transferred from wool to polythene is\", n" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Number of electrons transferred from wool to polythene is 1.875e+12\n" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 1.2 Page no 12" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "m=3.11 #g\n", + "Z=29\n", + "A=63.5 \n", + "N=6.023*10**23\n", + "e=1.6*10**-19\n", + "\n", + "#Calculation\n", + "n=(N*m)/A\n", + "n1=n*Z\n", + "q=n1*e\n", + "\n", + "#Result\n", + "print\"Total positive or negative charge is\", round(q*10**-5,2),\"*10**5 C\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Total positive or negative charge is 1.37 *10**5 C\n" + ] + } + ], + "prompt_number": 23 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 1.3 Page no 12" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "q1=2*10**-7\n", + "q2=3*10**-7\n", + "r=0.3 #m\n", + "a=9*10**9\n", + "\n", + "#Calculation\n", + "F=(a*q1*q2)/r**2\n", + "\n", + "#Result\n", + "print\"Force between two small charged spheres is\", F*10**3,\"*10**-3\",\"N(repulsive\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Force between two small charged spheres is 6.0 *10**-3 N(repulsive\n" + ] + } + ], + "prompt_number": 11 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 1.4 page no. 12" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "F=3.7*10**-9 #N\n", + "r=5*10**-10 #m\n", + "a=9*10**9\n", + "q1=1.6*10**-19\n", + "\n", + "#Calculation\n", + "import math\n", + "n=math.sqrt(F*r**2/(a*q1**2))\n", + "\n", + "#Result\n", + "print\"number of electrons is\", round(n,0)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "number of electrons is 2.0\n" + ] + } + ], + "prompt_number": 16 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 1.5 Page no 12" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "q1=0.4*10**-6 #C\n", + "q2=0.8*10**-6 #C\n", + "F12=0.2 #N\n", + "a=9.0*10**9\n", + "\n", + "#Calculation\n", + "import math\n", + "r=math.sqrt((a*q1*q2)/F12)\n", + "\n", + "#Result\n", + "print\"(a) Distance between two spheres is\", r,\"m\"\n", + "print\"(b) Force on charge q2 due to q1 is\",F12,\"N\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "(a) Distance between two spheres is 0.12 m\n", + "(b) Force on charge q2 due to q1 is 0.2 N\n" + ] + } + ], + "prompt_number": 32 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 1.6 Page no 13" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "q1=5*10**-8 #C\n", + "m1=8*10**-3 #Kg\n", + "a=9*10**9\n", + "r=0.05 #m\n", + "\n", + "#Calculation\n", + "q2=m1*9.8*r**2/(a*q1)\n", + "\n", + "#Result\n", + "print\"Charge q2 is\", round(q2*10**7,2)*10**-7,\"C(positive)\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Charge q2 is 4.36e-07 C(positive)\n" + ] + } + ], + "prompt_number": 40 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 1.7 Page no 13" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "q1=6.5*10**-7 #C\n", + "q2=6.5*10**-7\n", + "r=0.5 #m\n", + "a=9*10**9\n", + "K=80.0\n", + "\n", + "#Calculation\n", + "Fair=a*q1*q2/r**2\n", + "r1=0.5/2.0\n", + "F1=a*4*q1*q2/r1**2\n", + "Fwater=Fair/K\n", + "\n", + "#Result\n", + "print\"(a) Mutual force of electrostatic repulsion is\", Fair*10**2,\"*10**-2 N\"\n", + "print\"(b) (i) Force of repulsion is\", round(F1,4),\"N\"\n", + "print \"(ii) Force of repulsion is\",round(Fwater*10**4,1),\"*10**-4 N\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "(a) Mutual force of electrostatic repulsion is 1.521 *10**-2 N\n", + "(b) (i) Force of repulsion is 0.2434 N\n", + "(ii) Force of repulsion is 1.9 *10**-4 N\n" + ] + } + ], + "prompt_number": 57 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 1.8 Page no 13" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "q1=6.5*10**-7 #C\n", + "r=0.05 #m\n", + "a=9*10**9\n", + "r1=0.5\n", + "\n", + "#Calculation\n", + "q11=q1/2.0\n", + "q21=(q1+q11)/2.0\n", + "F=(a*q11*q21)/r1**2\n", + "\n", + "#Result\n", + "print\"New force of repulsion between A and B is\", round(F*10**3,3),\"*10**-3 N\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "New force of repulsion between A and B is 5.704 *10**-3 N\n" + ] + } + ], + "prompt_number": 64 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 1.10 Page no 14" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "a=9.0*10**9\n", + "r=0.2\n", + "m=9.8*10**-3\n", + "a1=0.1\n", + "a2=0.5\n", + "\n", + "#Calculation\n", + "import math\n", + "a11=m*(a1/(math.sqrt(a2**2-a1**2)))\n", + "q=math.sqrt((a11*r**2)/a)\n", + "\n", + "#Result\n", + "print\"Charge on each ball is\", round(q*10**8,2)*10**-6,\"C\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Charge on each ball is 9.43e-06 C\n" + ] + } + ], + "prompt_number": 100 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 1.12 Page no 14" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "qa=10**-5 #C\n", + "qb=5*10**-6 #C\n", + "qc=-5*10**-6 #C\n", + "r=0.1 #m\n", + "a=9*10**9\n", + "\n", + "#Calculation\n", + "import math\n", + "Fab=(a*qa*qb)/r**2\n", + "Fac=Fab\n", + "F=math.sqrt(Fab**2+Fac**2+(2*Fab*Fac*math.cos(120*3.14/180.0)))\n", + "\n", + "#Result\n", + "print\"Resultant force is\", round(F,0),\"N\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Resultant force is 45.0 N\n" + ] + } + ], + "prompt_number": 75 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 1.13 Page no 15" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "qa=1\n", + "qb=100\n", + "ab=10\n", + "a=9*10**9\n", + "qd=75\n", + "a1=5\n", + "\n", + "#Calculation\n", + "import math\n", + "Fab=(a*qa*qb)/ab**2\n", + "Fac=Fab\n", + "Fac1=(a*qa*qd)/(ab**2-a1**2)\n", + "Fx=Fab*math.cos(60*3.14/180.0)+Fac1*math.cos(60*3.14/180.0)\n", + "Fy=Fac\n", + "F=math.sqrt(Fx**2+Fy**2)\n", + "B=Fy/Fx\n", + "B1=math.atan(B)*180/3.14\n", + "\n", + "#Result\n", + "print\"Resultant force on charge qa is inclined at\", round(B1,0),\"Degree\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Resultant force on charge qa is inclined at 45.0 Degree\n" + ] + } + ], + "prompt_number": 90 + } + ], + "metadata": {} + } + ] +} \ No newline at end of file -- cgit