blob: 0a8086fe48be0a4ffba6e8b6f4526149782cc2ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Exa Misc. 6.12
clc;
clear;
close;
format('v',6)
// Given data
R_F = 20;// in k ohm
R1 = 10;// in k ohm
R2 = 20;// in k ohm
Vin1 = 2;// in V
Vin2 = 2;// in V
Vin3 = 2;// in V
// The output voltage, by using super position theorm,
Vo = ((-R_F/R1)*Vin1) + (-Vin2*R_F/R2+Vin2) + ((R_F/(((R1*R2)/(R1+R2))))*Vin3);// in V
disp(Vo,"The voltage is appeared at the output terminal in V is");
|