How do you graph p(t)=1/2cot(pi/4t) over the interval [-4,4]?

1 Answer
Aug 2, 2018

See graph and explanation.

Explanation:

p ( t ) = 1/2 cot (pi/4 t) = 1/2 cos ( pi/4 t )/sin ( pi/4 t ),

pi/4 t ne asymptotic k pi, k = 0, +- 1, +- 2, +-3, ...

rArr t ne 4 k

rArr t ne 0, +- 4, +- 8, ...

The period = pi/(pi/4) = 4.

Graph for two periods, t in [ - 4, 4 ],

sans asymptotic t = 0, +- 4:
graph{(2ysin(pi/4x)-cos(pi/4x))(x-4+0.0001y)(x+4+0.0001y)(x +0.0001y)=0[-4.4 4.4 -2 2]}