[sympy] Working towards my first patch

2015-02-16 Thread Lokesh Sharma
I have been relieved to find something which I can finally work on. I am happy how well documented it is. The result is I have set up the environment and finally ready to work on it. Let's get started. -- You received this message because you are subscribed to the Google Groups "sympy" group.

[sympy] Forming and solving simple physics equation systems

2015-02-16 Thread Petr Baudis
Hello! This is going to be a rather long post, so I'll first explain what I'm trying to do - then list all the essentially unsuccessful ways I tried so far. Basically, my long-term goal is to build a database of high-school level physics equations (dynamics, energy, electromagnetism, waves, ...)

[sympy] Using latex() without calculating the answer.

2015-02-16 Thread zel noth
I want to use the latex function without calculating the input. For instance if I do latex((2+3)/7) the answer comes out as 5/7, when I want it to come out as (2+3)/7 (with latex). -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from t

Re: [sympy] Forming and solving simple physics equation systems

2015-02-16 Thread Ondřej Čertík
Hi Petr, On Mon, Feb 16, 2015 at 2:56 AM, Petr Baudis wrote: > Hello! > > This is going to be a rather long post, so I'll first explain what I'm > trying to do - then list all the essentially unsuccessful ways I tried > so far. > > Basically, my long-term goal is to build a database of high-schoo

Re: [sympy] Forming and solving simple physics equation systems

2015-02-16 Thread Jason Moore
Here is one way to do it: https://gist.github.com/moorepants/858503aa180df60a7829 But solve is returning an empty list. I'm not sure why that isn't working. Jason moorepants.info +01 530-601-9791 On Mon, Feb 16, 2015 at 10:28 AM, Ondřej Čertík wrote: > Hi Petr, > > On Mon, Feb 16, 2015 at 2:

Re: [sympy] Forming and solving simple physics equation systems

2015-02-16 Thread Jason Moore
I had a sign error. The code works now. Btw, sympy.physics.mechanics is likely overkill for high school physics. You can use it to solve these kinds of problem, but the overhead is high. Jason moorepants.info +01 530-601-9791 On Mon, Feb 16, 2015 at 10:54 AM, Jason Moore wrote: > Here is one

[sympy] Re: Using latex() without calculating the answer.

2015-02-16 Thread Chris Smith
>>> latex(S('(2+3)/7',evaluate=False)) '\\frac{1}{7} \\left(2 + 3\\right)' On Monday, February 16, 2015 at 8:40:47 AM UTC-6, zel noth wrote: > > I want to use the latex function without calculating the input. For > instance if I do latex((2+3)/7) the answer comes out as 5/7, when I want it > to

Re: [sympy] Forming and solving simple physics equation systems

2015-02-16 Thread Petr Baudis
On Tuesday, February 17, 2015 at 3:29:00 AM UTC+9, Ondřej Čertík wrote: > > > (A) Most naive and least flexible approach - define functions s(t) and > v(t), > > build some simple equations around them and then ask for definition > > of v(t) given that s(t) = x_0: > > > > impo