[sage-support] Re: Problem with pdflatex.

2017-09-19 Thread Venkataraman S
Thanks a lot. It Best, On Thursday, September 14, 2017 at 4:59:04 AM UTC+5:30, slelievre wrote: > > Wed 2017-09-13 05:11:50 UTC, Venkataraman S: > > I am using sage 7.6. Recently installed GAP packages. > > The following input produces pdflatex error. > > > > R=PolynomialRing(RR,'x') > > points=

[sage-support] Re: how to factorize a polynomial function of third degree with only variables like coefficient

2017-09-19 Thread Yann Cargouet
Hi Simon, Thank you for your answer, I will try the Ansatz and comparison of coefficients. To find coefficients a, b, and c I tried to solve a system of three equations but unfortunately it doesn't work. The system is depicted below: eq1 = a + b == Rl*Rs*Cc*gm + Rc*Cc + Rl*Cc + Rl*Cl + Rs*Cc + R

[sage-support] Re: how to factorize a polynomial function of third degree with only variables like coefficient

2017-09-19 Thread Simon King
On 2017-09-19, Simon King wrote: > Since you explicitly ask about a factorisation of the form > (1 + a*s + b*s^2)*(1 + c*s): Sorry, I was stupid: Your polynomial is of degree 3 in s. Thus, if a factorisation exists, then it is of the above form. Anyway: From an Ansatz and comparison of coefficie

[sage-support] Re: how to factorize a polynomial function of third degree with only variables like coefficient

2017-09-19 Thread Simon King
Hi Yann, On 2017-09-19, Yann Cargouet wrote: > Here is the text of the expression: > Cc*Cin*Cl*Rc*Rl*Rs*s^3 + Cc*Cl*Rc*Rl*s^2 + Cc*Cin*Rc*Rs*s^2 + > Cc*Cin*Rl*Rs*s^2 + Cc*Cl*Rl*Rs*s^2 + Cin*Cl*Rl*Rs*s^2 + Cc*Rl*Rs*gm*s + > Cc*Rc*s + Cc*Rl*s + Cl*Rl*s + Cc*Rs*s + Cin*Rs*s + 1 >> I would like to

[sage-support] Re: how to factorize a polynomial function of third degree with only variables like coefficient

2017-09-19 Thread Yann Cargouet
Here is the text of the expression: Cc*Cin*Cl*Rc*Rl*Rs*s^3 + Cc*Cl*Rc*Rl*s^2 + Cc*Cin*Rc*Rs*s^2 + Cc*Cin*Rl*Rs*s^2 + Cc*Cl*Rl*Rs*s^2 + Cin*Cl*Rl*Rs*s^2 + Cc*Rl*Rs*gm*s + Cc*Rc*s + Cc*Rl*s + Cl*Rl*s + Cc*Rs*s + Cin*Rs*s + 1 Yann Le mardi 19 septembre 2017 10:23:07 UTC+2, Yann Cargouet a écrit :

[sage-support] Re: how to factorize a polynomial function of third degree with only variables like coefficient

2017-09-19 Thread Dima Pasechnik
On Tuesday, September 19, 2017 at 9:43:08 AM UTC+1, Yann Cargouet wrote: > > Here is the expression: > No, this is a graphic image! Please post the text instead... > > > > Le mardi 19 septembre 2017 10:23:07 UTC+2, Yann Cargouet a écrit : >> >> Hi everybody, >> >> I would like to factorize a

[sage-support] Re: how to factorize a polynomial function of third degree with only variables like coefficient

2017-09-19 Thread Yann Cargouet
Here is the expression: Le mardi 19 septembre 2017 10:23:07 UTC+2, Yann Cargouet a écrit : > > Hi everybody, > > I would like to factorize a polynomial function of third degree in order > to obtain the following form: > (1 + a*s + b*s^2)*(1 + c*s). > > Here my test case: > > When I use the fact

[sage-support] Re: how to factorize a polynomial function of third degree with only variables like coefficient

2017-09-19 Thread Dima Pasechnik
I'd suggest to cut and paste text from the browser/notebook, not making images. Retyping your long formula by hand is not fun at all. On Tuesday, September 19, 2017 at 9:23:07 AM UTC+1, Yann Cargouet wrote: > > Hi everybody, > > I would like to factorize a polynomial function of third degree in o

[sage-support] how to factorize a polynomial function of third degree with only variables like coefficient

2017-09-19 Thread Yann Cargouet
Hi everybody, I would like to factorize a polynomial function of third degree in order to obtain the following form: (1 + a*s + b*s^2)*(1 + c*s). Here my test case: When I use the factor() function there is no change on the expression. Which function I have to use to obtain the wanted simplica