Extract solutions in Solve command in real number

Nguyễn Ngọc Tự shared this question 2 months ago
Answered

As we known, Solve Command return real numbers symbolically

ex: Solve(x^2-3) return list={x=-sqrt(3), x=sqrt(3)}

If we call list(1), it returns the round number x=-1.73.

Are there any way to extract that list in the "real number form" such as call list(1) will return x=-sqrt(3) or -sqrt(3)

Thank you very much

Comments (4)

photo
2

je suppose que vous êtes en fenêtre CAS View, essayez Element()


/h97t23GclrD1QAAAABJRU5ErkJggg==

photo
1

Hi Noel Lambert,

I'll try your suggestion but it does not work. Cannot edit eq bay $eq. It works only on CAS and how to call that value to graphics?

01a68c7faa0db5e4e6d618e0df400a41

photo
1

Thanks Noel Lambert,FormulaText($2) works on graphics.

photo
2

instead Solve(), i prefer Solutions()

photo
© 2020 International GeoGebra Institute