As illustrated in Polkadot.js.org staking page which is added below, users who staked more than "min nominated" will receive rewards. minNominated is a dynamic value. I found the code in Polkadot js app link but does not help a lot. could someone please let me know find the formula to calculate the minNominated?
Thank you