Pages

Monday, March 15, 2010

Mathematica



I finally discovered the reason for the extremely ugly results that Mathematica seems prone to return for integrals: it makes no assumptions about the nature of your variables, and thus gives as general a result as possible (taking into account complex and negative possibilities, for instance). With the proper assumptions, it returns a very neat result:

As compared to the following, without the assumptions:

Note that the first form allows for assumptions, while the second (traditional) form doesn't seem to. I suspect that's incorrect, but I haven't figured out the syntax yet.

Israeli Aid

... Actually a lot less that I might have guessed: