I have a SolveAlways command:
SolveAlways[x==1,y]
(This is a minimal solution, the acutal one is a lot harder)
The output is
{{x->1}}
With that, I want to set x=1. (This, being a minimal example, has only one solution x, but in my harder example I have 5; and I don't want to keep typing out x1=1,x2=2,x3=3 every time the solution changes.
How to?
Thanks
res = {{x -> 1}, {x -> 2}}, then you could do something likexsol = x /. res. – J. M.'s missing motivation May 06 '20 at 11:19Part, e.g.xsol[[1]]will be1etc. – corey979 May 06 '20 at 11:22