Variable output power supply
I want to design a power supply with following specs
Input = 100VAC to 265VAC
Output = 0V to 5V variable output and current is 5A
Can I use a potentiometer (pot) in pace of the fixed resistor used in the TL431 circuit (the resistor that is connected to secondary return) and get a variable output voltage ?