frequency analysis solved