summaryrefslogtreecommitdiff
path: root/1445/CH8/EX8.18/ch8_ex_18.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.18/ch8_ex_18.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.18/ch8_ex_18.sce')
-rw-r--r--1445/CH8/EX8.18/ch8_ex_18.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/1445/CH8/EX8.18/ch8_ex_18.sce b/1445/CH8/EX8.18/ch8_ex_18.sce
new file mode 100644
index 000000000..ba0966842
--- /dev/null
+++ b/1445/CH8/EX8.18/ch8_ex_18.sce
@@ -0,0 +1,28 @@
+//CHAPTER 8- DIRECT CURRENT MACHINES
+//Example 18
+
+disp("CHAPTER 8");
+disp("EXAMPLE 18");
+
+//VARIABLE INITIALIZATION
+v_t=460; //in Volts
+p_o=10*736; //in Watts (1 metric H.P=735.5 W)
+ratio=85/100; //as given in the question
+eff=84/100;
+I_f=1.1; //in Amperes
+r_a=0.2; //in Ohms
+
+//SOLUTION
+p_i=p_o/eff;
+I_l=p_i/v_t;
+I_a=I_l-I_f;
+E1=v_t-(I_a*r_a);
+E2=E1*ratio; //E2:E1=N2:N1=ratio
+v=v_t-E2; //voltage drop across r_a and r_s (r_s is the series resistance to be inserted)
+r_s=(v/I_a)-r_a;
+disp(sprintf("The resistance required is %f Ω",r_s));
+
+//The answer is different because ratio equals 85/100 and not 75/100
+
+//END
+