summaryrefslogtreecommitdiff
path: root/Working_Examples/215/CH16/EX16.12
diff options
context:
space:
mode:
authorSiddharth Agarwal2019-09-03 18:27:40 +0530
committerSiddharth Agarwal2019-09-03 18:27:40 +0530
commit8ac15bc5efafa2afc053c293152605b0e6ae60ff (patch)
treee1bc17aae137922b1ee990f17aae4a6cb15b7d87 /Working_Examples/215/CH16/EX16.12
parent52a477ec613900885e29c4a0b02806a415b4f83a (diff)
downloadXcos_block_examples-master.tar.gz
Xcos_block_examples-master.tar.bz2
Xcos_block_examples-master.zip
Xcos examples from textbooks and for blocksHEADmaster
Diffstat (limited to 'Working_Examples/215/CH16/EX16.12')
-rwxr-xr-xWorking_Examples/215/CH16/EX16.12/ex16_12.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/Working_Examples/215/CH16/EX16.12/ex16_12.sce b/Working_Examples/215/CH16/EX16.12/ex16_12.sce
new file mode 100755
index 0000000..54fcd0b
--- /dev/null
+++ b/Working_Examples/215/CH16/EX16.12/ex16_12.sce
@@ -0,0 +1,26 @@
+clc
+//Example 16.12
+disp('Given')
+disp('Bandwidth = 1M Hz and high frequency cutoff = 1.1M Hz')
+B=10^6;fH=1.1*10^6
+//B=fH-fL
+fL=fH-B
+printf("Low frequency cutoff fL= %d kHz \n",fL*10^-3);
+wL=2*%pi*fL
+printf("wL= %3.2f krad/s \n",wL*10^-3);
+wH=2*%pi*fH
+printf("wH= %3.3f Mrad/s \n",wH*10^-6);
+//Now we need to find values for R,L and C
+//Let X=1/LC
+B=2*%pi*(fH-fL)
+X=(wH-B/2)^2-(B^2/4)
+disp(X)
+disp('Let L=1H')
+L=1;
+C=1/(L*X)
+disp(C,'C=')
+//B=R/L
+R=L*B
+printf("R= %3.3f Mohm \n",R*10^-6);
+
+