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.5 | |
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.5')
-rw-r--r-- | 2621/CH7/EX7.5/Ex7_5.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/2621/CH7/EX7.5/Ex7_5.sce b/2621/CH7/EX7.5/Ex7_5.sce new file mode 100644 index 000000000..7953a5cb9 --- /dev/null +++ b/2621/CH7/EX7.5/Ex7_5.sce @@ -0,0 +1,24 @@ +// Example 7.5
+clc;
+clear;
+close;
+// Given data
+format('v',5);
+alpha= 1.414;// passband
+C= 0.01*10^-6;// in F (assume)
+fc= 1*10^3;// in Hz
+dc_gain= 6;
+R= 1/(2*%pi*C*fc);// in Ω
+R= R*10^-3;// in kΩ
+disp("The value of R is : "+string(R)+" kΩ (standard value 15 kΩ)");
+R= 15;// in kΩ
+Af= 3-alpha;// and Af= 1+Rf/R1 or
+// Rf= (Af-1)*R1 (i)
+// 2*R= Rf || R1, hence from (i)
+R1= 2*R*Af/(Af-1);// in kΩ
+disp("The value of R1 is : "+string(R1)+" kΩ (standard value 82 kΩ)");
+R1= 82;// in kΩ
+Rf= (Af-1)*R1;// in kΩ
+disp("The value of Rf is : "+string(Rf)+" kΩ (standard value 47 kΩ)");
+Aamp= dc_gain/Af;
+disp("The value of Aamp is : "+string(Aamp));
|