summaryrefslogtreecommitdiff
path: root/3682/CH8/EX8.2
diff options
context:
space:
mode:
Diffstat (limited to '3682/CH8/EX8.2')
-rw-r--r--3682/CH8/EX8.2/Ex8_2.sce29
1 files changed, 29 insertions, 0 deletions
diff --git a/3682/CH8/EX8.2/Ex8_2.sce b/3682/CH8/EX8.2/Ex8_2.sce
new file mode 100644
index 000000000..243f10c1d
--- /dev/null
+++ b/3682/CH8/EX8.2/Ex8_2.sce
@@ -0,0 +1,29 @@
+// Exa 8.2
+
+clc;
+clear;
+
+// Given data
+
+// Astable multivibrator
+Ra=6.8*10^3; // Ω
+Rb=3.3*10^3; // Ω
+C=0.1*10^-6; // μF
+
+// Solution
+
+disp("By using Eq. (8.11) on page no. 320 we get, tHigh as");
+
+tHigh=0.69*(Ra+Rb)*C; // Time required to charge from 1/3 Vcc to 2/3 Vcc
+printf(' tHIGH = %.1f mSec. \n',tHigh*1000);
+disp("By using Eq. (8.12) on page no. 320 we get, tLow as");
+
+tLow=0.69*(Rb)*C; // TIme required to discharge from 2/3 Vcc to 1/3 Vcc
+printf(' tLOw = %.2f mSec. \n',tLow*1000);
+
+disp("By using Eq. (8.13) on page no. 320 we get, free running frequency as");
+f= 1.45/((Ra+2*Rb)*C);
+printf(' f = %.2f kHz. \n\n',f/1000);
+
+D= Rb/(Ra+2*Rb);
+printf(' The duty cycle D = %.2f (%d percent).\n ' ,D,round(D*100));