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
61
62
63
64
65
66
67
|
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Chapter 12 : Batteries"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example No. 12_1 Page No. 368"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The Resistance ri = 10 Ohms\n"
]
}
],
"source": [
"# Calculate ri if the output of a generator drops from 100 V with zero load current to 80 V when Il is 2 A.\n",
"\n",
"# Given data\n",
"\n",
"Vo0 = 100# # Vo at zero load current=100 Volts\n",
"Vo1 = 80# # Vo at 2 A load current=80 Volts\n",
"Il = 2# # Load current=2 Amps\n",
"\n",
"Ri = (Vo0-Vo1)/Il#\n",
"print 'The Resistance ri = %0.f Ohms'%Ri"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"language": "python",
"name": "python2"
},
"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.9"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
|