In this configuration the OpAmp works as a Non-inverting amplifier with unitary gain.
The formulation is the same of the Non-inverting, but in this case we remove the resistor Rg. This is the same that a infinity impedance. Putting in the formula, the gain will be unitary
Output:
Vout = Vin
Ps .: Rg is the resistor connecting the inverting input to the ground.
Ps2 .: This simulation use DC signals because it's easier to see the numerical results and check with the formula. You can change to sine or square wave if prefer.