Luke wrote: > I tried both of those options and had no luck :( > > Have you looked at the paper by Fu, Zhong, and Zeng: > http://vv.cn/d/d.aspx?Id=21987_1.0.42119 > > I read it, and think it seemed reasonable, but I'm no expert and want > to see what else was out there... maybe there are other approaches > worth considering. Before investing in a lot of coding time, it would > nice to be sure that a good algorithm is being used, although I must > say their comparisons with the other popular packages out there seem > favorable. > > ~Luke > > On May 20, 7:50 am, Alan Bromborsky <[email protected]> wrote: > >> Luke 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. >>> >>> Thanks, >>> ~Luke >>> >> Did you try the deep and recursive switches on the most recent version >> of trigsimp. I also would like trigsimp to do better for the same >> reasons you gave and would also like it to apply to hyperbolic trig >> functions. One thing I would do for trigsimp is to convert all trig >> functions in the expression to sin's and cos's before simplifying. >> > > > I have started implementing the algorithm, although I haven't really got much done. I couldn't find any other algorithm to do the simplification. I wonder what Maxima does to simplify trigonometric expressions.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---
