diff options
Diffstat (limited to '3682/CH8')
-rw-r--r-- | 3682/CH8/EX8.1/Ex8_1.sce | 16 | ||||
-rw-r--r-- | 3682/CH8/EX8.2/Ex8_2.sce | 29 |
2 files changed, 45 insertions, 0 deletions
diff --git a/3682/CH8/EX8.1/Ex8_1.sce b/3682/CH8/EX8.1/Ex8_1.sce new file mode 100644 index 000000000..9638c817b --- /dev/null +++ b/3682/CH8/EX8.1/Ex8_1.sce @@ -0,0 +1,16 @@ +// Exa 8.1
+
+clc;
+clear;
+
+// Given data
+
+// Monostable multivibrator
+R=100*10^3; // Ω
+T=100*10^-3; // Time delay (sec)
+
+// Solution
+printf(' Using Eqn.(8.2) on page no.313, we get,');
+//T= 1.1*R*C;
+C=T/(1.11*R);
+printf(' C = %.1f μF.\n From the graph of Fig.8.6 on page no. 314, the value of C is found to be 0.9 μF also.\n',C*10^6);
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));
|