summaryrefslogtreecommitdiff
path: root/1583/CH2/EX2.9/SSA_Ex_2_9.sce
blob: 1cf1e29ffdea559dcd06d08157f75fd1e4c5f77f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clc
//Chapter 2:Small Signal Amplifiers
//example 2.9 page no 45
//given
ed=5*10^-3//differential voltage
ec=2.5*10^-3//common-mode voltage
gm=1.5*10^-3//tranceconductance
rd=500*10^3
Rs=150*10^3//source resistance
RL=10*10^3//load resistance
Ac=-gm*RL/(1+2*gm*Rs)//common mode gain 
Ad=gm*RL/2//differential gain
Vo=ec*Ac+ed*Ad//actual amplifier output
mprintf('the output to the applied signal is %f mV',Vo*1e3)