summaryrefslogtreecommitdiff
path: root/2609/CH7
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2609/CH7
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 '2609/CH7')
-rwxr-xr-x2609/CH7/EX7.1/ex_7_1.sce21
-rwxr-xr-x2609/CH7/EX7.2/ex_7_2.sce12
-rwxr-xr-x2609/CH7/EX7.3/ex_7_3.sce18
-rwxr-xr-x2609/CH7/EX7.4/ex_7_4.sce19
-rwxr-xr-x2609/CH7/EX7.5/ex_7_5.sce18
-rwxr-xr-x2609/CH7/EX7.6/ex_7_6.sce18
-rwxr-xr-x2609/CH7/EX7.7/ex_7_7.sce18
7 files changed, 124 insertions, 0 deletions
diff --git a/2609/CH7/EX7.1/ex_7_1.sce b/2609/CH7/EX7.1/ex_7_1.sce
new file mode 100755
index 000000000..71073c5b1
--- /dev/null
+++ b/2609/CH7/EX7.1/ex_7_1.sce
@@ -0,0 +1,21 @@
+////Ex 7.1
+clc;
+clear;
+close;
+format('v',9);
+th=4;//ms
+VCC=10;//V
+C=0.05;//micro F(choosen between 0.01<=C<=1)
+R=th*10^-3/(1.1*C*10^-6)/1000;//kohm
+C1=0.01;//micro F(assumed)
+C2=0.01;//micro F(choosen between 0.01<=C<=1)
+R2=th*10^-3/(10*C2*10^-6)/1000;//kohm
+C3=10;//micro F
+disp("Design values are : ");
+disp(C,"Capacitance C(micro F)");
+disp(R,"Resistance R(kohm)");
+disp(C1,"Capacitance C1(micro F)");
+disp(C2,"Capacitance C2(micro F)");
+disp(R2,"Resistance R2(kohm)");
+disp(C3,"Capacitance C3(micro F)");
+//Answer of R2 is wrong in the book.
diff --git a/2609/CH7/EX7.2/ex_7_2.sce b/2609/CH7/EX7.2/ex_7_2.sce
new file mode 100755
index 000000000..ce444cf44
--- /dev/null
+++ b/2609/CH7/EX7.2/ex_7_2.sce
@@ -0,0 +1,12 @@
+////Ex 7.2
+clc;
+clear;
+close;
+format('v',9);
+ft=2;//kHz
+C=0.01;//micro F
+T=1/ft;//ms
+n=3;//for divide-by-3 circuit
+th=(0.2+(n-1))*T;//ms
+R=th/(1.1*C);//kohm
+disp(R,"Value of Resistance R(kohm)");
diff --git a/2609/CH7/EX7.3/ex_7_3.sce b/2609/CH7/EX7.3/ex_7_3.sce
new file mode 100755
index 000000000..40d07a347
--- /dev/null
+++ b/2609/CH7/EX7.3/ex_7_3.sce
@@ -0,0 +1,18 @@
+////Ex 7.3
+clc;
+clear;
+close;
+format('v',9);
+fo=2;//kHz
+D=70;//%(duty cycle)
+T=1/fo;//ms
+VCC=12;//V
+tC=D*T/100;//ms
+tD=T-tC;//ms
+C=0.05;//micro F(choosen between 0.01<=C<=1)
+RB=tD*10^-3/(0.69*C*10^-6)/1000;//kohm
+RA=tC*10^-3/(0.69*C*10^-6)/1000-RB;//kohm
+disp("Design values are : ");
+disp(C,"Capacitance C(micro F)");
+disp(RA,"Resistance RA(kohm)");
+disp(RB,"Resistance RB(kohm)");
diff --git a/2609/CH7/EX7.4/ex_7_4.sce b/2609/CH7/EX7.4/ex_7_4.sce
new file mode 100755
index 000000000..d6b27132c
--- /dev/null
+++ b/2609/CH7/EX7.4/ex_7_4.sce
@@ -0,0 +1,19 @@
+////Ex 7.4
+clc;
+clear;
+close;
+format('v',9);
+fo=2;//kHz
+D=50;//%(duty cycle)
+T=1/fo;//ms
+VCC=10;//V
+tC=D*T/100;//ms
+tD=T-tC;//ms
+C=0.1;//micro F(choosen between 0.01<=C<=1)
+RB=tD*10^-3/(0.69*C*10^-6)/1000;//kohm
+RA=T*10^-3*1.45/(C*10^-6)/1000-RB;//kohm
+disp("Design values are : ");
+disp(C,"Capacitance C(micro F)");
+disp(RA,"Resistance RA(kohm)");
+disp(RB,"Resistance RB(kohm)");
+disp("RA & RB should be equal for 50% duty cycle.")
diff --git a/2609/CH7/EX7.5/ex_7_5.sce b/2609/CH7/EX7.5/ex_7_5.sce
new file mode 100755
index 000000000..c5951fb9d
--- /dev/null
+++ b/2609/CH7/EX7.5/ex_7_5.sce
@@ -0,0 +1,18 @@
+////Ex 7.5
+clc;
+clear;
+close;
+format('v',9);
+fo=2;//kHz
+D=40;//%(duty cycle)
+T=1/fo;//ms
+VCC=10;//V
+tC=D*T/100;//ms
+tD=T-tC;//ms
+C=0.22;//micro F(choosen between 0.01<=C<=1)
+RB=tD*10^-3/(0.69*C*10^-6)/1000;//kohm
+RA=T*10^-3*1.45/(C*10^-6)/1000-RB;//kohm
+disp("Design values are : ");
+disp(C,"Capacitance C(micro F)");
+disp(RA,"Resistance RA(kohm)");
+disp(round(RB),"Resistance RB(kohm)");
diff --git a/2609/CH7/EX7.6/ex_7_6.sce b/2609/CH7/EX7.6/ex_7_6.sce
new file mode 100755
index 000000000..7428d8615
--- /dev/null
+++ b/2609/CH7/EX7.6/ex_7_6.sce
@@ -0,0 +1,18 @@
+////Ex 7.6
+clc;
+clear;
+close;
+format('v',9);
+fo=700;//Hz
+D=50;//%(duty cycle)
+T=1/fo*1000;//ms
+VCC=10;//V
+tC=D*T/100;//ms
+tD=T-tC;//ms
+C=0.05;//micro F(choosen between 0.01<=C<=1)
+RB=tD*10^-3/(0.69*C*10^-6)/1000;//kohm
+RA=T*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)");
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)");