Update README.md
Browse files
README.md
CHANGED
|
@@ -16,3 +16,13 @@ Solve 2**2
|
|
| 16 |
"exponent": {"description": "The exponent to which the number should be raised.", "type": "int"}}}]
|
| 17 |
```
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
"exponent": {"description": "The exponent to which the number should be raised.", "type": "int"}}}]
|
| 17 |
```
|
| 18 |
|
| 19 |
+
```
|
| 20 |
+
solve for 'x' in the equation 2x + 5 = 11?
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
```py
|
| 24 |
+
[{"name": "solving_equation", "description": "Solves a linear equation for a variable.",
|
| 25 |
+
"parameters": {"equation": {"description": "The equation to solve. The format is 'a*x + b = c'.
|
| 26 |
+
For example, '5x + 2 = 10' or '3x - 7 = 1'.", "type": "str"}, "operation": {"description": "The operation (add, sub, etc.) to perform the solving.",
|
| 27 |
+
"type": "str, optional"}, "variable": {"description": "The variable to solve for. Defaults to 'x' if not provided.", "default": "x"}}}]
|
| 28 |
+
```
|