summaryrefslogtreecommitdiff
path: root/3775/CH3/EX3.12/Ex3_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '3775/CH3/EX3.12/Ex3_12.sce')
-rw-r--r--3775/CH3/EX3.12/Ex3_12.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3775/CH3/EX3.12/Ex3_12.sce b/3775/CH3/EX3.12/Ex3_12.sce
new file mode 100644
index 000000000..5b4acf18a
--- /dev/null
+++ b/3775/CH3/EX3.12/Ex3_12.sce
@@ -0,0 +1,16 @@
+//Ex 3.12 page 126
+
+clc;
+clear;
+close;
+
+R=20;// ohm
+Vs=400;// V
+f=50;// Hz
+alpha = 30;// degree
+
+Vm=Vs*sqrt(2);// V
+Vo=3*Vm/%pi*cos(alpha*%pi/180);// V
+Io=Vo/R;// A
+printf('\n Average load voltage = %.3f V',Vo)
+printf('\n Average load current = %.3f A',Io)