On Fri, Mar 23, 2012 at 5:33 PM, Elliot Marshall <[email protected]> wrote: > For example, I would like to write the functions necessary so that, using > sympy.physics.mechanics, one could use Euler, Lagrange, and possibly other > methods to find the dynamical equations of motion for a system.
I assume you mean Euler-Lagrange? I'd like to see it progress to handling variables that vary spatially and not just in time. That said, I'd like Euler-Lagrange support as well. Supporting vector variables (in a linear algebra sense) would be nice as well. I believe there's been work on symbolic matrix expressions in Sympy. This would allow for the derivation of finite element equations. Implementing just Euler-Lagrange shouldn't take too long if one is familiar with the programming of the module. I expect probably a few weeks to a month at most. My implementation of E-L in Maple is less than a page of code, most of that is converting from a function to a variable that can be differentiated and back. There will be a bit setting things up for the E-L equation, but some can probably be reused from the current module. Cheers, Tim. -- Tim Lahey PhD Candidate, Systems Design Engineering University of Waterloo http://about.me/tjlahey -- 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.
