• It would be good to see what you've tried here, and also, what are you calling frequency here? What is the math you're using.