summaryrefslogtreecommitdiff
path: root/2609/CH7/EX7.7
diff options
context:
space:
mode:
Diffstat (limited to '2609/CH7/EX7.7')
-rwxr-xr-x2609/CH7/EX7.7/ex_7_7.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2609/CH7/EX7.7/ex_7_7.sce b/2609/CH7/EX7.7/ex_7_7.sce
new file mode 100755
index 000000000..3027c274a
--- /dev/null
+++ b/2609/CH7/EX7.7/ex_7_7.sce
@@ -0,0 +1,18 @@
+////Ex 7.7
+clc;
+clear;
+close;
+format('v',9);
+fo=800;//Hz
+D=60;//%(duty cycle)
+T=1/fo*1000;//ms
+VCC=10;//V
+tC=D*T/100;//ms
+tD=T-tC;//ms
+C=0.047;//micro F(choosen between 0.01<=C<=1)
+RB=tD*10^-3/(0.69*C*10^-6)/1000;//kohm
+RA=tC*10^-3*1.45/(C*10^-6)/1000-RB;//kohm
+disp("Design values are : ");
+disp(C,"Capacitance C(micro F)");
+disp(round(RA),"Resistance RA(kohm)");
+disp(round(RB),"Resistance RB(kohm)");