diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1445/CH8/EX8.34/ch8_ex_34.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-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.34/ch8_ex_34.sce')
-rw-r--r-- | 1445/CH8/EX8.34/ch8_ex_34.sce | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/1445/CH8/EX8.34/ch8_ex_34.sce b/1445/CH8/EX8.34/ch8_ex_34.sce new file mode 100644 index 000000000..4695c56c7 --- /dev/null +++ b/1445/CH8/EX8.34/ch8_ex_34.sce @@ -0,0 +1,30 @@ +//CHAPTER 8- DIRECT CURRENT MACHINES +//Example 34 + +disp("CHAPTER 8"); +disp("EXAMPLE 34"); + +//VARIABLE INITIALIZATION +r_a=0.06; //armature resistance in Ohms +r_se=0.04; //series resistance in Ohms +r_sh=25; //shunt resistance in Ohms +v_t=110; //in Volts +I_l=100; //in Amperes + +//SOLUTION + +//solution (a) +I_sh=v_t/r_sh; +I_a=I_sh+I_l; +E_g=v_t+I_a*(r_a+r_se); +disp("(a) When the machine is connected as long shunt compound generator-"); +disp(sprintf("The armature current is %f A and the total emf is %f V",I_a,E_g)); + +//solution (b) +I_sh=(v_t/r_sh)+(I_l*r_se/r_sh); +I_a=I_sh+I_l; +E_g=v_t+(I_a*r_a)+(I_l*r_se); +disp("(b) When the machine is connected as short shunt compound generator-"); +disp(sprintf("The armature current is %f A and the total emf is %f V",I_a,E_g)); + +//END |