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/CH7/EX7.1/Ex7_1.png | Bin 0 -> 10424 bytes 3630/CH7/EX7.1/Ex7_1.sce | 11 +++++++++++ 3630/CH7/EX7.10/Ex7_10.sce | 9 +++++++++ 3630/CH7/EX7.11/Ex7_11.sce | 8 ++++++++ 3630/CH7/EX7.12/Ex7_12.sce | 12 ++++++++++++ 3630/CH7/EX7.13/Ex7_13.sce | 13 +++++++++++++ 3630/CH7/EX7.2/Ex7_2.png | Bin 0 -> 10868 bytes 3630/CH7/EX7.2/Ex7_2.sce | 21 +++++++++++++++++++++ 3630/CH7/EX7.3/Ex7_3.sce | 13 +++++++++++++ 3630/CH7/EX7.4/Ex7_4.png | Bin 0 -> 9603 bytes 3630/CH7/EX7.4/Ex7_4.sce | 21 +++++++++++++++++++++ 3630/CH7/EX7.5/Ex7_5.sce | 14 ++++++++++++++ 3630/CH7/EX7.6/Ex7_6.sce | 15 +++++++++++++++ 3630/CH7/EX7.7/Ex7_7.sce | 14 ++++++++++++++ 3630/CH7/EX7.8/Ex7_8.sce | 11 +++++++++++ 3630/CH7/EX7.9/Ex7_9.sce | 15 +++++++++++++++ 16 files changed, 177 insertions(+) create mode 100644 3630/CH7/EX7.1/Ex7_1.png create mode 100644 3630/CH7/EX7.1/Ex7_1.sce create mode 100644 3630/CH7/EX7.10/Ex7_10.sce create mode 100644 3630/CH7/EX7.11/Ex7_11.sce create mode 100644 3630/CH7/EX7.12/Ex7_12.sce create mode 100644 3630/CH7/EX7.13/Ex7_13.sce create mode 100644 3630/CH7/EX7.2/Ex7_2.png create mode 100644 3630/CH7/EX7.2/Ex7_2.sce create mode 100644 3630/CH7/EX7.3/Ex7_3.sce create mode 100644 3630/CH7/EX7.4/Ex7_4.png create mode 100644 3630/CH7/EX7.4/Ex7_4.sce create mode 100644 3630/CH7/EX7.5/Ex7_5.sce create mode 100644 3630/CH7/EX7.6/Ex7_6.sce create mode 100644 3630/CH7/EX7.7/Ex7_7.sce create mode 100644 3630/CH7/EX7.8/Ex7_8.sce create mode 100644 3630/CH7/EX7.9/Ex7_9.sce (limited to '3630/CH7') diff --git a/3630/CH7/EX7.1/Ex7_1.png b/3630/CH7/EX7.1/Ex7_1.png new file mode 100644 index 000000000..03386e5bf Binary files /dev/null and b/3630/CH7/EX7.1/Ex7_1.png differ diff --git a/3630/CH7/EX7.1/Ex7_1.sce b/3630/CH7/EX7.1/Ex7_1.sce new file mode 100644 index 000000000..38e6b795d --- /dev/null +++ b/3630/CH7/EX7.1/Ex7_1.sce @@ -0,0 +1,11 @@ +clc; +Vcc=12; //volt +Vceoff=12; //volt +Rc=2000; //ohm +Icsat=Vceoff/Rc; //Ampere//v=r*i +disp('mA',Icsat*1000,"Icsat=");//The answers vary due to round off error +T1=0:2:12; // T1 axes is for voltage axes +T2=6:-1:0 // T2 axes is for Ic mA And T2(max)=Icsat=6 mA +plot(T1,T2) +xlabel('Vce(V)') +ylabel('Ic(mA)') diff --git a/3630/CH7/EX7.10/Ex7_10.sce b/3630/CH7/EX7.10/Ex7_10.sce new file mode 100644 index 000000000..7b2d2577f --- /dev/null +++ b/3630/CH7/EX7.10/Ex7_10.sce @@ -0,0 +1,9 @@ +clc; +Vee=-12; //volt +Re=1500; //ohm +Icq=-(Vee+0.7)/Re; //Ampere +Vcc=12; //volt +Rc=750; //ohm +Vceq=Vcc-Icq*Rc+0.7; //volt +disp('mA',Icq*1000,"Icq=");//The answers vary due to round off error +disp('V',Vceq,"Vceq=");//The answers vary due to round off error diff --git a/3630/CH7/EX7.11/Ex7_11.sce b/3630/CH7/EX7.11/Ex7_11.sce new file mode 100644 index 000000000..aab2cae11 --- /dev/null +++ b/3630/CH7/EX7.11/Ex7_11.sce @@ -0,0 +1,8 @@ +clc; +Vcc=12; //volt +Rc=750; //ohm +Re=1500;//ohm +Icsat=(2*Vcc)/(Rc+Re); //Ampere +Vceoff=2*Vcc; //volt +disp('mA',Icsat*1000,"Icsat=");//The answers vary due to round off error +disp('V',Vceoff,"Vceoff=");//The answers vary due to round off error diff --git a/3630/CH7/EX7.12/Ex7_12.sce b/3630/CH7/EX7.12/Ex7_12.sce new file mode 100644 index 000000000..ac1555289 --- /dev/null +++ b/3630/CH7/EX7.12/Ex7_12.sce @@ -0,0 +1,12 @@ +clc; +Vcc=10; //volt +Vbe=0.7; //volt +Rb=180000; //ohm +Hfe=100; +Rc=1500; //Ohm +Ib=(Vcc-Vbe)/(Rb+(Hfe*Rc)); //Ampere +Icq=Hfe*Ib; //Ampere +Vceq=Vcc-Icq*Rc; //volt +disp('mA',Icq*1000,"Icq=");//The answers vary due to round off error +disp('V',Vceq,"Vceq=");//The answers vary due to round off error + diff --git a/3630/CH7/EX7.13/Ex7_13.sce b/3630/CH7/EX7.13/Ex7_13.sce new file mode 100644 index 000000000..a014afa30 --- /dev/null +++ b/3630/CH7/EX7.13/Ex7_13.sce @@ -0,0 +1,13 @@ +clc; +Vcc=16; //Volt +Vbe=0.7; //Volt +Rb=680000; //Ohm +Hfe=50; +Rc=6200; //Ohm +Re=1600; //Ohm +Ib=(Vcc-Vbe)/(Rb+((Hfe+1)*Re)); //Ampere +Icq=Hfe*Ib; //Ampere +Vceq=Vcc-Icq*(Rc+Re); //Volt +disp('mA',Icq*1000,"Icq=");//The answers vary due to round off error +disp('V',Vceq,"Vceq=");//The answers vary due to round off error + diff --git a/3630/CH7/EX7.2/Ex7_2.png b/3630/CH7/EX7.2/Ex7_2.png new file mode 100644 index 000000000..e99bdcb63 Binary files /dev/null and b/3630/CH7/EX7.2/Ex7_2.png differ diff --git a/3630/CH7/EX7.2/Ex7_2.sce b/3630/CH7/EX7.2/Ex7_2.sce new file mode 100644 index 000000000..0db7b5f00 --- /dev/null +++ b/3630/CH7/EX7.2/Ex7_2.sce @@ -0,0 +1,21 @@ +clc; +Vcc=10; //volt +Rc=1000; //ohm +Icsat=Vcc/Rc; //Ampere +Vceoff=10; //Volt +Ic=[0.001 0.002 0.005] //Ampere +Vce=zeros(1,3); //Volt +for i=1:3 + Vce(1,i)=Vcc-Ic(1,i)*Rc; //volt +end +disp('V',Vce(1,1),"Vce1=");//The answers vary due to round off error +disp('V',Vce(1,2),"Vce2=");//The answers vary due to round off error +disp('V',Vce(1,3),"Vce3=");//The answers vary due to round off error + +T1=0:1:10; // T1 axes is for voltage axes +T2=10:-1:0 // T2 axes is for Ic mA +plot(T1,T2) +plot((Vce(1,1),Ic(1,1)) +xlabel('Vce(V)') +ylabel('Ic(mA)') + diff --git a/3630/CH7/EX7.3/Ex7_3.sce b/3630/CH7/EX7.3/Ex7_3.sce new file mode 100644 index 000000000..5e873d065 --- /dev/null +++ b/3630/CH7/EX7.3/Ex7_3.sce @@ -0,0 +1,13 @@ +clc; +Vcc=8; //volt +Vbe=0.7; //volt +Rb=360000; //ohm +Ib=(Vcc-Vbe)/Rb; //Ampere +Hfe=100; +Ic=Hfe*Ib;//Ampere +Rc=2000; //ohm +Vce=Vcc-Ic*Rc; //volt +disp('mA',Ic*1000,"Ic=");//The answers vary due to round off error +disp('V',Vce,"Vce=");//The answers vary due to round off error + + diff --git a/3630/CH7/EX7.4/Ex7_4.png b/3630/CH7/EX7.4/Ex7_4.png new file mode 100644 index 000000000..98cea0c9c Binary files /dev/null and b/3630/CH7/EX7.4/Ex7_4.png differ diff --git a/3630/CH7/EX7.4/Ex7_4.sce b/3630/CH7/EX7.4/Ex7_4.sce new file mode 100644 index 000000000..40a614da1 --- /dev/null +++ b/3630/CH7/EX7.4/Ex7_4.sce @@ -0,0 +1,21 @@ +clc; +Vcc=8; //volt +Rc=2000; //ohm +Icsat=Vcc/Rc; //Ampere +Vceoff=Vcc; //volt +Vcc=8; //volt +Vbe=0.7; //volt +Rb=360000; //ohm +Ib=(Vcc-Vbe)/Rb; //Ampere +Hfe=100; +Ic=Hfe*Ib;//Ampere +Rc=2000; //ohm +Vce=Vcc-Ic*Rc; //volt + +T1=0:2:8; // T1 axes is for voltage axes +T2=4:-1:0; //T2 axes is for Ic mA + +plot(T1,T2) +xlabel('Vce(V)') +ylabel('Ic(mA)') + diff --git a/3630/CH7/EX7.5/Ex7_5.sce b/3630/CH7/EX7.5/Ex7_5.sce new file mode 100644 index 000000000..4f86b2abd --- /dev/null +++ b/3630/CH7/EX7.5/Ex7_5.sce @@ -0,0 +1,14 @@ +clc; +//A circuit is midpoint bised when the Q-point value of Vce is one half of Vcc. +//from example and 7.3 +Vcc=8; //volt +Vbe=0.7; //volt +Rb=360000; //ohm +Ib=(Vcc-Vbe)/Rb; //Ampere +Hfe=100; +Ic=Hfe*Ib;//Ampere +Rc=2000; //ohm +Vce=Vcc-Ic*Rc; //volt +disp('V',Vce,"Vce=");//The answers vary due to round off error +//Here we get Vce = (Vcc/2) +//We can conclude that the circuit is midpoint diff --git a/3630/CH7/EX7.6/Ex7_6.sce b/3630/CH7/EX7.6/Ex7_6.sce new file mode 100644 index 000000000..64cd26e87 --- /dev/null +++ b/3630/CH7/EX7.6/Ex7_6.sce @@ -0,0 +1,15 @@ +clc; +//for T=25' and Hfe=100 +Ib=0.0000203; //Ampere +Ic=0.00203; //Ampere +Vce=3.94; //Volt +//for T=100' andHfe=150 +Hfe=150; +Vcc=8; //volt +Rc=2000; //ohm +Ic=Hfe*Ib; //Ampere +Vce=Vcc-Ic*Rc; //volt +disp('mA',Ic*1000,"Ic=");//The answers vary due to round off error +disp('V',Vce,"Vce=");//The answers vary due to round off error + + diff --git a/3630/CH7/EX7.7/Ex7_7.sce b/3630/CH7/EX7.7/Ex7_7.sce new file mode 100644 index 000000000..2244e527e --- /dev/null +++ b/3630/CH7/EX7.7/Ex7_7.sce @@ -0,0 +1,14 @@ +clc; +Vcc=10; //volt +R1=18000; //ohm +R2=4700; //Ohm +Vb=(R2/(R1+R2))*Vcc; //volt //voltage divider rule +Ve=Vb-0.7; //volt +Re=1100; //ohm +Icq=Ve/Re; //Ampere//assumption Icq=Ie +Rc=3000; //Ohm +Re=1100; //Ohm +Vceq=Vcc-Icq*(Rc+Re); //Volt +disp('A',Icq,"Icq=");//The answers vary due to round off error +disp('V',Vceq,"Vceq=");//The answers vary due to round off error + diff --git a/3630/CH7/EX7.8/Ex7_8.sce b/3630/CH7/EX7.8/Ex7_8.sce new file mode 100644 index 000000000..0b4076b97 --- /dev/null +++ b/3630/CH7/EX7.8/Ex7_8.sce @@ -0,0 +1,11 @@ +clc; +Vcc=20; //volt +R2=1000; //ohm +R1=6800; //ohm +Vb=(R2/(R1+R2))*Vcc; //volt//voltage divider rule +Ve=Vb-0.7; //volt +Re=1000; //ohm +Ie=Ve/Re; //Ampere +Hfe=50; +Ib=Ie/(Hfe+1); //Ampere +disp('Amperes',Ib,"Ib=");//The answers vary due to round off error diff --git a/3630/CH7/EX7.9/Ex7_9.sce b/3630/CH7/EX7.9/Ex7_9.sce new file mode 100644 index 000000000..7c30acd02 --- /dev/null +++ b/3630/CH7/EX7.9/Ex7_9.sce @@ -0,0 +1,15 @@ +clc; +Vcc=20; //volt +R2=10000; //Ohm +R1=68000; //ohm +Vth=(R2/(R1+R2))*Vcc; //volt//by voltage divider rule Thevenin +Rth=(R1*R2)/(R1+R2); //ohm +Vbe=0.7; //Volt +Hfe=50; +Re=1100; //Ohm +Rc=6200; //Ohm +Icq=(Vth-Vbe)/((Rth/Hfe)+Re); //Ampere +Vceq=Vcc-Icq*(Rc+Re); //Volt +disp('mA',Icq*1000,"Icq=");//The answers vary due to round off error +disp('V',Vceq,"Vceq=");//The answers vary due to round off error + -- cgit