summaryrefslogtreecommitdiff
path: root/Basic_Electronics_and_Linear_Circuits/ch1.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Basic_Electronics_and_Linear_Circuits/ch1.ipynb')
-rwxr-xr-xBasic_Electronics_and_Linear_Circuits/ch1.ipynb85
1 files changed, 0 insertions, 85 deletions
diff --git a/Basic_Electronics_and_Linear_Circuits/ch1.ipynb b/Basic_Electronics_and_Linear_Circuits/ch1.ipynb
deleted file mode 100755
index 6ff156a7..00000000
--- a/Basic_Electronics_and_Linear_Circuits/ch1.ipynb
+++ /dev/null
@@ -1,85 +0,0 @@
-{
- "metadata": {
- "name": "",
- "signature": "sha256:d40864745b0958ff90d45e29ecc4874d2fd0d20b38ed09535ff46977537fd224"
- },
- "nbformat": 3,
- "nbformat_minor": 0,
- "worksheets": [
- {
- "cells": [
- {
- "cell_type": "heading",
- "level": 1,
- "metadata": {},
- "source": [
- "Chapter no. 1: Introduction To Electronics"
- ]
- },
- {
- "cell_type": "heading",
- "level": 2,
- "metadata": {},
- "source": [
- "Example 1.1 Page no.8"
- ]
- },
- {
- "cell_type": "code",
- "collapsed": false,
- "input": [
- "\n",
- "A=4 #NUMERICAL CODE FOR BAND YELLOW\n",
- "B=7 #NUMERICAL CODE FOR BAND VIOLET\n",
- "C=3 #NUMERICAL CODE FOR BAND ORANGE\n",
- "D=5 #TOLERANCE VALUE FOR BAND GOLD i.e. 5%\n",
- "\n",
- "#Resistor Value Calculation\n",
- "R=(A*10+B)*10**C\n",
- "#Tolerance Value Calulation\n",
- "T=D*R/100;\n",
- "R1=R-T;\n",
- "R2=R+T;\n",
- "\n",
- "# Results\n",
- "print \"Therefore thr resistance should be within the range \", R1*10**(-3) ,\"kohm\",\"and\", R2*10**(-3),\"kohm\""
- ],
- "language": "python",
- "metadata": {},
- "outputs": []
- },
- {
- "cell_type": "heading",
- "level": 3,
- "metadata": {},
- "source": [
- "Example 1.2 Page no.8"
- ]
- },
- {
- "cell_type": "code",
- "collapsed": false,
- "input": [
- "\n",
- "A=8 #NUMERICAL CODE FOR BAND GRAY\n",
- "B=6 #NUMERICAL CODE FOR BAND BLUE\n",
- "C=-1 #NUMERICAL CODE FOR BAND GOLD\n",
- "D=5 #TOLERANCE VALUE FOR BAND GOLD i.e. 5%\n",
- "#Resistor Value Calculation\n",
- "R=(A*10+B)*10**C\n",
- "#Tolerance Value Calulation\n",
- "T=D*R/100\n",
- "R1=R-T\n",
- "R2=R+T\n",
- "# Results \n",
- "print \"Range of Values of the Resistor is between \",R1,\"ohm\",\"and\",R2,\"ohm\""
- ],
- "language": "python",
- "metadata": {},
- "outputs": []
- }
- ],
- "metadata": {}
- }
- ]
-} \ No newline at end of file