summaryrefslogtreecommitdiff
path: root/1223/CH7/EX7.2/Ex7_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1223/CH7/EX7.2/Ex7_2.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 '1223/CH7/EX7.2/Ex7_2.sce')
-rwxr-xr-x1223/CH7/EX7.2/Ex7_2.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/1223/CH7/EX7.2/Ex7_2.sce b/1223/CH7/EX7.2/Ex7_2.sce
new file mode 100755
index 000000000..d185319ee
--- /dev/null
+++ b/1223/CH7/EX7.2/Ex7_2.sce
@@ -0,0 +1,22 @@
+clear;
+clc;
+//Example 7.2
+Rs=1000;
+Rp=10000;
+Cs=1*10^-6;
+Cp=3*10^-12;
+Ts=(Rs+Rp)*Cs;
+printf('\nopen circuit time constant=%.3f s\n',Ts)
+Rs=1;//KOhm
+Rp=10;//KOhm
+Cp=3;//pF
+Tp=Cp*Rs*Rp/(Rs+Rp);
+printf('\nshort circuit time constant=%.3f ns\n',Tp)
+fL=1/(2*%pi*Ts);
+printf('\ncorner frequency fL=%.2f Hz\n',fL)
+Tp=2.73*10^-3;//microsec
+fH=1/(2*%pi*Tp);
+printf('\ncorner frequency fH=%.3f MHz\n',fH)
+fL=14.5*10^-6;//MHz
+fbw=fH-fL;
+printf('\nbandwidth =%.3fMHz\n',fbw)