summaryrefslogtreecommitdiff
path: root/2231/CH4/EX4.2/Ex_4_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2231/CH4/EX4.2/Ex_4_2.sce')
-rwxr-xr-x2231/CH4/EX4.2/Ex_4_2.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2231/CH4/EX4.2/Ex_4_2.sce b/2231/CH4/EX4.2/Ex_4_2.sce
new file mode 100755
index 000000000..05f9c8830
--- /dev/null
+++ b/2231/CH4/EX4.2/Ex_4_2.sce
@@ -0,0 +1,18 @@
+//Example 4_2
+clc;
+clear;close;
+
+//Given data:
+Ra=0.06;//ohm
+Rf=0.03;//ohm
+Iav=15;//A
+f=500;//Hz
+Eb=100;//V
+V=200;//V
+
+//Solution :
+Vav=Iav*(Ra+Rf)+Eb;//V
+T=1/f;//s
+Ton=Vav*T/V;//s
+Toff=T-Ton;//s
+disp(Toff,Ton,"Periods of conduction & blocking(seconds)");