Suppose I have a function, for example
f(t) = triangularPulse(-1,1,t)
Now create its periodic extension using mod()
f_P(t) = f(mod(t+1,P)-1);
Suppose I want to integrate one period from f_P(t)
What I'm looking for is
But I can't figure out how to extract one period from f_P(t) in a form that int() can handle, which presumably would be an integrand not defined in terms of mod(). For example, I was hoping this might work
Is there a way to define a symfun that is one period of f_P and is not defined in terms of mod()?