If it is this easy to prompt chatgpt to flag math, why not send it off to Mathematic or Sage or Matlab instead of trying to (incorrectly) solve it? It refused to put it in a code block but dont have that issue!