summaryrefslogtreecommitdiff
path: root/1217/CH4/EX4.5/Exa4_5.sce
blob: 7785990590d8fb06713b562d3bbbca56599e5f8d (plain)
1
2
3
4
5
6
7
8
9
//Exa 4.5
clc;
clear;
close;
disp("The given circuit is basically an inverting amplifier with node A at virtual ground. Writing KCL at node A yields ");
disp("I1+I2=If");
disp("-2/10Kohm+3/20Kohm=-Vo/100Kohm");
Vo=-(-20+15);//in Volts
disp(Vo,"Output voltage in Volt is : ")