Oscillation Frequency Calculator Using Period