diff options
Diffstat (limited to '929/CH3/EX3.9')
-rwxr-xr-x | 929/CH3/EX3.9/Example3_9.sce | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/929/CH3/EX3.9/Example3_9.sce b/929/CH3/EX3.9/Example3_9.sce new file mode 100755 index 000000000..cfc61ee2e --- /dev/null +++ b/929/CH3/EX3.9/Example3_9.sce @@ -0,0 +1,42 @@ +//Example 3.9
+
+clear;
+
+clc;
+
+//Applying Thevenin's theorem
+//Anew=(R1B/(R1A+R1B))Aold and R1A || R1B =R1
+
+AnewdB=0;
+
+Anew=10^AnewdB;
+
+C=10*10^(-9);
+
+Aold=2.8;//Obtained from Example 3.8
+
+RA=10*10^3;//Assumed value of RA
+
+RB=17.8*10^3;
+
+R1=15915.494;//obtained from Example 3.8
+
+R2=R1;
+
+R1A=R1*(Aold/Anew);
+
+R1B=R1/(1-(Anew/Aold));
+
+printf("Designed Second Order Low Pass Filter for 0dB dc gain :");
+
+printf("\nR1A=%.2f kohms",R1A*10^(-3));
+
+printf("\nR1B=%.2f kohms",R1B*10^(-3));
+
+printf("\nR2=%.2f kohms",R2*10^(-3));
+
+printf("\nRA=%.2f kohms",RA*10^(-3));
+
+printf("\nRB=%.2f kohms",RB*10^(-3));
+
+printf("\nC=%.2f nF",C*10^9);
\ No newline at end of file |