summaryrefslogtreecommitdiff
path: root/Electrical_Engineering_Fundamentals_by_Del_Toro_Vincent/CHAPTER04_2.ipynb
blob: f05d09d8f703f63e5bfe227a1204d3eddfc12b7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
 "metadata": {
  "name": "",
  "signature": "sha256:e1e884fd0e7587823057599fb680d9acbb4ef66b18021e299bfc4daf77059bb5"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "CHAPTER04 : CIRCUIT DIFFERENTIAL EQUATIONS FORMS AND SOLUTIONS"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example E01 : Pg 125"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "# ad\n",
      "Zab = complex(1,-0.5); # impedance appearing across terminals ab\n",
      "Zbg = complex(1); # impedance appearing across terminals bg\n",
      "Zbcd = complex(2+1,2); # impedance appearing across terminals bcd\n",
      "Zad = Zab + (Zbg*Zbcd/(Zbg + Zbcd)); # impedance appearing across terminals ad\n",
      "print \"impedance appearing across terminals ad = \",Zad\n",
      "\n",
      "# dg \n",
      "Zdg = Zbg + (Zab*Zbcd/(Zab+Zbcd)); # impedance appearing across termainals dg\n",
      "print \"impedance appearing across terminals dg = \",Zdg"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "impedance appearing across terminals ad =  (1.8-0.4j)\n",
        "impedance appearing across terminals dg =  (1.91780821918-0.219178082192j)\n"
       ]
      }
     ],
     "prompt_number": 1
    }
   ],
   "metadata": {}
  }
 ]
}