summaryrefslogtreecommitdiff
path: root/1514/CH2/EX2.6/ch2_2_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '1514/CH2/EX2.6/ch2_2_6.sce')
-rwxr-xr-x1514/CH2/EX2.6/ch2_2_6.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/1514/CH2/EX2.6/ch2_2_6.sce b/1514/CH2/EX2.6/ch2_2_6.sce
new file mode 100755
index 000000000..7b46b5b01
--- /dev/null
+++ b/1514/CH2/EX2.6/ch2_2_6.sce
@@ -0,0 +1,28 @@
+//chapter 2
+//example 2.6
+//page 42
+clear;
+clc ;
+//given
+VF=0.7;//forward voltage drop across diode
+Rl=500;//load resistor in ohm
+Vp=30;//input voltage in volts
+
+//peak o/p voltage
+Ep=Vp-VF;
+
+//peak o/p current
+Ip=((Vp-VF)/Rl)*10^3;
+
+//for half wave rectifier
+Iave= (0.637 * Ip)/2; //average current through diode
+//power dissipation
+PD= Iave * VF;
+
+//Peak Reverse Voltage(PRV)
+PRV=2*Vp;
+
+ printf('\npeak o/p voltage=%.1f V\n',Ep);
+ printf('peak o/p current=%.1f mA\n',Ip);
+ printf('power dissipation=%d mW\n',PD);
+ printf('Peak Reverse Voltage(PRV)=%d V',PRV);