ChatGPT isnt very good in maths. But I have tried a couple of maths prompts, and noticed if you give it a complex maths problem and ask it to think in steps as part of the prompt, it generally gets the answer right. Try it out and let me know how it works for you.