Eduardo, The example you show is somewhat trivial. Can't you just write a few lines of plain ole SymPy to solve most college physics problems? Having such a verbose class in the C++ example seems to defeat the purpose for learning college physics. You could formulate a problem like that with mechanics, but the equations of motion simplify a lot. Once you have the equations of motion you could find the the solution with SymPy's integration functions. But the overhead of using the mechanics package isn't that advantageous in such simple problems as these. I'd just use SymPy to "write" the problem out like you do by hand.
Particle Jason moorepants.info +01 530-601-9791 On Wed, Mar 13, 2013 at 8:53 PM, Eduardo Cavazos <[email protected]>wrote: > On Monday, March 11, 2013 2:26:52 AM UTC-5, Gilbert Gede wrote: > > A good example of the functionality in the physics.mechanics submodule is >> here: >> http://www.moorepants.**info/blog/npendulum.html<http://www.moorepants.info/blog/npendulum.html> >> . >> > > That's a great example. Thanks Gilbert! > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
