I'm learning about op amps and I have the following problem. I need to make a circuit using one op amp that give me the following output (Vi input, Vo output)
I know that the output will be like $$ v_o = 4\,v_i+6 $$ So I assume that I can make this work with an additive non-inverter amplifier, where one of the inputs will be the 6 V offset. I think that a configuration like this is what I need
I found that the equation for the output in this case will be this $$ v_o=\left(\frac{R_f}{R_s}+1\right)\left(\frac{1}{R_1}+\frac{1}{R_2}\right)\left(\frac{v_i}{R_1}+\frac{V_2}{R_2} \right) $$ And then I played around with the resistors but I didn't reach anywhere. I dont know what I am missing