diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2621/CH7/EX7.2 | |
download | Scilab-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.2')
-rw-r--r-- | 2621/CH7/EX7.2/Ex7_2.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/2621/CH7/EX7.2/Ex7_2.sce b/2621/CH7/EX7.2/Ex7_2.sce new file mode 100644 index 000000000..168b0e55b --- /dev/null +++ b/2621/CH7/EX7.2/Ex7_2.sce @@ -0,0 +1,23 @@ +// Example 7.2
+clc;
+clear;
+close;
+// Given data
+format('v',6);
+f_H= 2*10^3;//cut-off frequency in Hz
+C= 0.033*10^-6;// in F
+R= 1/(2*%pi*f_H*C);// in Ω
+// 2*R= Rf*R1/(Rf+R1)= 0.586*R1^2/(1.586*R1) since Rf= 0.586*R1
+R1= 2*R*1.586/0.586;// in Ω
+R1= round(R1*10^-3);// in kΩ
+disp("The value of R1 is : "+string(R1)+" kΩ");
+disp("(The value of R1 may be taken of 15 kΩ)");
+R1= 15;// in kΩ
+Rf= R1*0.586;// in kΩ
+//Rf= floor(1.5*R1);// in kΩ
+disp("The value of Rf is : "+string(Rf)+" kΩ");
+disp("(The value of Rf may be taken as a pot of 10 kΩ)");
+
+
+
+
|