mc_valor_promedio_3d
Estimate triple integrals of f(x,y,z) over a rectangular 3D box via Monte Carlo sampling, with an optional PNG histogram of sampled values.
Instructions
Estimate the triple integral of f(x,y,z) over the box [x_a,x_b]×[y_a,y_b]×[z_a,z_b].
With plot=True a PNG histogram of the sampled f values is returned as
[dict, Image] alongside the numeric result.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"func_str": "<func_str>",
"x_a": "<x_a>",
"x_b": "<x_b>",
"y_a": "<y_a>",
"y_b": "<y_b>",
"z_a": "<z_a>",
"z_b": "<z_b>"
},
"name": "mc_valor_promedio_3d"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| N | No | ||
| x_a | Yes | ||
| x_b | Yes | ||
| y_a | Yes | ||
| y_b | Yes | ||
| z_a | Yes | ||
| z_b | Yes | ||
| plot | No | ||
| seed | No | ||
| func_str | Yes | ||
| precision | No | ||
| nivel_confianza | No |