# Revision history [back]

### NUMERICAL VALUE

Let's say:
z = solve(gen_legendre_P(2, 0, x) == 0, x);

$$z = [x = -1/3 * sqrt(3), x = 1/3 * sqrt(3)]$$

How can I make numerical value of that?

numerical_approx(z)
N(z)
n(z)
z.n()
RR(z)

DON'T WORK!

 2 No.2 Revision DSM 5172 ●20 ●68 ●111

### NUMERICAL VALUEconverting symbolic solve output to numbers [was "numerical value"]

Let's say:
z = solve(gen_legendre_P(2, 0, x) == 0, x);

$$z = [x = -1/3 * sqrt(3), x = 1/3 * sqrt(3)]$$

How can I make numerical value of that?

numerical_approx(z)
N(z)
n(z)
z.n()
RR(z)

DON'T WORK!

### converting symbolic solve output to numbers [was "numerical value"]

Let's say:
z = solve(gen_legendre_P(2, 0, x) == 0, x);
say:

$$z = [x = -1/3 * sqrt(3), x = 1/3 * sqrt(3)]$$

How can I make numerical value of that?

numerical_approx(z)
N(z)
n(z)
z.n()
RR(z)

DON'T WORK!

 4 retagged Kelvin Li 503 ●5 ●12 ●17

### converting symbolic solve output to numbers [was "numerical value"]

Let's say:

$$z = [x = -1/3 * sqrt(3), x = 1/3 * sqrt(3)]$$

How can I make numerical value of that?

numerical_approx(z)
N(z)
n(z)
z.n()
RR(z)

DON'T WORK!