summaryrefslogtreecommitdiff
path: root/2582/CH3/EX3.2/Ex3_2.sce
blob: 6241df9c942de201da3ac10fe6df32b31b128eaf (plain)
1
2
3
4
5
6
7
8
//Ex 3.2
clc;clear;close;
Vin=2.5;//mV
R1=2;//kohm
Rf=200;//kohm
G=-Rf/R1;//Gain
Vo=G*Vin/1000;//V
disp(Vo,"Output Voltage(V) : ");