summaryrefslogtreecommitdiff
path: root/3775/CH5/EX5.3/Ex5_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3775/CH5/EX5.3/Ex5_3.sce')
-rw-r--r--3775/CH5/EX5.3/Ex5_3.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3775/CH5/EX5.3/Ex5_3.sce b/3775/CH5/EX5.3/Ex5_3.sce
new file mode 100644
index 000000000..149f849c8
--- /dev/null
+++ b/3775/CH5/EX5.3/Ex5_3.sce
@@ -0,0 +1,18 @@
+//Ex 5.3 page 185
+
+clc;
+clear;
+close;
+
+Vs=400;//V
+alfa=0.25;// duty cycle
+delta_I=10;// A
+L=0.5;// H
+R=0;// ohm
+
+Vo=alfa*Vs;//V
+//Vo+L*di/dt=Vs -- putting dt=Ton & di=delta_I
+Ton=delta_I/((Vs-Vo)/L)*1000;// ms
+T=Ton/alfa;// ms
+f=1/T*1000;//Hz
+printf('\n chopping frequency = %d Hz',f)