summaryrefslogtreecommitdiff
path: root/3775/CH4/EX4.4/Ex4_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3775/CH4/EX4.4/Ex4_4.sce')
-rw-r--r--3775/CH4/EX4.4/Ex4_4.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3775/CH4/EX4.4/Ex4_4.sce b/3775/CH4/EX4.4/Ex4_4.sce
new file mode 100644
index 000000000..a559736b6
--- /dev/null
+++ b/3775/CH4/EX4.4/Ex4_4.sce
@@ -0,0 +1,16 @@
+//Ex 4.4 page 160
+
+clc;
+clear;
+close;
+
+
+R=30;// ohm
+Vs=230;// V
+f=50;// Hz
+alpha = 45;// degree
+
+Vor=Vs*sqrt(1/%pi*(%pi-alpha*%pi/180+sin(2*alpha*%pi/180)/2));// V
+Ior=Vor/R;// A
+printf('\n rms load voltage = %.2f V', Vor)
+printf('\n rms load current = %.2f A', Ior)