For simple math that could work, and as long as the question is close enough to an exact match with plenary of published examples to copy.
A good rule of thumb is that the script is will come up with it is about as likely to be correct as blindly taking the highest voted answer to the most similar question on Stack Overflow.
If the question is simple and common, the odds are quite good. If the question is nuanced or rare, the odds is a correct result drop off aggressively.
For simple math that could work, and as long as the question is close enough to an exact match with plenary of published examples to copy.
A good rule of thumb is that the script is will come up with it is about as likely to be correct as blindly taking the highest voted answer to the most similar question on Stack Overflow.
If the question is simple and common, the odds are quite good. If the question is nuanced or rare, the odds is a correct result drop off aggressively.