Hello everyone, I’m new here and new to Mathematica, very excited about it.
I have two questions:
1)is there a way to store variables after a Solve operation? For example a=Solve[x+1==0,x]
2)solving this gives me troubles: Solve[s^2+s+1==0,s] result s → -(-1)1/3}, {s → (-1)2/3}. Correct result are two complex conjugate radixes, is that a sort of module+phase writing? If so is there a way to obtain arithmetic format?
Using the domain field Solve[s^2+s+1==0,s,Complexes] doesn’t help. The thing I do not understand further is that if I solve as^2 +bs +c==0 it gives be the classical 2nd order formula and if then I substitute a=b=c=1 then I get the correct complex radixes in arithmetic form!
Mathematica understands that the solution is complex and is probably trying to write it in the most compact form. To expand, you could use ExpToTrig like so