G'day,
I found a rather peculiar behaviour with Wolfram API under very specific conditions, pertaining to division of two numbers. Here are the conditions:
- The numerator must consist of only 1's, greater than or equal to nine digits;
- The denominator is an integer ranging 2 ~ 249;
- Division can be represented in multiple ways, such as "
/
", "divided by
".
Doing so yields an error, along the lines of:
<?xml version='1.0' encoding='UTF-8'?>
<queryresult success='false'
error='true'
xml:space='preserve'
numpods='0'
datatypes=''
timedout=''
timedoutpods=''
timing='1.256'
parsetiming='0.'
parsetimedout='false'
recalculate=''
id=''
parseidserver='13'
host='https://www6b3.wolframalpha.com'
server='13'
related=''
version='2.6'>
<error>
<code>1010</code>
<msg>Computation error</msg>
</error>
</queryresult>
You can quickly test this out at https://products.wolframalpha.com/api/explorer/.
Further discussion on why this happens is appreciated.