Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Mathematica evaluation not completing' topicStudent Support Forum > General > "Mathematica evaluation not completing"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
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: ,

Subject (listing for 'Mathematica evaluation not completing')
Author Date Posted
Mathematica evaluation not completing Dean 07/29/12 12:51pm
Re: Mathematica evaluation not completing Bill Simpson 07/30/12 11:37am
Re: Re: Mathematica evaluation not completing Dean 07/31/12 11:52pm
Re: Mathematica evaluation not completing Forum Modera... 08/01/12 11:27am
Re: Re: Mathematica evaluation not completing Dean 08/02/12 4:11pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic