summaryrefslogtreecommitdiff
path: root/2582/CH3/EX3.28/Ex3_28.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2582/CH3/EX3.28/Ex3_28.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 '2582/CH3/EX3.28/Ex3_28.sce')
-rwxr-xr-x2582/CH3/EX3.28/Ex3_28.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2582/CH3/EX3.28/Ex3_28.sce b/2582/CH3/EX3.28/Ex3_28.sce
new file mode 100755
index 000000000..771f63cdb
--- /dev/null
+++ b/2582/CH3/EX3.28/Ex3_28.sce
@@ -0,0 +1,19 @@
+//Ex 3.28
+clc;clear;close;
+f0=1*1000;//Hz
+BW=2*%pi*50;//Hz
+C=10;//nF
+Q=2*%pi*f0/BW;//quality factor
+R=1/(2*%pi*f0*C*10^-9)/1000;//kohm
+R1=10;//kohm(Assumed)
+RF=10;//kohm(Assumed)
+R3BYR2=2*Q-1;
+R2=10;//kohm(Assumed)
+R3=R3BYR2*R2;//kohm
+disp("Design values for KHN circuit :");
+disp(RF,R1,"Use Resistance R1 & RF in kohm : ");
+disp(R2,"Use Resistance R2 in kohm : ");
+disp(R3,"Resistance R3 in kohm : ");
+K=2-1/Q;//scaling factor
+CenterFrequency=K*Q;
+disp(CenterFrequency,"CenterFrequency ");