can you integrate this by hand? If so, I suggest you write a program to imitate what you do by hand. It seems to me that unless you know a value for T, it is difficult. If you know a value for T, then it can be done by any of the quadrature programs in Maxima.