summaryrefslogtreecommitdiff
path: root/1445/CH7/EX7.1/ch7_ex_1.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.1/ch7_ex_1.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.1/ch7_ex_1.sce')
-rw-r--r--1445/CH7/EX7.1/ch7_ex_1.sce30
1 files changed, 30 insertions, 0 deletions
diff --git a/1445/CH7/EX7.1/ch7_ex_1.sce b/1445/CH7/EX7.1/ch7_ex_1.sce
new file mode 100644
index 000000000..1c326044f
--- /dev/null
+++ b/1445/CH7/EX7.1/ch7_ex_1.sce
@@ -0,0 +1,30 @@
+//CHAPTER 7- SINGLE PHASE TRANSFORMER
+//Example 1
+
+disp("CHAPTER 7");
+disp("EXAMPLE 1");
+
+//VARIABLE INITIALIZATION
+I_0=10; //no load current in Amperes
+pf=0.25; //power factor
+v1=400; //in Volts
+f=50; //in Hertz
+
+//SOLUTION
+
+//solution (a)
+theta=acos(pf);
+I_phi=I_0*sin(theta);
+disp(sprintf("(a) The magnetizing component of no load current is %f A",I_phi));
+
+//solution (b)
+p_c=v1*I_0*pf;
+disp(sprintf("(b) The iron loss is %d W",p_c));
+
+//solution (c)
+N1=500;
+phi_m=v1/(sqrt(2)*%pi*f*N1);
+disp(sprintf("(c) The maximum value of flux in the core is %f mWb",phi_m*1000));
+
+//END
+