[sympy] Re: Finding factor in a product

2009-07-17 Thread smichr
On Jul 16, 6:48 pm, Toon Verstraelen toon.verstrae...@ugent.be wrote: Christophe wrote: Hello, suppose that we have the following expression : (x**2+1)*(log(x+4)-7) I would like to know that is a product and to have : (x**2+1) and (log(x+4)-7). In terms of

[sympy] Re: Finding factor in a product

2009-07-17 Thread Christophe
That's look great. Indeed, I'm looking for strategies to solve simple inequations of one variable. Best regards. Christophe. smichr a écrit : On Jul 16, 6:48 pm, Toon Verstraelen toon.verstrae...@ugent.be wrote: Christophe wrote: Hello, suppose that we have the following

[sympy] Re: Finding factor in a product

2009-07-16 Thread Toon Verstraelen
Christophe wrote: Hello, suppose that we have the following expression : (x**2+1)*(log(x+4)-7) I would like to know that is a product and to have : (x**2+1) and (log(x+4)-7). You need to play a little with the args attribute. Try this y = (x**2+1)*(log(x+4)-7)

[sympy] Re: Finding factor in a product

2009-07-16 Thread Christophe
Toon Verstraelen a écrit : Christophe wrote: Hello, suppose that we have the following expression : (x**2+1)*(log(x+4)-7) I would like to know that is a product and to have : (x**2+1) and (log(x+4)-7). You need to play a little with the args attribute.