diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1628/CH16/EX16.17/Ex16_17.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1628/CH16/EX16.17/Ex16_17.sce')
-rwxr-xr-x | 1628/CH16/EX16.17/Ex16_17.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/1628/CH16/EX16.17/Ex16_17.sce b/1628/CH16/EX16.17/Ex16_17.sce new file mode 100755 index 000000000..0f964aa8d --- /dev/null +++ b/1628/CH16/EX16.17/Ex16_17.sce @@ -0,0 +1,26 @@ +
+ // Example 16.17
+
+Ra=0.2; // Resistance
+V=250; // Supply voltage
+Eb=0; // Voltage at rest
+Ia=(V-Eb)/Ra; // Current drawn by the machine at Eb=200
+disp(' Current drawn by the machine at (Eb=0) = '+string(Ia)+' Amp');
+
+Eb1=200; // Voltage at Eb=200
+Ia1=(V-Eb1)/Ra; // Current drawn by the machine at Eb=200
+disp(' Current drawn by the machine at (Eb=200) = '+string(Ia1)+' Amp');
+
+Eb2=250; // Voltage at Eb=250
+Ia2=(V-Eb2)/Ra; // Current drawn by the machine at Eb=250
+disp(' Current drawn by the machine at (Eb=250) = '+string(Ia2)+' Amp');
+
+Eb3=-250; // Voltage at Eb=-250
+Ia3=(V-Eb3)/Ra; // Current drawn by the machine at Eb=-250
+disp(' Current drawn by the machine at (Eb=-250) = '+string(Ia3)+' Amp');
+
+
+
+
+
+ // p 653 16.17
\ No newline at end of file |