summaryrefslogtreecommitdiff
path: root/1382/CH5/EX5.8/EX_5_8.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1382/CH5/EX5.8/EX_5_8.sce
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 '1382/CH5/EX5.8/EX_5_8.sce')
-rwxr-xr-x1382/CH5/EX5.8/EX_5_8.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1382/CH5/EX5.8/EX_5_8.sce b/1382/CH5/EX5.8/EX_5_8.sce
new file mode 100755
index 000000000..78e55c07b
--- /dev/null
+++ b/1382/CH5/EX5.8/EX_5_8.sce
@@ -0,0 +1,16 @@
+// Example 5.8:3-db frequency and bandwidth
+clc;
+clear;
+close;
+Cp=1;//PARALLEL capacitance IN PICO FARAD
+Cs=2;//series capacitance IN micro FARAD
+rs=1;//series resistance in killo ohms
+rp=10;//PARALLEL resistance in killo ohms
+ts= ((rs+rp)*10^3*Cp*10^-12);//time constant
+tp= ((rs*rp)/(rs+rp)*10^3*Cp*10^-12);//time constant
+fl= (1/(2*%pi*ts))*10^-6;//lower frequency in mega hertz
+fh= (1/(2*%pi*tp))*10^-6;//upper frequency in mega hertz
+BW=fh-fl;//bandwidth in mega hertz
+disp(fl,"lower 3 dB frequency in mega hertz")
+disp(fh,"upper 3 dB frequency in mega hertz")
+disp(BW,"bandwidth in mega hertz is")