summaryrefslogtreecommitdiff
path: root/863/CH5
diff options
context:
space:
mode:
Diffstat (limited to '863/CH5')
-rw-r--r--863/CH5/EX5.1/Ex5_1.sce15
-rw-r--r--863/CH5/EX5.1/Ex5_1.txt15
-rw-r--r--863/CH5/EX5.1/Result5_1.txt10
-rw-r--r--863/CH5/EX5.3/Ex5_3.sce23
-rw-r--r--863/CH5/EX5.3/Ex5_3.txt23
-rw-r--r--863/CH5/EX5.3/Result5_3.txt8
-rw-r--r--863/CH5/EX5.4/Ex5_4.sce14
-rw-r--r--863/CH5/EX5.4/Ex5_4.txt14
-rw-r--r--863/CH5/EX5.4/Result5_4.txt10
-rw-r--r--863/CH5/EX5.5/Ex5_5.sce18
-rw-r--r--863/CH5/EX5.5/Ex5_5.txt18
-rw-r--r--863/CH5/EX5.5/Result5_5.txt4
12 files changed, 172 insertions, 0 deletions
diff --git a/863/CH5/EX5.1/Ex5_1.sce b/863/CH5/EX5.1/Ex5_1.sce
new file mode 100644
index 000000000..d5560b350
--- /dev/null
+++ b/863/CH5/EX5.1/Ex5_1.sce
@@ -0,0 +1,15 @@
+//Caption:Design a non inverting amplifier by determining Required resistances and output voltage
+//Ex5.1
+clc;
+clear;
+close;
+Av=28//Voltage gain
+E=50//Input voltage(in mV)
+Ib=500//Base current(in nA)
+i=100*Ib*0.001
+R3=E/i
+Vo=Av*E*0.001
+r=Vo*1000/i
+R2=r-R3
+R1=(R2*R3)/(R2+R3)
+disp(R1,R2,R3,Vo,'Output voltage(in volts),Required resistances R3,R2 and R1(in kilo ohm)=') \ No newline at end of file
diff --git a/863/CH5/EX5.1/Ex5_1.txt b/863/CH5/EX5.1/Ex5_1.txt
new file mode 100644
index 000000000..d5560b350
--- /dev/null
+++ b/863/CH5/EX5.1/Ex5_1.txt
@@ -0,0 +1,15 @@
+//Caption:Design a non inverting amplifier by determining Required resistances and output voltage
+//Ex5.1
+clc;
+clear;
+close;
+Av=28//Voltage gain
+E=50//Input voltage(in mV)
+Ib=500//Base current(in nA)
+i=100*Ib*0.001
+R3=E/i
+Vo=Av*E*0.001
+r=Vo*1000/i
+R2=r-R3
+R1=(R2*R3)/(R2+R3)
+disp(R1,R2,R3,Vo,'Output voltage(in volts),Required resistances R3,R2 and R1(in kilo ohm)=') \ No newline at end of file
diff --git a/863/CH5/EX5.1/Result5_1.txt b/863/CH5/EX5.1/Result5_1.txt
new file mode 100644
index 000000000..8637d0d78
--- /dev/null
+++ b/863/CH5/EX5.1/Result5_1.txt
@@ -0,0 +1,10 @@
+Output voltage(in volts),Required resistances R3,R2 and R1(in kilo ohm)=
+
+ 1.4
+
+ 1.
+
+ 27.
+
+ 0.9642857
+ \ No newline at end of file
diff --git a/863/CH5/EX5.3/Ex5_3.sce b/863/CH5/EX5.3/Ex5_3.sce
new file mode 100644
index 000000000..b11db44da
--- /dev/null
+++ b/863/CH5/EX5.3/Ex5_3.sce
@@ -0,0 +1,23 @@
+//Caption:Design an inverter by determining input resistance,current and capacitance
+//Ex5.3
+clc;
+clear;
+close;
+Vo=11//Output voltage(in volts)
+Vcc=12//Collector voltage(in volts)
+Vi=6//Input voltage(in volts)
+f=1//Frequency(in Khz)
+Vb=0.5//Base voltage(in volts)
+Vee=-12//Emitter voltage(in volts)
+Ib=500//Max base current(in nA)
+Vc=2//Collector voltage(in volts)
+Vr2=Vb-Vee
+I2=100*Ib*0.001
+R2=Vr2/I2
+i=Vr2/R2
+R1=(Vcc-Vb)/i
+Ri=(R1*R2)*1000/(R1+R2)
+Ii=Vi*1000/Ri
+pw=1000/(2*f)
+C=(Ii*pw)*10^(-6)/Vc
+disp(C,Ii,Ri,'Input resistance(in kilo ohm),Input current(in micro ampere) and Capacitance(in micro farad)=') \ No newline at end of file
diff --git a/863/CH5/EX5.3/Ex5_3.txt b/863/CH5/EX5.3/Ex5_3.txt
new file mode 100644
index 000000000..b11db44da
--- /dev/null
+++ b/863/CH5/EX5.3/Ex5_3.txt
@@ -0,0 +1,23 @@
+//Caption:Design an inverter by determining input resistance,current and capacitance
+//Ex5.3
+clc;
+clear;
+close;
+Vo=11//Output voltage(in volts)
+Vcc=12//Collector voltage(in volts)
+Vi=6//Input voltage(in volts)
+f=1//Frequency(in Khz)
+Vb=0.5//Base voltage(in volts)
+Vee=-12//Emitter voltage(in volts)
+Ib=500//Max base current(in nA)
+Vc=2//Collector voltage(in volts)
+Vr2=Vb-Vee
+I2=100*Ib*0.001
+R2=Vr2/I2
+i=Vr2/R2
+R1=(Vcc-Vb)/i
+Ri=(R1*R2)*1000/(R1+R2)
+Ii=Vi*1000/Ri
+pw=1000/(2*f)
+C=(Ii*pw)*10^(-6)/Vc
+disp(C,Ii,Ri,'Input resistance(in kilo ohm),Input current(in micro ampere) and Capacitance(in micro farad)=') \ No newline at end of file
diff --git a/863/CH5/EX5.3/Result5_3.txt b/863/CH5/EX5.3/Result5_3.txt
new file mode 100644
index 000000000..aa576fb6f
--- /dev/null
+++ b/863/CH5/EX5.3/Result5_3.txt
@@ -0,0 +1,8 @@
+Input resistance(in kilo ohm),Input current(in micro ampere) and Capacitance(in micro farad)=
+
+ 119.79167
+
+ 50.086957
+
+ 0.0125217
+ \ No newline at end of file
diff --git a/863/CH5/EX5.4/Ex5_4.sce b/863/CH5/EX5.4/Ex5_4.sce
new file mode 100644
index 000000000..412537512
--- /dev/null
+++ b/863/CH5/EX5.4/Ex5_4.sce
@@ -0,0 +1,14 @@
+//Caption:Design a differentiating circuit by determining required resistances and capacitance
+//Ex5.4
+clc;
+clear;
+close;
+Vo=5//Output voltage(in volts)
+Vi=1//Change in input voltage(in volts)
+t=100//Time period(in micro sec)
+I=1//Circuit current(in mA)
+R2=Vo/I
+R1=R2*1000/20
+R3=R2
+C=Vo*t/(R2*Vi*1000)
+disp(R3,R2,R1,C,'Required components for circuit are Capacitance(in micro farad),Resistances R1(in ohm),R2(in kilo ohm),R3(in kilo ohm)=') \ No newline at end of file
diff --git a/863/CH5/EX5.4/Ex5_4.txt b/863/CH5/EX5.4/Ex5_4.txt
new file mode 100644
index 000000000..412537512
--- /dev/null
+++ b/863/CH5/EX5.4/Ex5_4.txt
@@ -0,0 +1,14 @@
+//Caption:Design a differentiating circuit by determining required resistances and capacitance
+//Ex5.4
+clc;
+clear;
+close;
+Vo=5//Output voltage(in volts)
+Vi=1//Change in input voltage(in volts)
+t=100//Time period(in micro sec)
+I=1//Circuit current(in mA)
+R2=Vo/I
+R1=R2*1000/20
+R3=R2
+C=Vo*t/(R2*Vi*1000)
+disp(R3,R2,R1,C,'Required components for circuit are Capacitance(in micro farad),Resistances R1(in ohm),R2(in kilo ohm),R3(in kilo ohm)=') \ No newline at end of file
diff --git a/863/CH5/EX5.4/Result5_4.txt b/863/CH5/EX5.4/Result5_4.txt
new file mode 100644
index 000000000..1a2b643c8
--- /dev/null
+++ b/863/CH5/EX5.4/Result5_4.txt
@@ -0,0 +1,10 @@
+Required components for circuit are Capacitance(in micro farad),Resistances R1(in ohm),R2(in kilo ohm),R3(in kilo ohm)=
+
+ 0.1
+
+ 250.
+
+ 5.
+
+ 5.
+ \ No newline at end of file
diff --git a/863/CH5/EX5.5/Ex5_5.sce b/863/CH5/EX5.5/Ex5_5.sce
new file mode 100644
index 000000000..1454ccb2a
--- /dev/null
+++ b/863/CH5/EX5.5/Ex5_5.sce
@@ -0,0 +1,18 @@
+//Caption:Calculate lowest operating frequency for circuit
+//Ex5.5
+clc;
+clear;
+close;
+V=4//Peak to peak amplitude of output waveform(in volts)
+Vi=10//Input voltage(in volts)
+Vs=15//Supply voltage(in volts)
+Ib=500//Maximum Base current(in nA)
+f=250//Frequency of input waveform(in hz)
+I=1//Circuit current(in mA)
+R1=Vi/I
+R3=20*R1
+R2=(R3*R1)/(R1+R3)
+t=1000/(2*f)
+C=(I*t)/V
+F=20*1000/(2*%pi*C*R3)
+disp(F,'Required frequency(in hz)=') \ No newline at end of file
diff --git a/863/CH5/EX5.5/Ex5_5.txt b/863/CH5/EX5.5/Ex5_5.txt
new file mode 100644
index 000000000..1454ccb2a
--- /dev/null
+++ b/863/CH5/EX5.5/Ex5_5.txt
@@ -0,0 +1,18 @@
+//Caption:Calculate lowest operating frequency for circuit
+//Ex5.5
+clc;
+clear;
+close;
+V=4//Peak to peak amplitude of output waveform(in volts)
+Vi=10//Input voltage(in volts)
+Vs=15//Supply voltage(in volts)
+Ib=500//Maximum Base current(in nA)
+f=250//Frequency of input waveform(in hz)
+I=1//Circuit current(in mA)
+R1=Vi/I
+R3=20*R1
+R2=(R3*R1)/(R1+R3)
+t=1000/(2*f)
+C=(I*t)/V
+F=20*1000/(2*%pi*C*R3)
+disp(F,'Required frequency(in hz)=') \ No newline at end of file
diff --git a/863/CH5/EX5.5/Result5_5.txt b/863/CH5/EX5.5/Result5_5.txt
new file mode 100644
index 000000000..248d43ec4
--- /dev/null
+++ b/863/CH5/EX5.5/Result5_5.txt
@@ -0,0 +1,4 @@
+Required frequency(in hz)=
+
+ 31.830989
+ \ No newline at end of file