From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1628/CH16/EX16.17/Ex16_17.sce | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 1628/CH16/EX16.17/Ex16_17.sce (limited to '1628/CH16/EX16.17/Ex16_17.sce') 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 -- cgit