diff options
Diffstat (limited to '3517/CH4')
-rw-r--r-- | 3517/CH4/EX4.1/Ex4_1.sce | 15 | ||||
-rw-r--r-- | 3517/CH4/EX4.10/Ex4_10.sce | 14 | ||||
-rw-r--r-- | 3517/CH4/EX4.2/Ex4_2.sce | 17 | ||||
-rw-r--r-- | 3517/CH4/EX4.3/Ex4_3.sce | 18 | ||||
-rw-r--r-- | 3517/CH4/EX4.4/Ex4_4.sce | 13 | ||||
-rw-r--r-- | 3517/CH4/EX4.5/Ex4_5.sce | 15 | ||||
-rw-r--r-- | 3517/CH4/EX4.6/Ex4_6.sce | 10 | ||||
-rw-r--r-- | 3517/CH4/EX4.7/Ex4_7.sce | 20 | ||||
-rw-r--r-- | 3517/CH4/EX4.8/Ex4_8.sce | 19 | ||||
-rw-r--r-- | 3517/CH4/EX4.9/Ex4_9.sce | 21 |
10 files changed, 162 insertions, 0 deletions
diff --git a/3517/CH4/EX4.1/Ex4_1.sce b/3517/CH4/EX4.1/Ex4_1.sce new file mode 100644 index 000000000..4e3d5b79b --- /dev/null +++ b/3517/CH4/EX4.1/Ex4_1.sce @@ -0,0 +1,15 @@ +//Caption:Determine (a)hfe (b)hfe for changed resistor
+//Ex4.1
+clc;
+clear;
+close;
+Ib=0.2//Base current(in mA)
+Vcc=10//Collector voltage(in volts)
+Rc1=1//Collector resistor(in kilo ohm)
+Rc2=220//Changed collector resistor(in ohm)
+Ic1=Vcc/Rc1
+h1=Ic1/Ib
+disp(h1,'(a)hfe=')
+Ic2=Vcc*1000/Rc2
+h2=Ic2/Ib
+disp(h2,'(b)hfe for changed resistor=')
\ No newline at end of file diff --git a/3517/CH4/EX4.10/Ex4_10.sce b/3517/CH4/EX4.10/Ex4_10.sce new file mode 100644 index 000000000..539cc9119 --- /dev/null +++ b/3517/CH4/EX4.10/Ex4_10.sce @@ -0,0 +1,14 @@ +//Caption:Determine output voltage when (a)Device is cutoff (b)Device is switched on
+//Ex4.10
+clc;
+clear;
+close;
+Idf=0.25//Drain current at cutoff(in ns)
+rd=40//Drain resistance at switched on(in ohm)
+Vdd=15//Drain voltage(in volts)
+Rd=6.8//Drain resistance(in kilo ohm)
+Vo=Vdd-(Idf*Rd*10^(-6))
+disp(Vo,'Output voltage when device is cutoff(in volts)=')
+Id=Vdd/Rd
+Vo2=Id*rd
+disp(Vo2,'Output voltage when device is switched on(in milli volts)=')
\ No newline at end of file diff --git a/3517/CH4/EX4.2/Ex4_2.sce b/3517/CH4/EX4.2/Ex4_2.sce new file mode 100644 index 000000000..3e56cb765 --- /dev/null +++ b/3517/CH4/EX4.2/Ex4_2.sce @@ -0,0 +1,17 @@ +//Caption:Calculate the transistor power dissipation at (a)Cutoff (b)Saturation (c)When Vce is 2V
+//Ex4.2
+clc;
+clear;
+close;
+Vcc=10//Collector voltage(in volts)
+Ic=50//Collector current(in nA)
+Rc=1//Collector resistor(in kilo ohm)
+Vs=0.2//Voltage of collector emitter junction at saturation(in volts)
+Vce=2//Collector emitter voltage(in volts)
+P1=Ic*Vcc/1000
+disp(P1,'(a)Power dissipation at cutoff(in micro watt)=')
+P2=(Vcc/Rc)*Vs
+disp(P2,'(b)Power dissipation at saturation(in mW)=')
+I=(Vcc-Vce)/Rc
+P3=I*Vce
+disp(P3,'(c)Power dissipation at given Vce(in mW)=')
\ No newline at end of file diff --git a/3517/CH4/EX4.3/Ex4_3.sce b/3517/CH4/EX4.3/Ex4_3.sce new file mode 100644 index 000000000..e6af0b9ff --- /dev/null +++ b/3517/CH4/EX4.3/Ex4_3.sce @@ -0,0 +1,18 @@ +//Caption:Calculate Vce (a)Before input pulse is applied (b)at end of delay time (c)at end of turn on time (d)Total time
+//Ex4.3
+clc;
+clear;
+close;
+Vcc=12//Collector voltage(in volts)
+Rc=3.3//Collector resistor(in Kilo ohm)
+pw=5//Pulse width of input voltage(in micro sec)
+Ix=50//Collector cutoff current(in nA)
+t=250//Switch off time(nA)
+Vce=Vcc-(Ix*Rc*10^(-6))
+disp(Vce,'(a)Collector emitter voltage before input pulse is applied(in volts)=')
+Vce2=Vcc-(0.1*Vcc)
+disp(Vce2,'(b)Collector emittter voltage at end of delay time(in volts)=')
+Vce3=Vcc-(0.9*Vcc)
+disp(Vce3,'(c)Collector emitter voltage at end of turn on time(in volts)=')
+T=(t*10^(-3))+pw
+disp(T,'(d)Total time from commencement of input to transistor switch off(in micro sec)=')
\ No newline at end of file diff --git a/3517/CH4/EX4.4/Ex4_4.sce b/3517/CH4/EX4.4/Ex4_4.sce new file mode 100644 index 000000000..4f24441f7 --- /dev/null +++ b/3517/CH4/EX4.4/Ex4_4.sce @@ -0,0 +1,13 @@ +//Caption:Determine (a)Capacitance that can give max turn on time (b)Max frequency
+//Ex4.4
+clc;
+clear;
+close;
+Rs=600//Source resistor(in ohm)
+Rb=5.6//Base resistor(in kilo ohm)
+t=70//Turn on time(in ns)
+C=t*1000/(0.1*Rs)
+disp(C,'(a)Required capacitance(in pF)=')
+tre=2.3*Rb*C*10^(-3)
+f=1000/(2*tre)
+disp(f,'(b)Max Frequency(in Khz)=')
\ No newline at end of file diff --git a/3517/CH4/EX4.5/Ex4_5.sce b/3517/CH4/EX4.5/Ex4_5.sce new file mode 100644 index 000000000..96dfa4dcf --- /dev/null +++ b/3517/CH4/EX4.5/Ex4_5.sce @@ -0,0 +1,15 @@ +//Caption:Calculate Rc and Rb
+//Ex4.5
+clc;
+clear;
+close;
+Vcc=12//Collector voltage(in volts)
+V=3//Input voltage(in volts)
+Ic=1//collector current(in mA)
+Vce=0.2//Saturated collector emitter voltage(in volts)
+hfe=70
+Vbe=0.7//Base emitter voltage(in volts)
+Rc=(Vcc-Vce)/Ic
+Ib=Ic*1000/hfe
+Rb=(V-Vbe)*1000/Ib
+disp(Rb,Rc,'Rc and Rb(in kilo ohm)=')
\ No newline at end of file diff --git a/3517/CH4/EX4.6/Ex4_6.sce b/3517/CH4/EX4.6/Ex4_6.sce new file mode 100644 index 000000000..46a2f3a2d --- /dev/null +++ b/3517/CH4/EX4.6/Ex4_6.sce @@ -0,0 +1,10 @@ +//Caption:Determine maximum value of capacitor
+//Ex4.6
+clc;
+clear;
+close;
+f=45//Frequency(in khz)
+Rb=150//Base Resistor(in ohms)
+t=1000/(2*f)
+C=t*1000/(2.3*Rb)
+disp(C,'Maxixmumvalue of capacitor(in pF)=')
\ No newline at end of file diff --git a/3517/CH4/EX4.7/Ex4_7.sce b/3517/CH4/EX4.7/Ex4_7.sce new file mode 100644 index 000000000..3de515299 --- /dev/null +++ b/3517/CH4/EX4.7/Ex4_7.sce @@ -0,0 +1,20 @@ +//Caption:Design a transistor by determining Rc,Rb and amplitude of output waveform
+//Ex4.7
+clc;
+clear;
+close;
+E=10//Input voltage(in volts)
+Vcc=15//Collector voltage(in volts)
+R=100//Load resistance(in kilo ohm)
+Vce=0.2//Saturted collector emitter voltage(in volts)
+Vd=0.7//Diode forward voltage(in volts)
+hfe=35
+Vbe=0.7//Base emitter voltage(in volts)
+Rc=R/10
+Ic=(Vcc-Vce-Vd)/Rc
+Ib=Ic/hfe
+Rb=(E-Vbe-Vd)/Ib
+Vmin=Vd+Vce
+Vmax=(Vcc*R)/(R+Rc)
+Vo=Vmax-Vmin
+disp(Vo,Rb,Rc,'Rc,Rb(in kilo ohm),and amplitude of output waveform(in volts)=')
\ No newline at end of file diff --git a/3517/CH4/EX4.8/Ex4_8.sce b/3517/CH4/EX4.8/Ex4_8.sce new file mode 100644 index 000000000..a122d419a --- /dev/null +++ b/3517/CH4/EX4.8/Ex4_8.sce @@ -0,0 +1,19 @@ +//Caption:Calculate Rc,Rb,and Cc
+//Ex4.8
+clc;
+clear;
+close;
+Vcc=10//Collector voltage(in volts)
+Vce=0.2//Saturated collector emitter voltage(in volts)
+Ic=10//Collector current(in mA)
+Vbe=0.7//Base emitter voltage(in volts)
+hfe=100
+Pw=1//Pulse width(in ms)
+Vi=4//Input voltage(in volts)
+Rc=(Vcc-Vce)*1000/Ic
+Ib=Ic*1000/hfe
+Rb=(Vcc-Vbe)*1000/Ib
+Vb=Vi-Vbe-0.5
+I=(Vcc+Vi)/Rb
+Cc=I*Pw/Vb
+disp(Cc,Rb,Rc,'Rc(in ohm),Rb(in kilo ohm),Cc(in micro farad)=')
\ No newline at end of file diff --git a/3517/CH4/EX4.9/Ex4_9.sce b/3517/CH4/EX4.9/Ex4_9.sce new file mode 100644 index 000000000..4125b5f06 --- /dev/null +++ b/3517/CH4/EX4.9/Ex4_9.sce @@ -0,0 +1,21 @@ +//Caption:Determine required capacitance
+//Ex4.9
+clc;
+clear;
+close;
+E=4//Input voltage(in volts)
+Pw=1//Pulse width(in ms)
+Rs=1//Source resistance(in kilo ohm)
+Vce=0.2//Saturated Collector emitter voltage(in volts)
+Rc=1//Collector resistance(in kilo ohm)
+Vcc=10//Collector voltage(in volts)
+hfe=100
+Vbe=0.7//Base emitter voltage(in volts)
+Rb=10//Base resistance(in kilo ohm)
+Ic=(Vcc-Vce)/Rc
+Ib=Ic*1000/hfe
+Irb=Vbe*1000/Rb
+ic=Ib+Irb
+I=(E-Vbe)/Rs
+C=Pw/(Rs*(log(I*1000/ic)))
+disp(C,'Required capacitance(in micro farad)=')
\ No newline at end of file |