Hello; When using Fricas directly, I always set
setSimplifyDenomsFlag(true)
Before calling integrate. For example
setSimplifyDenomsFlag(true)
integrate((x+(1+x)^(1/2))^(1/2)/(x^2+1)/(1+x)^(1/2),x)
Otherwise, many integrals will hang or take too much time. Since I have a timeout of 3 minutes, it will fail.
But from sage, I could only do
integrate((x+(1+x)^(1/2))^(1/2)/(x^2+1)/(1+x)^(1/2),x,algorithm="fricas")
Is there a way to somewhere pass this command to fricas along with the integrate command? i.e. is there a way to pass 2 commands to be executed in same transaction to the other CAS? Because without being able to set this flag before calling integrate, this will not work. By default this flag is set to false in Fricas for some reason.
Thank you
--Nasser