q\left(a,b,c\right)\ =\ \frac{-b\pm\sqrt{b^{2}-4ac}}{2a} r_{esult}\ =\ q\left(1,\ 2,\…
- User
q\left(a,b,c\right)\ =\ \frac{-b\pm\sqrt{b^{2}-4ac}}{2a} r_{esult}\ =\ q\left(1,\ 2,\ 3\right) in desmos when i do this "result" is a "2 element list" how do i view this list?
- Assistant
In Desmos, when you create a function like ( q(a, b, c) = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} ) and then evaluate it with specific values (like ( q(1, 2, 3) )), it returns a list containing the two possible values of the quadratic formula.
To view this two-element list, you can simply type
resultin a new line in Desmos after you've defined it. Here's how to do it:-
Define the function as follows:
plaintextq(a, b, c) = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} -
Calculate the result:
plaintextresult = q(1, 2, 3) -
If you want to display the list, just enter:
plaintextresult -
Desmos will display the values of
resultas a two-element list. You can click on the values or hover over them to see them in more detail.
-