summaryrefslogtreecommitdiff
path: root/2621/CH7/EX7.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2621/CH7/EX7.1
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 '2621/CH7/EX7.1')
-rw-r--r--2621/CH7/EX7.1/Ex7_1.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/2621/CH7/EX7.1/Ex7_1.sce b/2621/CH7/EX7.1/Ex7_1.sce
new file mode 100644
index 000000000..f365ee762
--- /dev/null
+++ b/2621/CH7/EX7.1/Ex7_1.sce
@@ -0,0 +1,21 @@
+// Example 7.1
+clc;
+clear;
+close;
+// Given data
+format('v',6);
+f_H= 2*10^3;//cut-off frequency in Hz
+C= 0.01*10^-6;// in F
+passband_gain= 2.5;
+R= 1/(2*%pi*f_H*C);// in Ω
+R= 8.2;// in kΩ (standard value)
+// 1+Rf/R1= passband_gain or Rf should be equal to 1.5*R1 since Rf||R1= R
+R1= passband_gain/1.5*R;// in kΩ
+disp("The value of R1 is : "+string(R1)+" kΩ");
+disp("(Standard value 15 kΩ)");
+Rf= floor(1.5*R1);// in kΩ
+disp("The value of Rf is : "+string(Rf)+" kΩ");
+
+
+
+