I am using an LM337 to keep voltage stable at 3V from a battery supply (4x AAA). I've calculated R1 and R2 from the formula to be 100 Ohms and 140 Ohms respectively:
Vo = -1.25*(1+R2/R1)
Vo = -1.25*(1+140/100)
Vo = -1.25*(1+1.4)
Vo = -3
And I used 1uF solid tantulum and 10uF electrolytic capacitors.
Yet it gives me about 4.5V output. Did I screw up something?