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

2017-09-20 Thread Yann Cargouet
Thank you Nils for your answer 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

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

2017-09-20 Thread Nils Bruin
On Tuesday, September 19, 2017 at 10:45:06 PM UTC-7, Yann Cargouet wrote: > > 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 s

[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