Group Abstract Group Abstract

Message Boards Message Boards

0
|
8.1K Views
|
5 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Is there some kind of limit on the complexity of equations for W|A "solve"

Posted 10 years ago
POSTED BY: Dylan Williams
5 Replies

Here is something a little bit more systematic. The following code generates Wolfram|Alpha queries with different numbers of "a's".

results = 
  Monitor[Table[{i + 1, First@(List @@ WolframAlpha[Evaluate@StringJoin[Join[{"solve b=a"}, Table["+a", {i}], {" for a"}]], {{"Result", 1}, 
 "FormulaData"}])}, {i, 1, 40}], i];

It turns out that the interesting one is at the transition at 24 a's. The following runs 40 trials of that one request.

results2 = 
  Monitor[Table[{i,First@(List @@ WolframAlpha[Evaluate@StringJoin[Join[{"solve b=a"}, Table["+a", {23}], {" for a"}]], {{"Result", 1}, 
  "FormulaData"}])}, {i, 1, 40}], i];

Here are the results in two tables:

TableForm[{{Grid[Join[{{"Number a's", "Result"}}, results], Frame -> All], Grid[Join[{{"Trial", "Result"}}, results2], Frame -> All]}}]

enter image description here

Cheers,

Marco

POSTED BY: Marco Thiel

Hi,

Interestingly, a Wolfram|Alpha request from within Mathematica works just fine:

enter image description here

Cheers,

M.

POSTED BY: Marco Thiel
Posted 10 years ago

what about 25 or 30? i should have mentioned earlier, i did get inconstant results, sometimes it would accept 24, but not 25, sometimes it would accept 23 but not 24 etc

POSTED BY: Dylan Williams

Hi,

can confirm that. As you say sometimes 24 works sometimes it does not. I would not have expected this to give different outputs. It does not appear to be related to some server time to parse the input either.

Cheers,

M.

POSTED BY: Marco Thiel
POSTED BY: Sander Huisman
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard