summaryrefslogtreecommitdiff
path: root/1445/CH8/EX8.28/Ex8_28.sce
diff options
context:
space:
mode:
Diffstat (limited to '1445/CH8/EX8.28/Ex8_28.sce')
-rw-r--r--1445/CH8/EX8.28/Ex8_28.sce5
1 files changed, 2 insertions, 3 deletions
diff --git a/1445/CH8/EX8.28/Ex8_28.sce b/1445/CH8/EX8.28/Ex8_28.sce
index 8cc1c1c85..8c16f6f17 100644
--- a/1445/CH8/EX8.28/Ex8_28.sce
+++ b/1445/CH8/EX8.28/Ex8_28.sce
@@ -1,10 +1,10 @@
//CHAPTER 8- DIRECT CURRENT MACHINES
//Example 28
+clc;
disp("CHAPTER 8");
disp("EXAMPLE 28");
-//series generator
//VARIABLE INITIALIZATION
E_a=120; //in Volts
r_se=0.03; //in Ohms
@@ -14,9 +14,8 @@ r=0.25; //in Ohms
I=300; //in Amperes
//SOLUTION
-v=I*(r_se+r_a+r); // voltage drop across Rse and ra and feeder
+v=I*(r_se+r_a+r);
disp(sprintf("The voltage drop across the three resistances is %d V",v));
-//hence the voltage between far end and bus bar is:
v_t=v1+E_a-v;
disp(sprintf("The voltage between far end and the bus bar is %d V",v_t));
disp(sprintf("The net increase of %d V may be beyond the desired limit",v_t-v1));