On Wed, May 20, 2009 at 7:29 AM, Luke <hazelnu...@gmail.com> wrote:
>
> Last  night I was deriving the moment of inertia for a solid torus
> using Sympy.  It mostly worked, except for the step where the
> determinant of the Jacobian for the change of variables mapping was to
> be computed, the result was unable to be simplified by trigsimp.  I
> gave it a shot anyway, and it resulted in integrate() stalling on the
> triple integral that is necessary.  Using other means to compute the
> Jacobian of the determinant, then using that result in integrate()
> resulted in the correct solution for the moment of inertia, which is
> comforting, but at the same time, really makes me want to get trigsimp
> to work better.
>
> I know of the paper by Fu, Zhong, and Zeng, but I was wondering if
> anybody had any other recommendations for approaches to trigonometric
> simplification.  It would be really nice if this part of sympy worked
> better.  If there is somebody else out there who would like to tackle
> this together, let me know and we could figure out a reasonable
> approach.

There is a paper somewhere in our issues, I forgot if it's the "Fu,
Zhong, and Zeng" or some other one. I would just implement that, it
seems systematic and should do the job.

But try what Alan has suggested first.

Ondrej

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com
To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to