summaryrefslogtreecommitdiff
path: root/3637/CH2/EX2.11/Ex2_11.sce
blob: 1874c001bae0231d2c5fe630be0bbb934619857c (plain)
1
2
3
4
5
6
7
8
9
10
11
//problem 11 pagenumber 2.95
//given
format(6);
rf1=10e3;//ohm
r1=2e3;//ohm
r2=5e3;//ohm
//determine output voltage
cof1=-rf1/r1;//coefficient of v1
cof2=-rf1/r2;//coefficient of v2
disp('Output voltage = '+string(cof1)+'v1+('+string(cof2)+'v2)');