blob: d7b0c848b16a1efbba59c6d7f87a294c89290868 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//problem 4 pagenumber 2.87
//given
format(6);
r1=10e3;//ohm
rf1=20e3;//ohm
r2=5e3;//ohm
//determine gain of amplifier
a1=1+rf1/r1;
a2=-rf1/r1;
disp( 'Switch off gain = '+string(a1+a2));//no unit
disp( 'Switch on gain = '+string(a2));//no unit
|