Should "froot(4*a^2,4)" return [exponent = 2, coef = 1, radicand = 2 a] instead of [exponent = 4, coef = 1, radicand = 4 a^2] ?
- Qian On 12/3/23 21:05, Waldek Hebisch wrote:
Attached is at x^4 + a case handling both negative and positive a. I added separate function to compute root of degree 4, but this still needs improvement. Positive a catches several examples in mapleok.input. Example: (1) -> integrate(1/(x^4 + a^4), x) (1) +-+ +-+ 2 2 +-+ 2 2 x\|2 + a log(a x\|2 + x + a ) - log(- a x\|2 + x + a ) + 2 atan(---------) a + +-+ x\|2 - a 2 atan(---------) a / 3 +-+ 4 a \|2 Type: Union(Expression(Integer),...) Unfortunately, integrate(1/(x^4 + a^2), x) produces (4*a^2)^(1/4) and consequently answer is more complicated then it should be.
-- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/402ae9ce-6509-4373-943e-fd8ced45c4d0%40gmail.com.