disp('chapter 3 ex3.1') disp('given') disp('resistor connected R1=Rs=47kohms') R1=47000 Rs=47000 disp('IB(max)=500nA and Ii(offset)=20nA') IBmax=500*10^(-9) Iioffset=20*10^(-9) disp('V(max)=IB(max)*Rs') Vmax=IBmax*Rs disp('volt',Vmax) disp('Vioffset=Ii(offset)*Rs') Vioffset=Iioffset*Rs disp('volt',Vioffset)