Tan Graph Period Function