// calculating feedback resistance clc; A=100; R1=1*10^3; Rf=-A*R1; disp(Rf,'feedback resistance (ohm)=');