summaryrefslogtreecommitdiff
path: root/2609/CH5/EX5.18
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2609/CH5/EX5.18
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 '2609/CH5/EX5.18')
-rwxr-xr-x2609/CH5/EX5.18/Ex5_18.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2609/CH5/EX5.18/Ex5_18.sce b/2609/CH5/EX5.18/Ex5_18.sce
new file mode 100755
index 000000000..d67d924ef
--- /dev/null
+++ b/2609/CH5/EX5.18/Ex5_18.sce
@@ -0,0 +1,20 @@
+//Ex 5.18
+clc;
+clear;
+close;
+format('v',5);
+fmin=200;//Hz
+fmax=1;//kHz
+fa=fmax;//kHz
+disp("Various design parameters are : ");
+Ci=0.05;//micro F////Chosen for the design
+disp(Ci,"Capacitance Ci(micro F)");
+format('v',4);
+fb=10*fa;//kHz
+Rf=1/(2*%pi*fa*10^3*Ci*10^-6)/1000;//kohm
+disp(Rf,"Resistance Rf(kohm)");
+Ri=1/(2*%pi*fb*10^3*Ci*10^-6);//ohm
+disp(Ri,"Resistance Ri(ohm)");
+format('v',6);
+Cf=Ri*Ci/(Rf*10^3);//micro F
+disp(Cf,"Capacitance Cf(micro F)");