Text this: On Fejér’s inequality: generalizations and applications