- > Long lines aren't broken.
- 
- FriCAS don't have support for automatically breaking long equations, and
- I doubt other CASs can.  That means, if a result looks messy in terminal,
- it will be messy in other output backends.
- 
- For this particular integration, complexIntegration gives a cleaner 
result:
- 
- (1) -> complexIntegrate(sqrt(x^2+1)/(x^4+1), x)

   (1)
          ┌──────────┐      ┌──────────┐      ┌──────┐
          │ ┌───┐           │ ┌───┐           │ 2          ┌───┐     2
       - \│\│- 1  - 1 log(2\│\│- 1  - 1  - 2x\│x  + 1  - 2\│- 1  + 2x )
     + 
          ┌────────────┐         ┌──────┐     ┌────────────┐
          │   ┌───┐              │ 2          │   ┌───┐          ┌───┐     2
       - \│- \│- 1  - 1 log(- 2x\│x  + 1  + 2\│- \│- 1  - 1  + 2\│- 1  + 2x 
)
     + 
        ┌────────────┐         ┌──────┐     ┌────────────┐
        │   ┌───┐              │ 2          │   ┌───┐          ┌───┐     2
       \│- \│- 1  - 1 log(- 2x\│x  + 1  - 2\│- \│- 1  - 1  + 2\│- 1  + 2x )
     + 
        ┌──────────┐        ┌──────────┐      ┌──────┐
        │ ┌───┐             │ ┌───┐           │ 2          ┌───┐     2
       \│\│- 1  - 1 log(- 2\│\│- 1  - 1  - 2x\│x  + 1  - 2\│- 1  + 2x )
  /
     4
- 
- which is similar to mma's output:
-                   3/2                            3/2
           (1 - I)    x                   (1 + I)    x
ArcTan[--------------------]   ArcTan[--------------------]
                         2                              2
       Sqrt[2] Sqrt[1 + x ]           Sqrt[2] Sqrt[1 + x ]
---------------------------- + ----------------------------
       Sqrt[2 - 2 I]                  Sqrt[2 + 2 I]

-- 
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 post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to