After some serious work with TL431 chip, I had to find the proper way to calculate the values of the resistors for any given voltage in a SMPS.
The attached formula is the result of my work.
However the formula is already found on the internet at many places, but I put it in an excel sheet for...