diff options
Diffstat (limited to '3682/CH4/EX4.1')
-rw-r--r-- | 3682/CH4/EX4.1/Ex4_1.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3682/CH4/EX4.1/Ex4_1.sce b/3682/CH4/EX4.1/Ex4_1.sce new file mode 100644 index 000000000..9820129f7 --- /dev/null +++ b/3682/CH4/EX4.1/Ex4_1.sce @@ -0,0 +1,18 @@ +// Exa 4.1
+
+clc;
+clear;
+
+// Given data
+
+// To design an adder circuit as shown in Fig. 4.2(a)
+// Vo = -(0.1*V1+V2+10*V3);
+// V1,V2,V3 are the inputs
+
+// Solution
+
+printf(' The output in Fig. 4.2(a) is - \n Vo = -[(Rf/R1)*V1 + (Rf/R2)*V2 + (Rf/R3)*V3].');
+printf('\n The desired output is -\n Vo = [(0.1)*V1 + (1)*V2 + (10)*V3].');
+printf('\n\n Comparing above two equations,');
+printf('\n We can say, Let Rf = 10 kΩ, R1 = 100 kΩ and R2 = 10 kΩ and R3 = 1 kΩ.\n');
+printf('\n Thus, the desired output expression is obtained.');
|