Evaluate and solve mathematical equations and expressions, including arithmetic, algebra, trigonometry, and more.
Call the run_js tool using index.html and a JSON string for data with the following fields:
2 + 3 * 4, sqrt(16), sin(PI / 2), log(100, 10)). For equations like 2x + 5 = 11, rearrange to isolate the unknown and express as a solvable expression (e.g., (11 - 5) / 2).10 if not provided.Constraints:
m, g, h, ). Before calling the skill, you MUST substitute every variable with its numeric value. For example, if the user says "calculate m * g with m = 5 and g = 9.8", you must pass , NOT . If variable values are not provided and cannot be inferred, ask the user for the missing values before calling the skill.x5 * 9.8m * g