summaryrefslogtreecommitdiff
path: root/147/CH3/EX3.2/Example3_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '147/CH3/EX3.2/Example3_2.sce')
-rw-r--r--147/CH3/EX3.2/Example3_2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/147/CH3/EX3.2/Example3_2.sce b/147/CH3/EX3.2/Example3_2.sce
new file mode 100644
index 000000000..6bc54c7d6
--- /dev/null
+++ b/147/CH3/EX3.2/Example3_2.sce
@@ -0,0 +1,12 @@
+//V = Vmax*sin(omega*t) i = imax*sin(omega*t-phi)
+close();
+clear;
+clc;
+Vmax = 155.6;
+omega = 377;//Deg
+imax = 7.07;
+phi = 36.87;
+f = omega/(2*%pi);
+T = 1/f;
+phase_angle = phi*%pi/180;
+mprintf('frequency f = %0.0f Hz\nT = %0.4f s \nphase angle betwwen v and i = %0.2f rad',f,T,phase_angle); \ No newline at end of file