diff options
Diffstat (limited to '3830/CH2')
-rw-r--r-- | 3830/CH2/EX2.1/Ex2_1.sce | 18 | ||||
-rw-r--r-- | 3830/CH2/EX2.2/Ex2_2.sce | 20 | ||||
-rw-r--r-- | 3830/CH2/EX2.3/Ex2_3.sce | 19 | ||||
-rw-r--r-- | 3830/CH2/EX2.4/Ex2_4.sce | 21 | ||||
-rw-r--r-- | 3830/CH2/EX2.5/Ex2_5.sce | 23 | ||||
-rw-r--r-- | 3830/CH2/EX2.6/Ex2_6.sce | 20 |
6 files changed, 121 insertions, 0 deletions
diff --git a/3830/CH2/EX2.1/Ex2_1.sce b/3830/CH2/EX2.1/Ex2_1.sce new file mode 100644 index 000000000..6bd11c1fd --- /dev/null +++ b/3830/CH2/EX2.1/Ex2_1.sce @@ -0,0 +1,18 @@ +// Exa 2.1
+
+clc;
+clear;
+
+// Given
+
+// A wien bridge oscillator under consideration
+R = 55*10^3; // Resistance in Ohms
+// R = R1 = R2 ... given
+C = 800*10^-12; // Capacitor in Farad
+// C = C2 = C1 .. given
+
+// Solution
+
+f = 1/(2*%pi*R*C) ;
+
+printf(' The frequency of oscillations = %.1f Hz \n',f);
diff --git a/3830/CH2/EX2.2/Ex2_2.sce b/3830/CH2/EX2.2/Ex2_2.sce new file mode 100644 index 000000000..80d2014c6 --- /dev/null +++ b/3830/CH2/EX2.2/Ex2_2.sce @@ -0,0 +1,20 @@ +// Exa 2.2
+
+clc;
+clear;
+
+// Given
+
+// A wien bridge oscillator under consideration
+
+fo= 10^6 ; // frequency of oscillations in Hz
+
+// Solution
+
+printf(' Let R = 3 k Ohms \n');
+
+R = 3000; // Ohm's
+// since, fo = 1/(2*%pi*R*C); therefore,
+C = 1/(2*%pi*fo*R);
+
+printf(' Substituting that, the value of capacitor = %d pf \n',C*10^12);
diff --git a/3830/CH2/EX2.3/Ex2_3.sce b/3830/CH2/EX2.3/Ex2_3.sce new file mode 100644 index 000000000..7c43f41da --- /dev/null +++ b/3830/CH2/EX2.3/Ex2_3.sce @@ -0,0 +1,19 @@ +// Exa 2.3
+
+clc;
+clear;
+
+// Given
+
+// A phase shift oscillator
+
+R = 800*10^3; // in Ohm's
+// R = R1 = R2 = R3 .. given
+C = 100*10^-12; // in Farad
+// C = C1 = C2 = C3 .. farad
+
+// Solution
+
+fo = 1/(2*%pi*R*C*sqrt(6));
+
+printf(' The frequency of oscillations = %d Hz \n',fo);
diff --git a/3830/CH2/EX2.4/Ex2_4.sce b/3830/CH2/EX2.4/Ex2_4.sce new file mode 100644 index 000000000..419eb7297 --- /dev/null +++ b/3830/CH2/EX2.4/Ex2_4.sce @@ -0,0 +1,21 @@ +// Exa 2.4
+
+clc;
+clear;
+
+// Given
+
+// Transistor Colpitts oscillator
+L = 100*10^-3; // Inductance(H)
+C1 = 0.005*10^-6; // Capacitor(F)
+C2 = 0.01*10^-6; // Capacitor(F)
+
+// Solution
+
+C = C1*C2/(C1+C2);
+printf(' By calculation, C = %.2f pf \n',C*10^12);
+fo = 1/(2*%pi*sqrt(L*C));
+
+printf(' The frequency of oscillator = %.1f kHz \n',fo*10^-3);
+
+// The answer provided in the textbook is wrong
diff --git a/3830/CH2/EX2.5/Ex2_5.sce b/3830/CH2/EX2.5/Ex2_5.sce new file mode 100644 index 000000000..f7c08efc7 --- /dev/null +++ b/3830/CH2/EX2.5/Ex2_5.sce @@ -0,0 +1,23 @@ +// Exa 2.5
+
+clc;
+clear;
+
+// Given
+
+// A Hartley oscillator under consideration
+L1 = 100*10^-3; // Inductance(H)
+L2 = 1*10^-3; // Inductance(H)
+M = 50*10^-3; // Inductance(H)
+C = 100*10^-12; // Capacitor(F)
+
+// Solution
+
+L = L1+L2+2*M;
+printf(' By calculation, L = %d H \n',L*10^3);
+
+f = 1/(2*%pi*sqrt(L*C));
+
+printf(' The frequency of oscillation = %d kHz \n',f*10^-3);
+
+// The answer provided in the textbook is wrong
diff --git a/3830/CH2/EX2.6/Ex2_6.sce b/3830/CH2/EX2.6/Ex2_6.sce new file mode 100644 index 000000000..d06bcf648 --- /dev/null +++ b/3830/CH2/EX2.6/Ex2_6.sce @@ -0,0 +1,20 @@ +// Exa 2.6
+
+clc;
+clear;
+
+// Given
+
+// An Amilifier under consideration
+Av = 40; // Voltage gain
+Vi = 0.1; // Input voltage without feedback(V)
+Vi_fb = 2.4; // Input voltage with feedback(V)
+
+// Solution
+
+A = Av*Vi_fb/Vi;
+
+// Av = A/(1-B*A) ; therefore,
+B = (1-A/Av)/A;
+
+printf(' The value of feedback ratio = %.6f \n ',B);
|