Formula For Energy With Frequency