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.24/ch8_ex_24.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.24/ch8_ex_24.sce')
-rw-r--r-- | 1445/CH8/EX8.24/ch8_ex_24.sce | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/1445/CH8/EX8.24/ch8_ex_24.sce b/1445/CH8/EX8.24/ch8_ex_24.sce new file mode 100644 index 000000000..e330f4a03 --- /dev/null +++ b/1445/CH8/EX8.24/ch8_ex_24.sce @@ -0,0 +1,28 @@ +//CHAPTER 8- DIRECT CURRENT MACHINES +//Example 24 + +disp("CHAPTER 8"); +disp("EXAMPLE 24"); + +//This example is same as example 19 + +//VARIABLE INITIALIZATION +v=250; //in Volts +r_a=0.5; //in Ohms +r_f=250; //in Ohms +N1=600; //in rpm +I_l=21; //in Amperes +r=250; //in Ohms + +//SOLUTION +I_f1=v/r_f; +I_a1=I_l-I_f1; +I_a2=2*I_a1; +E_b1=v-(I_a1*r_a); +E_b2=v-(I_a2*r_a); +ratio=(r+r_f)/r_f; +N2=(ratio*N1*E_b2)/E_b1; +N2=round(N2); +disp(sprintf("The new speed is %d rpm",N2)); + +//END |