diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /1445/CH8/EX8.28 | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '1445/CH8/EX8.28')
-rw-r--r-- | 1445/CH8/EX8.28/Ex8_28.sce | 5 |
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)); |