So i have two functions defined as
f(x)=x^2-x-6
and g(x)=x+2
I need to find the points where f(x)=g(x)
When i
solve(f(x)=g(x),x)
i get two values;
x=-2
and x=4
My question is, can i define the two values individually from the solve so i get
x1=-2
and x2=4 ?
I've tried getting the text out as a string using string(solve
and a version of
res:=solve({x+2*y=5,x-y=2},{x,y})
from another post. But this doesn't seem to work for me.
Thanks!