G = 4; r = G; // ratio of the resistances in the inverting op-amp circuit disp(r,"Rf/Ri") //Result; //A suitable choice for Rf=30K and R1=7.5K //therefore input resistance R1 = 7.5K