summaryrefslogtreecommitdiff
path: root/2882/CH3/EX3.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2882/CH3/EX3.5
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 '2882/CH3/EX3.5')
-rwxr-xr-x2882/CH3/EX3.5/Ex3_5.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2882/CH3/EX3.5/Ex3_5.sce b/2882/CH3/EX3.5/Ex3_5.sce
new file mode 100755
index 000000000..818c0ff11
--- /dev/null
+++ b/2882/CH3/EX3.5/Ex3_5.sce
@@ -0,0 +1,17 @@
+//Tested on Windows 7 Ultimate 32-bit
+//Chapter 3 Semiconductor Diodes and Miscellaneous Devices Pg no. 90 and 91
+clear;
+clc;
+
+//Given Data
+//Taken as in Example 3.4
+esp=50;//Input signal voltage magnitude in volts peak
+esf=314/(2*%pi);//Input signal frequncy in hertz
+Vr_to_Vdc=6/100;//Ratio of peak to peak ripple voltage to d.c. output voltage
+
+//Solution
+
+//Using figure E3.5
+
+e0av=esp*(1-Vr_to_Vdc/2);//average value of d.c. output voltage in volts
+printf("The average value of d.c. output voltage e0av = %.1f Volts",e0av);