summaryrefslogtreecommitdiff
path: root/1583/CH5/EX5.18/HFAAGC_Ex_5_18.sce
blob: a6c8968050b6e2cf81a448bfbdf3f053c942018f (plain)
1
2
3
4
5
6
7
8
9
clc
//Chapter 5:High Frequency Amplifiers and Automatic Gain Control
//example 5.18
//given
Vr=1//reference voltage
Vc=0.5
Vo=Vr-Vc//output voltage
Vi=Vo/Vc^2//input voltage
mprintf('the dc voltage as function of input voltage is %d V',Vi)