summaryrefslogtreecommitdiff
path: root/1445/CH8/EX8.28/ch8_ex_28.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1445/CH8/EX8.28/ch8_ex_28.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '1445/CH8/EX8.28/ch8_ex_28.sce')
-rw-r--r--1445/CH8/EX8.28/ch8_ex_28.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/1445/CH8/EX8.28/ch8_ex_28.sce b/1445/CH8/EX8.28/ch8_ex_28.sce
new file mode 100644
index 000000000..318634584
--- /dev/null
+++ b/1445/CH8/EX8.28/ch8_ex_28.sce
@@ -0,0 +1,24 @@
+//CHAPTER 8- DIRECT CURRENT MACHINES
+//Example 28
+
+disp("CHAPTER 8");
+disp("EXAMPLE 28");
+
+//VARIABLE INITIALIZATION
+E_a=120; //in Volts
+r_se=0.03; //in Ohms
+r_a=0.02; //in Ohms
+v1=240; //in Volts
+r=0.25; //in Ohms
+I=300; //in Amperes
+
+//SOLUTION
+v=I*(r_se+r_a+r);
+disp(sprintf("The voltage drop across the three resistances is %d V",v));
+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));
+disp("Hence, a field diverter resistance may be necessary to regulate the far-end terminal voltage");
+
+//END
+