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 /1382/CH5/EX5.9/EX_5_9.SCE | |
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 '1382/CH5/EX5.9/EX_5_9.SCE')
-rwxr-xr-x | 1382/CH5/EX5.9/EX_5_9.SCE | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/1382/CH5/EX5.9/EX_5_9.SCE b/1382/CH5/EX5.9/EX_5_9.SCE new file mode 100755 index 000000000..3ac76be3a --- /dev/null +++ b/1382/CH5/EX5.9/EX_5_9.SCE @@ -0,0 +1,23 @@ +// Example 5.9: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
+ts= (rs+rp)*10^3*Cp*10^-12;//open circuit time constant
+tp= ((rs*rp)/(rs+rp))*10^3*Cp*10^-12;//short time constant
+Ts= (rp)/(rs+rp)'//midband transfer function
+Tsdb= 20*(log10(Ts));//midband transfer function in db
+disp(ts,"open circuit time constant is")
+disp(tp,"short circuit time constant is ")
+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")
+disp(Tsdb,"midband transfer function in db is")
|