The amplitude and the orientation for this function are correct, but the period is not. You may have seen the label at and used that value for the period. Remember that the period is the length of one cycle.