Question: Why won't it give me 1 ? How do I get it to give me 1?

If I enter the code below the end result is outputted as  Pi/Pi (pi over pi). But I want an output of 1 not pi over pi. How do I get maple to return 1 ?

 

 

test:=int((1/(2*pi) + cos(k*phi)), phi=-Pi..Pi);
t1:=value(test);

 t2:=simplify(t1) assuming k::posint;

 

t3:=simplify(t2);

Please Wait...