summaryrefslogtreecommitdiff
path: root/3637/CH2/EX2.25/Ex2_25.sce
blob: 042fedead22e4388d3810b39f96d824eadc50487 (plain)
1
2
3
4
5
6
7
8
9
10
11
//problem 25 pagenumber 2.108
//given
format(7);
rf1=10e3;//ohm
vi=1e-2;//volt
vt=0.0257;//volt
//determine output voltage
vi=exp(vi/vt);
v0=-vi*rf1;
disp('Output voltage = '+string(v0)+' V');