| Author |
Comment/Response |
Forum Moderator
email me
 |
08/01/12 11:27am
Many suspected hangs turn out to be just very, very slow. Not that it makes a big difference for most users.
This case is a known problem with SolveAlways and the form Sqrt[1 - r^2].
In[1]:= TimeConstrained[
SolveAlways[(a + b) (1 - r^2) + c r Sqrt[1 - r^2] == 0, {r}], 30]
Out[1]= $Aborted
Replacing the Sqrt with a scalar gives something that is solved quickly.
In[2]:= Timing[ SolveAlways[(a + b) qq^2 + c r qq == 0, {r, qq}]]
Out[2]= {0.001246, {{a -> -b, c -> 0}}}
My apologies for the inconvenience this caused.
URL: , |
|