summaryrefslogtreecommitdiff
path: root/3682/CH2/EX2.11/Ex2_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '3682/CH2/EX2.11/Ex2_11.sce')
-rw-r--r--3682/CH2/EX2.11/Ex2_11.sce28
1 files changed, 28 insertions, 0 deletions
diff --git a/3682/CH2/EX2.11/Ex2_11.sce b/3682/CH2/EX2.11/Ex2_11.sce
new file mode 100644
index 000000000..1bf6a9a68
--- /dev/null
+++ b/3682/CH2/EX2.11/Ex2_11.sce
@@ -0,0 +1,28 @@
+// Exa 2.11
+
+clc;
+clear;
+
+// Given data
+
+Io=10*10^-6; // Output current(A)
+Vcc= 10; // Volts
+B=125; // current gain
+Vbe=0.7; // Voltage between base and emitter(V)
+Vt=25*10^-3; // volt equivalent of temperature at room temperature(V)
+
+//Solution
+
+disp(" Let Iref = 1 mA then using equation 2.79, we get- ");
+
+Iref=1*10^-3; // we choose
+
+R1=(Vcc-Vbe)/Iref;
+printf('\n The value of R1 = %.1f kΩ. \n',R1/1000);
+
+disp(" Using equation 2.74, we get-");
+Re=(Vt/((1+1/B)*Io))*log(Iref/Io);
+printf('\n The value of Re = %.1f kΩ. \n',Re/1000);
+
+disp(" Thus, it is clearly seen that Wildar circuit allows the generation of small currents using relatively small resistors.");
+