diff options
Diffstat (limited to '2621/CH7/EX7.2/Ex7_2.sce')
-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Ω)");
+
+
+
+
|