Ahh -- thank you. I was using solveset. Should have used solve. On Fri, Mar 8, 2019 at 9:57 AM Oscar Benjamin <[email protected]> wrote:
> On Fri, 8 Mar 2019 at 17:25, Stuart Reynolds <[email protected]> > wrote: > > > > Dear Sympy users, > > > > I'm new to sympy and interested in using it for function design. > > I'm curious about what types of things I should be able to expected > sympy.solve to solve. In particular, trying to solve: > > (1. - (x ** 2)) ** (1. / 2) = 1/2 > > seems to fail for me: > > You can solve it like this using rational or floats: > > In [9]: solve(Eq((1-(x**2))**(S(1)/2), S(1)/2), x) > > Out[9]: > > ⎡-√3 √3⎤ > > ⎢────, ──⎥ > > ⎣ 2 2 ⎦ > > > In [10]: solve(Eq((1.0-(x**2))**0.5, 0.5), x) > > Out[10]: [-0.866025403784439, 0.866025403784439] > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/CAHVvXxQv3OQVtaFRMT44v4qWUoxgq35dL0jFSi_NTpfg9O5YPw%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAAy-kdkVyuvWiUt1ArXpZhJPDtWn4hswdC6wXfpGn--fwVRNfw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
