how do you find a full cycle of a trigonemtric function?