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.
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 |