summaryrefslogtreecommitdiff
path: root/1445/CH7/EX7.4/ch7_ex_4.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.4/ch7_ex_4.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.4/ch7_ex_4.sce')
-rw-r--r--1445/CH7/EX7.4/ch7_ex_4.sce30
1 files changed, 30 insertions, 0 deletions
diff --git a/1445/CH7/EX7.4/ch7_ex_4.sce b/1445/CH7/EX7.4/ch7_ex_4.sce
new file mode 100644
index 000000000..61e99861b
--- /dev/null
+++ b/1445/CH7/EX7.4/ch7_ex_4.sce
@@ -0,0 +1,30 @@
+//CHAPTER 7- SINGLE PHASE TRANSFORMER
+//Example 4
+
+disp("CHAPTER 7");
+disp("EXAMPLE 4");
+
+//VARIABLE INITIALIZATION
+va=10*1000; //apparent power
+N1=50; //number of turns on primary side
+N2=10; //number of turns on secondary side
+v1=440; //primary voltage in Volts
+f=50; //in Hertz
+
+//SOLUTION
+
+//solution (a)
+v2=v1*(N2/N1);
+disp(sprintf("(a) The secondary voltage on no load is %d V",v2));
+
+//solution (b)
+I1=va/v1;
+disp(sprintf("(b) The full load primary current is %f A",I1));
+I2=va/v2;
+disp(sprintf("The full load secondary current is %f A",I2));
+
+//solution (c)
+phi_m=v2/(4.44*N1*N2);
+disp(sprintf("(c) The maximum value of the flux is %f mWb",phi_m*1000));
+
+//END