summaryrefslogtreecommitdiff
path: root/165/CH15/EX15.6
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /165/CH15/EX15.6
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '165/CH15/EX15.6')
-rw-r--r--165/CH15/EX15.6/ex15_6.sce31
1 files changed, 31 insertions, 0 deletions
diff --git a/165/CH15/EX15.6/ex15_6.sce b/165/CH15/EX15.6/ex15_6.sce
new file mode 100644
index 000000000..885c7b231
--- /dev/null
+++ b/165/CH15/EX15.6/ex15_6.sce
@@ -0,0 +1,31 @@
+//Example 15.6
+clc;
+
+fc=1000; //in Hz
+Q=5;
+Avo=8;
+C=0.01*10^-6; //Assumed
+
+R1=Q*invr(2*%pi*fc*C*Avo);
+//Assume a std value
+R1=10000;
+
+R2=Q*invr(2*%pi*fc*C*(2*Q^2-Avo));
+//Assume a std Value
+R2=2000;
+
+R3=Q*invr(%pi*fc*C);
+//Assume a std value
+R3=150*10^3;
+
+//Centre frequency is changed to 1.5 kHz
+fc1=1500;
+R21=R2*(fc/fc1)^2;
+//Assume a std value
+R21=820;
+
+printf('\nValue of Capacitors C1, C2 & C3 = %.2f uF\n',C*10^6)
+printf('\nValue of Resistor R1 = %.2f k ohm\n',R1/10^3)
+printf('\nValue of Resistor R2 = %.2f k ohm\n',R2/10^3)
+printf('\nValue of Resistor R3 = %.2f k ohm\n',R3/10^3)
+printf('\nValue of Resistor R2 after changing centre frequency to 1.5 kHz= %.2f ohm\n',R21) \ No newline at end of file