This looks like a bug I have not seen before. Any one seen this before?
Error, (in Handlers:-TrigExpOnly) cannot determine if this expression is true or false: tr_is_cos
Can others reproduce it? I am using Maple 2023.2 on windows 10
btw, I found that by doing int(evala(integrand),t) instead of int(integrand,t) then the error goes away but not all the time. Below are two examples. The first where evala() fixes it, but the second it does not fix it.
But the trick of using evala() to avoid this error does not always work. Here is an example below. So need to find another workaround for this.
ps. send to Maplesoft support.