Equation For Finding The Period