For simple math that could work, and as long as the question is close enough to an exact match with plenty of published examples to copy.
A good rule of thumb is that the script it will come up with 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 of a correct result drop off aggressively.
Edit: Your mileage may vary - providing an API to these LLMs that can do math correctly for them is pretty easy. Getting the LLM to consistently detect when to use that API is more challenging.




Yes. And we know Microsoft was drooling over the day when they shut down that server, and everyone’s library stops working 30 days later, allowing Microsoft to re-sell them all the games they previously bought.