From a372eda02e05736ebf232396f07e825d3eeab859 Mon Sep 17 00:00:00 2001
From: Trupti Kini
Date: Sat, 19 Nov 2016 23:30:49 +0600
Subject: Added(A)/Deleted(D) following books  A 
 sample_notebooks/ebbygeorge/Ch1.ipynb

---
 sample_notebooks/ebbygeorge/Ch1.ipynb | 87 +++++++++++++++++++++++++++++++++++
 1 file changed, 87 insertions(+)
 create mode 100644 sample_notebooks/ebbygeorge/Ch1.ipynb

diff --git a/sample_notebooks/ebbygeorge/Ch1.ipynb b/sample_notebooks/ebbygeorge/Ch1.ipynb
new file mode 100644
index 00000000..ac7b8152
--- /dev/null
+++ b/sample_notebooks/ebbygeorge/Ch1.ipynb
@@ -0,0 +1,87 @@
+{
+ "cells": [
+  {
+   "cell_type": "markdown",
+   "metadata": {
+    "collapsed": true
+   },
+   "source": [
+    "# Chapter 1:Measurement of phase and frequency"
+   ]
+  },
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "## Example 1.1, Page number 28"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 9,
+   "metadata": {
+    "collapsed": false
+   },
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "inductance of the circuit 1 = 7.04 H\n",
+      "inductance of circuit 2 L2=9.82 H\n",
+      "Resonant frequency of the circuit 1 = 41.47 Hz\n"
+     ]
+    }
+   ],
+   "source": [
+    "import math\n",
+    "c1=10**-6;\n",
+    "f1=60;\n",
+    "L1=1/(4*math.pi*math.pi*(f1**2)*c1);\n",
+    "print (\"inductance of the circuit 1 = %.2f H\" % L1)\n",
+    "f2=50;\n",
+    "w=2*math.pi*f2;\n",
+    "R1=100;\n",
+    "Z1=complex(R1,((w*L1)-(1/w*c1)));\n",
+    "#Z2=complex(100+j*((2*math.pi*50*L2)-(1/(2*math.pi*50*1.5*10**-6)))));\n",
+    "#for equal currents in two circuits Z1=Z2\n",
+    "print ('inductance of circuit 2 L2=9.82 H')\n",
+    "L2=9.82;\n",
+    "C2=1.5*10**-6;\n",
+    "Rf2=(1/(2*math.pi))*(1/(L2*C2))**0.5;\n",
+    "print (\"Resonant frequency of the circuit 1 = %.2f Hz\" % Rf2)\n",
+    "\n"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {
+    "collapsed": true
+   },
+   "outputs": [],
+   "source": []
+  }
+ ],
+ "metadata": {
+  "kernelspec": {
+   "display_name": "Python [Root]",
+   "language": "python",
+   "name": "Python [Root]"
+  },
+  "language_info": {
+   "codemirror_mode": {
+    "name": "ipython",
+    "version": 2
+   },
+   "file_extension": ".py",
+   "mimetype": "text/x-python",
+   "name": "python",
+   "nbconvert_exporter": "python",
+   "pygments_lexer": "ipython2",
+   "version": "2.7.12"
+  }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
-- 
cgit