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 /1658/CH24 | |
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 '1658/CH24')
-rwxr-xr-x | 1658/CH24/EX24.1/Ex24_1.sce | 6 | ||||
-rwxr-xr-x | 1658/CH24/EX24.2/Ex24_2.sce | 6 | ||||
-rwxr-xr-x | 1658/CH24/EX24.3/Ex24_3.sce | 6 | ||||
-rwxr-xr-x | 1658/CH24/EX24.4/Ex24_4.sce | 5 | ||||
-rwxr-xr-x | 1658/CH24/EX24.5/Ex24_5.sce | 6 | ||||
-rwxr-xr-x | 1658/CH24/EX24.8/Ex24_8.sce | 13 | ||||
-rwxr-xr-x | 1658/CH24/EX24.8/example24_8.png | bin | 0 -> 48390 bytes | |||
-rwxr-xr-x | 1658/CH24/EX24.9/24_9.png | bin | 0 -> 48211 bytes | |||
-rwxr-xr-x | 1658/CH24/EX24.9/Ex24_9.sce | 43 |
9 files changed, 85 insertions, 0 deletions
diff --git a/1658/CH24/EX24.1/Ex24_1.sce b/1658/CH24/EX24.1/Ex24_1.sce new file mode 100755 index 000000000..63dc02d45 --- /dev/null +++ b/1658/CH24/EX24.1/Ex24_1.sce @@ -0,0 +1,6 @@ +
+clc;
+Pi=5;
+Po=100;
+G=10*log10(Po/Pi);
+disp('dB',G*1,"G=");
diff --git a/1658/CH24/EX24.2/Ex24_2.sce b/1658/CH24/EX24.2/Ex24_2.sce new file mode 100755 index 000000000..3b929a6f2 --- /dev/null +++ b/1658/CH24/EX24.2/Ex24_2.sce @@ -0,0 +1,6 @@ +
+clc;
+Pi=5*10**-3;
+Po=1;
+G=10*log10(Po/Pi);
+disp('dB',G*1,"G=");//ans given in the book is wrong
diff --git a/1658/CH24/EX24.3/Ex24_3.sce b/1658/CH24/EX24.3/Ex24_3.sce new file mode 100755 index 000000000..fa250f9c0 --- /dev/null +++ b/1658/CH24/EX24.3/Ex24_3.sce @@ -0,0 +1,6 @@ +
+clc;
+Pi=20*10**-6;
+Po=100*10**-6;
+G=10*log10(Po/Pi);
+disp('dB',G*1,"G=");
diff --git a/1658/CH24/EX24.4/Ex24_4.sce b/1658/CH24/EX24.4/Ex24_4.sce new file mode 100755 index 000000000..46a32a729 --- /dev/null +++ b/1658/CH24/EX24.4/Ex24_4.sce @@ -0,0 +1,5 @@ +
+clc;
+Po=25;
+G=10*log10(Po/(1*10**-3));
+disp('dB',G*1,"G=");
diff --git a/1658/CH24/EX24.5/Ex24_5.sce b/1658/CH24/EX24.5/Ex24_5.sce new file mode 100755 index 000000000..8f8e48bbd --- /dev/null +++ b/1658/CH24/EX24.5/Ex24_5.sce @@ -0,0 +1,6 @@ +
+clc;
+V2=100;
+V1=25;
+G=10*log10(V2/V1);
+disp('dB',G*1,"G=");
diff --git a/1658/CH24/EX24.8/Ex24_8.sce b/1658/CH24/EX24.8/Ex24_8.sce new file mode 100755 index 000000000..ebed8ea7c --- /dev/null +++ b/1658/CH24/EX24.8/Ex24_8.sce @@ -0,0 +1,13 @@ + +clc; +R=5*10**3; +C=0.1*10**-6; +f1=1/(2*%pi*R*C); +disp('HZ',f1*1,"f1="); +i=-21:3:0; +plot2d(i); +a=gca() //get the current axes +a.box="off"; +a.x_location="top"; +xlabel("f (log scale)"); +ylabel( "Av(dB)"); diff --git a/1658/CH24/EX24.8/example24_8.png b/1658/CH24/EX24.8/example24_8.png Binary files differnew file mode 100755 index 000000000..ba4172963 --- /dev/null +++ b/1658/CH24/EX24.8/example24_8.png diff --git a/1658/CH24/EX24.9/24_9.png b/1658/CH24/EX24.9/24_9.png Binary files differnew file mode 100755 index 000000000..4e7a83f8d --- /dev/null +++ b/1658/CH24/EX24.9/24_9.png diff --git a/1658/CH24/EX24.9/Ex24_9.sce b/1658/CH24/EX24.9/Ex24_9.sce new file mode 100755 index 000000000..773f33809 --- /dev/null +++ b/1658/CH24/EX24.9/Ex24_9.sce @@ -0,0 +1,43 @@ +
+clc;
+RC=4*10**3;
+R1=40*10**3;
+R2=10*10**3;
+RE=2*10**3;
+RS=1*10**3;
+RL=2.2*10**3;
+CS=10*10**-6;
+CE=20*10**-6;
+CC=1*10**-6;
+B=100;
+VCC=20;
+VB=(R2*VCC)/(R2+R1);
+IE=(VB-0.7)/RE;
+re=(26*10**-3)/IE;
+B*re;
+vo=-(RC*RL)/(RC+RL);
+Av=vo/re;
+a=(R1*R2)/(R1+R2);
+Ri=(a*(B*re))/(a+(B*re));
+Rs=1*10**3;
+vibyvs=Ri/(Ri+Rs);
+Avs=Av*vibyvs;
+a=(R1*R2)/(R1+R2);
+Ri=(a*(B*re))/(a+(B*re));
+fLS=1/(2*%pi*(Rs+Ri)*CS);
+disp('HZ',fLS*1,"fLS=");
+fLC=1/(2*%pi*(RC+RL)*CC);
+disp('HZ',fLC*1,"fLC=");
+a=(R1*R2)/(R1+R2);
+RS=(a*RS)/(a+RS);
+b=(RS/B+re);
+Re=(RE*b)/(RE+b);
+fLE=1/(2*%pi*Re*CE);
+disp('HZ',fLE*1,"fLE=");
+i=-21:3:0;
+plot2d(i);
+a=gca() //get the current axes
+a.box="off";
+a.x_location="top";
+xlabel("f (log scale)");
+ylabel( "Av(dB)");
|