Formula For Frequency In Physics