summaryrefslogtreecommitdiff
path: root/1445/CH7/EX7.1/ch7_ex_1.sce
diff options
context:
space:
mode:
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
+