summaryrefslogtreecommitdiff
path: root/3760/CH1/EX1.74/Ex1_74.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3760/CH1/EX1.74/Ex1_74.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 '3760/CH1/EX1.74/Ex1_74.sce')
-rw-r--r--3760/CH1/EX1.74/Ex1_74.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3760/CH1/EX1.74/Ex1_74.sce b/3760/CH1/EX1.74/Ex1_74.sce
new file mode 100644
index 000000000..253f7bbe1
--- /dev/null
+++ b/3760/CH1/EX1.74/Ex1_74.sce
@@ -0,0 +1,20 @@
+clc;
+k1=4; // turns ratio for transformer 1
+k2=3; // turns ratio for transformer 2
+E1=120; // supply across which two transformers are connected in parallel
+E21=E1/k1; // secondary voltage for transformer 1
+E22=E1/k2; // secondary voltage for transformer 2
+R=10; // load resistance
+// Secondary windings are connected in series with the polarity such that the voltages E21 and E22 aid each other
+E2=E21+E22; // resultant output voltage
+il=E2/R; // Load current
+// for mmf balance, primary current for T1
+ip1=il/k1;
+// for mmf balance, primary current for T2
+ip2=il/k2;
+ip=ip1+ip2; // total current drawn from source
+printf('Current drawn from source is %f A\n',ip);
+zi=E1/ip;
+printf('Primary input impedance is %f ohm\n',zi);
+pi=E2*il;
+printf('Primary input power is %f W',pi);