# Revision history [back]

### Get Sage to display the 2nd x value, when function is set to 0?

I did the following and only got 3/2 as an answer, instead of getting 3/2 & 8, as an answer:

ans=solve(2*x^2-19*x+24==0,x)
x0=ans[0].rhs()
show(x0)


Doing, factor(2x^2-19x+24), displays, (x - 8)(2x - 3).

 2 retagged FrédéricC 2449 ●3 ●28 ●50

### Get Sage to display the 2nd x value, when function is set to 0?

I did the following and only got 3/2 as an answer, instead of getting 3/2 & 8, as an answer:

ans=solve(2*x^2-19*x+24==0,x)
x0=ans[0].rhs()
show(x0)


Doing, factor(2x^2-19x+24), displays, (x - 8)(2x - 3).

 3 retagged FrédéricC 2449 ●3 ●28 ●50

### Get Sage to display the 2nd x value, when function is set to 0?

I did the following and only got 3/2 as an answer, instead of getting 3/2 & 8, as an answer:

ans=solve(2*x^2-19*x+24==0,x)
x0=ans[0].rhs()
show(x0)


Doing, factor(2x^2-19x+24), displays, (x - 8)(2x - 3).