summaryrefslogtreecommitdiff
path: root/1514/CH16/EX16.3/16_3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1514/CH16/EX16.3/16_3.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1514/CH16/EX16.3/16_3.sce')
-rwxr-xr-x1514/CH16/EX16.3/16_3.sce30
1 files changed, 30 insertions, 0 deletions
diff --git a/1514/CH16/EX16.3/16_3.sce b/1514/CH16/EX16.3/16_3.sce
new file mode 100755
index 000000000..b08ca9721
--- /dev/null
+++ b/1514/CH16/EX16.3/16_3.sce
@@ -0,0 +1,30 @@
+//chapter 16
+//example 16.3
+//page 477
+clear all;
+clc ;
+//given
+Vr=2;//ripple voltage
+Eo=20;//supply voltage
+Eomin=Eo-1;
+Eomax=Eo+1;
+theta=65;//in degrees
+T2=4.17;//time for 90 degrees ms
+T3=3;//time for theta ms
+Il=40;//mA
+t2=1.17;//ms
+t1=T2+T3;
+C=Il*t1/Vr;
+printf("\nReservoir capacitor is %d microF,use standard value 150 microF",(C))
+//diode peak repetitive current
+Ifm=(Il*(t1+t2)/t2);//mA
+printf("\ndiode peak repetitive current IFM(rep)=%d mA",Ifm)
+//diode avg forward current
+Io=Il/2;
+printf("\ndiode average forward current(Io)=%d mA",Io);
+//diode maximum reverse voltage
+Vp=Eomax+2*0.7;//Vf=0.7V
+Er=Vp;
+printf("\nEr=%.1f V",Er);
+printf("\n1N4001 is required")
+