diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /317/CH23/EX23.8/example8.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '317/CH23/EX23.8/example8.sce')
-rwxr-xr-x | 317/CH23/EX23.8/example8.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/317/CH23/EX23.8/example8.sce b/317/CH23/EX23.8/example8.sce new file mode 100755 index 000000000..8f30e36ef --- /dev/null +++ b/317/CH23/EX23.8/example8.sce @@ -0,0 +1,23 @@ +// find frequency of output and duty cycle
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 23-8, page 922
+
+clear;clc; close;
+
+// Given data
+C=47*10^-9;// capacitance in faraday
+R1=75*10^3;// resistance in ohms
+R2=30*10^3;// resistance in ohms
+
+// Calculations
+f=1.44/((R1+2*R2)*C);// frequency in hertz
+D=(R1+R2)/(R1+(2*R2));// duty cycle
+disp("hertz",f,"frequency in hertz=")
+disp("%",D,"duty cycle")
+
+// Result
+// Frequency of output signal is 227 hertz
+// duty cycle is 0.778
\ No newline at end of file |