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 /74/CH7 | |
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 '74/CH7')
-rwxr-xr-x | 74/CH7/EX7.1/example1_sce.sce | 12 | ||||
-rwxr-xr-x | 74/CH7/EX7.2/example2_sce.sce | 12 | ||||
-rwxr-xr-x | 74/CH7/EX7.3/example3_sce.sce | 12 | ||||
-rwxr-xr-x | 74/CH7/EX7.4/example4_sce.sce | 15 | ||||
-rwxr-xr-x | 74/CH7/EX7.5/example5_sce.sce | 12 | ||||
-rwxr-xr-x | 74/CH7/EX7.6/example6_sce.sce | 10 | ||||
-rwxr-xr-x | 74/CH7/EX7.7/example7_sce.sce | 13 |
7 files changed, 86 insertions, 0 deletions
diff --git a/74/CH7/EX7.1/example1_sce.sce b/74/CH7/EX7.1/example1_sce.sce new file mode 100755 index 000000000..028fce19b --- /dev/null +++ b/74/CH7/EX7.1/example1_sce.sce @@ -0,0 +1,12 @@ +//chapter 7
+//example 7.1
+//page 259
+R1=86*10^3;R2=100*10^3;
+Vsat=15;Rf=100*10^3;
+C=.1*10^-6;
+Vut=(R1*Vsat)/(R1+R2);
+disp(Vut)// upper threshold
+Vlt=(R1*(-Vsat))/(R1+R2);
+disp(Vlt)//lower threshold
+fo=1/(2*Rf*C)*log((Vsat-Vlt)/(Vsat-Vut));
+disp(fo)
\ No newline at end of file diff --git a/74/CH7/EX7.2/example2_sce.sce b/74/CH7/EX7.2/example2_sce.sce new file mode 100755 index 000000000..e2bba856c --- /dev/null +++ b/74/CH7/EX7.2/example2_sce.sce @@ -0,0 +1,12 @@ +//chapter7
+// example 7.2
+//page 259
+R2=%s
+R1=.86*R2
+Vsat=%s
+Rf=%s;
+C=%s;
+y=(Vsat-(R1*(-Vsat))/(R1+R2))/(Vsat-(R1*Vsat)/(R1+R2))
+g=2.72;//g=y=5.0592/1.86
+T=2*Rf*C*log(g)// Rf=C=%s
+disp(T)// %s*%s=s same as 2*Rf*C=2s
\ No newline at end of file diff --git a/74/CH7/EX7.3/example3_sce.sce b/74/CH7/EX7.3/example3_sce.sce new file mode 100755 index 000000000..bb3c6c067 --- /dev/null +++ b/74/CH7/EX7.3/example3_sce.sce @@ -0,0 +1,12 @@ +// chapter 7
+// example 7.3
+// page 276
+R3=6000;R4=2000;//given
+R=5100;
+C=.001*10^-6;
+A=1+(R3/R4);
+if A>3 then
+ f=1/(2*3.14*R*C)
+ disp(f)//frequency of oscillation
+ end
+
\ No newline at end of file diff --git a/74/CH7/EX7.4/example4_sce.sce b/74/CH7/EX7.4/example4_sce.sce new file mode 100755 index 000000000..b458381d5 --- /dev/null +++ b/74/CH7/EX7.4/example4_sce.sce @@ -0,0 +1,15 @@ +//chapter 7
+//example 7.4
+//page 277
+C=.05*10^-6;// let choose capacitor C<1uf
+C1=C;C2=C;
+f=1000;
+R=1/(2*3.14*f*C);
+disp(R)
+//for proper operation gain of non inverting op-amp must be 3
+R4=%s
+R3=R4*(3-1);//1+R3/R4=3
+disp(R3)
+R4=10000;// assume
+R3=2*R4
+disp(R3,R4)
\ No newline at end of file diff --git a/74/CH7/EX7.5/example5_sce.sce b/74/CH7/EX7.5/example5_sce.sce new file mode 100755 index 000000000..cad2ac0cd --- /dev/null +++ b/74/CH7/EX7.5/example5_sce.sce @@ -0,0 +1,12 @@ +//chapter 7
+//example 7.5
+// page 280
+Vsat=15;
+Vout=7.5;
+fo=5000;
+R2=10*10^3;//let assume (use a 50k POT)
+R3=(2*Vsat*R2)/Vout;
+disp(R3)
+C=.01*10^-6;//let assume
+R1=R3/(4*C*R2*fo);//fo=R3/4R1C1R2
+disp(R1)
\ No newline at end of file diff --git a/74/CH7/EX7.6/example6_sce.sce b/74/CH7/EX7.6/example6_sce.sce new file mode 100755 index 000000000..a5f8203c0 --- /dev/null +++ b/74/CH7/EX7.6/example6_sce.sce @@ -0,0 +1,10 @@ +//chapter 7
+//example 7.6
+//page 285, figure 7.40
+R1=10000;R2=5100;R3=10000;
+C1=.001*10^-6;
+V=10;
+V5=(V*R3)/(R3+R2);
+disp(V5)
+fo=2.4*(V-V5)/(R1*C1*V);
+disp(fo)
\ No newline at end of file diff --git a/74/CH7/EX7.7/example7_sce.sce b/74/CH7/EX7.7/example7_sce.sce new file mode 100755 index 000000000..436253c2d --- /dev/null +++ b/74/CH7/EX7.7/example7_sce.sce @@ -0,0 +1,13 @@ +//chapter 7
+//example 7.7
+// page 286,figure 7.42
+R1=10000;R2=10000;
+Vd1=.7;//diode drop
+Vsat=12;//supply voltage
+TP=2*10^-6;
+C=.5*10^-9;
+B=R1/(R1+R2)
+//T=RCln((1+Vd1/Vsat)/(1-B))
+k=((1+(Vd1/Vsat))/(1-B))
+h=log(k)
+R=TP/(C*h)
\ No newline at end of file |