summaryrefslogtreecommitdiff
path: root/1445/CH7/EX7.41/ch7_ex_41.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1445/CH7/EX7.41/ch7_ex_41.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/CH7/EX7.41/ch7_ex_41.sce')
-rw-r--r--1445/CH7/EX7.41/ch7_ex_41.sce30
1 files changed, 30 insertions, 0 deletions
diff --git a/1445/CH7/EX7.41/ch7_ex_41.sce b/1445/CH7/EX7.41/ch7_ex_41.sce
new file mode 100644
index 000000000..555aa3969
--- /dev/null
+++ b/1445/CH7/EX7.41/ch7_ex_41.sce
@@ -0,0 +1,30 @@
+//CHAPTER 7- SINGLE PHASE TRANSFORMER
+//Example 41
+
+disp("CHAPTER 7");
+disp("EXAMPLE 41");
+
+//VARIABLE INITIALIZATION
+v1=550; //primary voltage in Volts
+v2=440; //secondary voltage in Volts
+p=400*1000; //in Watts
+pf=0.8; //power factor(lagging)
+
+//SOLUTION
+
+//solution (a)
+I2=p/(sqrt(3)*v2*pf);
+I1=I2*(v2/v1); //since I1:I2=N2:N1
+I=I2-I1; //in sections Oa, Ob and Oc
+disp(sprintf("(a) The current flowing in sections Oa, Ob and Oc is %f A",I));
+disp(sprintf("The current flowing in sections aA, bB and cC is %f A",I1));
+
+//solution (b)
+p_o=p*(1-(v2/v1)); //k=v2/v1
+disp(sprintf("(b) The power transferred by transformer action %f kW",p_o/1000));
+
+//solution (c)
+p_d=p-p_o;
+disp(sprintf("(c) The power conducted directly %d kW",p_d/1000));
+
+//END