From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3630/CH17/EX17.1/Ex17_1.sce | 5 +++++ 3630/CH17/EX17.10/Ex17_10.sce | 13 +++++++++++++ 3630/CH17/EX17.11/Ex17_11.sce | 6 ++++++ 3630/CH17/EX17.12/Ex17_12.sce | 7 +++++++ 3630/CH17/EX17.13/Ex17_13.sce | 6 ++++++ 3630/CH17/EX17.14/Ex17_14.sce | 10 ++++++++++ 3630/CH17/EX17.15/Ex17_15.sce | 6 ++++++ 3630/CH17/EX17.2/Ex17_2.sce | 5 +++++ 3630/CH17/EX17.3/Ex17_3.sce | 10 ++++++++++ 3630/CH17/EX17.4/Ex17_4.sce | 10 ++++++++++ 3630/CH17/EX17.5/Ex17_5.sce | 7 +++++++ 3630/CH17/EX17.6/Ex17_6.sce | 18 ++++++++++++++++++ 3630/CH17/EX17.7/Ex17_7.sce | 9 +++++++++ 3630/CH17/EX17.8/Ex17_8.sce | 11 +++++++++++ 3630/CH17/EX17.9/Ex17_9.sce | 12 ++++++++++++ 15 files changed, 135 insertions(+) create mode 100644 3630/CH17/EX17.1/Ex17_1.sce create mode 100644 3630/CH17/EX17.10/Ex17_10.sce create mode 100644 3630/CH17/EX17.11/Ex17_11.sce create mode 100644 3630/CH17/EX17.12/Ex17_12.sce create mode 100644 3630/CH17/EX17.13/Ex17_13.sce create mode 100644 3630/CH17/EX17.14/Ex17_14.sce create mode 100644 3630/CH17/EX17.15/Ex17_15.sce create mode 100644 3630/CH17/EX17.2/Ex17_2.sce create mode 100644 3630/CH17/EX17.3/Ex17_3.sce create mode 100644 3630/CH17/EX17.4/Ex17_4.sce create mode 100644 3630/CH17/EX17.5/Ex17_5.sce create mode 100644 3630/CH17/EX17.6/Ex17_6.sce create mode 100644 3630/CH17/EX17.7/Ex17_7.sce create mode 100644 3630/CH17/EX17.8/Ex17_8.sce create mode 100644 3630/CH17/EX17.9/Ex17_9.sce (limited to '3630/CH17') diff --git a/3630/CH17/EX17.1/Ex17_1.sce b/3630/CH17/EX17.1/Ex17_1.sce new file mode 100644 index 000000000..4f30f5bde --- /dev/null +++ b/3630/CH17/EX17.1/Ex17_1.sce @@ -0,0 +1,5 @@ +clc; +f0=1000000; +BW=40000; +Q=f0/BW; +disp('V',Q,"Q="); diff --git a/3630/CH17/EX17.10/Ex17_10.sce b/3630/CH17/EX17.10/Ex17_10.sce new file mode 100644 index 000000000..4ad8ffb87 --- /dev/null +++ b/3630/CH17/EX17.10/Ex17_10.sce @@ -0,0 +1,13 @@ +clc; +f0=100; +Q=1.02; +BW=floor(f0/Q); +fc1=ceil(f0-BW/2); +fc2=floor(f0+BW/2); +fc11=floor(f0*((1+(1/((2*Q)^2)))^0.5)-BW/2); +fc22=floor((f0*(1+(1/((2*Q)^2)))^0.5)+BW/2); +Fc1=((fc11-fc1)/fc11)*100; +Fc2=((fc22-fc2)/fc22)*100; +disp('%',Fc1,"Fc1=");//The answers vary due to round off error +disp('%',Fc2,"Fc2=");//The answers vary due to round off error + diff --git a/3630/CH17/EX17.11/Ex17_11.sce b/3630/CH17/EX17.11/Ex17_11.sce new file mode 100644 index 000000000..93585963b --- /dev/null +++ b/3630/CH17/EX17.11/Ex17_11.sce @@ -0,0 +1,6 @@ +clc; +rf=40000; +r2=10000; +AcL=rf/(2*r2); +disp('%',AcL,"AcL=");//The answers vary due to round off error + diff --git a/3630/CH17/EX17.12/Ex17_12.sce b/3630/CH17/EX17.12/Ex17_12.sce new file mode 100644 index 000000000..6a6865426 --- /dev/null +++ b/3630/CH17/EX17.12/Ex17_12.sce @@ -0,0 +1,7 @@ +clc; +L=0.001; +C=0.0000000001; +f0=1/(2*3.14*(L*C)^0.5); +disp('Hz',floor(f0/1000),"f0=");//The answers vary due to round off error + + diff --git a/3630/CH17/EX17.13/Ex17_13.sce b/3630/CH17/EX17.13/Ex17_13.sce new file mode 100644 index 000000000..7bc16f629 --- /dev/null +++ b/3630/CH17/EX17.13/Ex17_13.sce @@ -0,0 +1,6 @@ +clc; +XL=3160; +Rw=25; +Q=XL/Rw; +disp(' ',Q,"Q=");//The answers vary due to round off error + diff --git a/3630/CH17/EX17.14/Ex17_14.sce b/3630/CH17/EX17.14/Ex17_14.sce new file mode 100644 index 000000000..38c198a55 --- /dev/null +++ b/3630/CH17/EX17.14/Ex17_14.sce @@ -0,0 +1,10 @@ +clc; +Q=126; +Rw=25; +Rp=(Q^2)*Rw; +XL=3160; +rc=20000; +QL=rc/XL; +disp(' ',ceil(Rp/1000),"Rp=");//The answers vary due to round off error +disp(' ',QL,"QL=");//The answers vary due to round off error + diff --git a/3630/CH17/EX17.15/Ex17_15.sce b/3630/CH17/EX17.15/Ex17_15.sce new file mode 100644 index 000000000..4730e5664 --- /dev/null +++ b/3630/CH17/EX17.15/Ex17_15.sce @@ -0,0 +1,6 @@ +clc; +f0=503000; +QL=6.33; +BW=f0/QL; +disp('khz',BW,"BW=");//The answers vary due to round off error + diff --git a/3630/CH17/EX17.2/Ex17_2.sce b/3630/CH17/EX17.2/Ex17_2.sce new file mode 100644 index 000000000..4f30f5bde --- /dev/null +++ b/3630/CH17/EX17.2/Ex17_2.sce @@ -0,0 +1,5 @@ +clc; +f0=1000000; +BW=40000; +Q=f0/BW; +disp('V',Q,"Q="); diff --git a/3630/CH17/EX17.3/Ex17_3.sce b/3630/CH17/EX17.3/Ex17_3.sce new file mode 100644 index 000000000..3e8af8af7 --- /dev/null +++ b/3630/CH17/EX17.3/Ex17_3.sce @@ -0,0 +1,10 @@ +fc1=960000; +fc2=1440000; +BW=480000; +f0=ceil((fc1*fc2)^0.5); +fave=(fc1+fc2)/2; +Q=f0/BW; +disp('kHz',f0/1000,"f0="); +disp('kHz',fave/1000,"fave="); +disp(' ',Q,"Q=");//The answers vary due to round off error in f0 + diff --git a/3630/CH17/EX17.4/Ex17_4.sce b/3630/CH17/EX17.4/Ex17_4.sce new file mode 100644 index 000000000..f372c4585 --- /dev/null +++ b/3630/CH17/EX17.4/Ex17_4.sce @@ -0,0 +1,10 @@ +clc; +r1=33000; +c1=0.0000001; +fc=1/(2*3.14*r1*c1); +rf1=4700; +rf2=9100; +AcL=(rf1/rf2)+1; +disp('Hz',fc,"fc="); +disp('',AcL,"AcL");//The answers vary due to round off error in f0 + diff --git a/3630/CH17/EX17.5/Ex17_5.sce b/3630/CH17/EX17.5/Ex17_5.sce new file mode 100644 index 000000000..7e4ecec6f --- /dev/null +++ b/3630/CH17/EX17.5/Ex17_5.sce @@ -0,0 +1,7 @@ +clc; +r1=10000; +r2=10000; +c1=0.000000015; +c2=0.000000033; +fc=floor(1/(2*3.14*(r1*r2*c1*c2)^0.5)); +disp('Hz',fc,"fc="); diff --git a/3630/CH17/EX17.6/Ex17_6.sce b/3630/CH17/EX17.6/Ex17_6.sce new file mode 100644 index 000000000..fb233b38c --- /dev/null +++ b/3630/CH17/EX17.6/Ex17_6.sce @@ -0,0 +1,18 @@ +clc; +r1=10000; +r2=10000; +c1=0.00000001; +c2=0.00000002; +fc2=ceil(1/(2*3.14*(r1*r2*c1*c2)^0.5)); +r3=15000; +r4=30000; +c3=0.00000001; +c4=0.00000001; +fc1=1/(2*3.14*(r3*r4*c3*c4)^0.5); +BW=(fc2-fc1); +f0=(fc2*fc1)^0.5; +Q=(f0/BW); +disp('Hz',fc2,"fc2=");//The answers vary due to round off error +disp('Hz',fc1,"fc1=");//The answers vary due to round off error +disp('Hz',BW,"BW=");//The answers vary due to round off error +disp(' ',Q,"Q=");//The answers vary due to round off error diff --git a/3630/CH17/EX17.7/Ex17_7.sce b/3630/CH17/EX17.7/Ex17_7.sce new file mode 100644 index 000000000..7a07c1432 --- /dev/null +++ b/3630/CH17/EX17.7/Ex17_7.sce @@ -0,0 +1,9 @@ +clc; +r1=10000; +r2=10000; +rf=40000; +req=(r1*r2)/(r1+r2); +c1=0.0000001; +c2=0.000000068; +f0=ceil(1/(2*3.14*((req*c1*c2*rf)^0.5))); +disp('Hz',f0,"f0="); diff --git a/3630/CH17/EX17.8/Ex17_8.sce b/3630/CH17/EX17.8/Ex17_8.sce new file mode 100644 index 000000000..2e1a8cf4d --- /dev/null +++ b/3630/CH17/EX17.8/Ex17_8.sce @@ -0,0 +1,11 @@ +clc; +c1=0.0000001; +c2=0.000000068; +c=(c1*c2)^0.5; +rf=40000; +f0=137; +Q=(3.14*f0*rf*c); +BW=f0/Q; +disp(' ',Q,"Q="); +disp('Hz',BW,"BW="); + diff --git a/3630/CH17/EX17.9/Ex17_9.sce b/3630/CH17/EX17.9/Ex17_9.sce new file mode 100644 index 000000000..9232762a4 --- /dev/null +++ b/3630/CH17/EX17.9/Ex17_9.sce @@ -0,0 +1,12 @@ +clc; +f0=12000; +BW=6000; +Q=2; +fc1=f0-BW/2; +fc2=f0+BW/2; +fc11=ceil(f0*((1+(1/((2*Q)^2)))^0.5)-BW/2); +fc22=f0*(1+(1/(2*Q)^2))^0.5+BW/2; +Fc1=((fc11-fc1)/fc11)*100; +Fc2=((fc22-fc2)/fc22)*100; +disp('%',Fc1,"Fc1=");//The answers vary due to round off error +disp('%',Fc2,"Fc2=");//The answers vary due to round off error -- cgit