Dear All,
I am making my first baby steps with sympy and I must be
misunderstanding something.
I want to simplify the expression
(N**2/8 -1/8)/((N-1)/2) hence this is what I do in a ipython shell
n [2]: from sympy import *
In [3]: var("N")
Out[3]: N
In [4]: simplify((N**2/8 -1/8)/((N-1)/2))
Out[4]: N**2/(4*(N - 1))
however, the right result is (N+1)/4.
It is not rocket science, so what (obvious) thing am I missing?
Many thanks
Lorenzo
--
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 https://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/20170201153814.GA3881%40chicca.
For more options, visit https://groups.google.com/d/optout.