GetMath - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

NaturalLanguage

  

GetMath

  

ask a large language model a question to be answered with math

 

Calling Sequence

Parameters

Description

Examples

References

Compatibility

Calling Sequence

GetMath(s)

GetMath(s, mo)

Parameters

s

-

string, query to send to a large language model.

mo

-

(optional) option of the form model=m, where m is GPT4o, O1Mini, O3Mini, or default.

Description

• 

The GetMath command sends the string query to a large language model. The result is returned as a mathematical expression.

• 

Maple can interface with OpenAI's GPT-4o, o1-mini, and o3-mini models. You can select these by using the options model=GPT4o; model=O1Mini; and model=O3Mini, respectively. By default, or when explicitly selected with the model=default option, a Maplesoft server chooses an appropriate model. (At the time of release of Maple 2025, this was the o3-mini model.) Note that OpenAI may deprecate and disable models, so the set of models supported may change in the future.

  

Note: Large language models often generate inaccurate statements. Please keep this in mind: this is not technology for building a bridge with.

Examples

withNaturalLanguage:

GetMathWhat is the resistance of five resistors connected in parallel?

Req=11R1+1R2+1R3+1R4+1R5

(1)

GetMathWhat is the energy stored in a flywheel

E=Iω22

(2)

References

  

The OpenAI website.

Compatibility

• 

The NaturalLanguage:-GetMath command was introduced in Maple 2024.

• 

For more information on Maple 2024 changes, see Updates in Maple 2024.

• 

The NaturalLanguage:-GetMath command was updated in Maple 2025.


Download Help Document