Skip to main content
Glama
agmonetti

mathmethods-mcp

by agmonetti

mc_valor_promedio_1d

Estimate a definite integral using mean-value Monte Carlo, yielding the integral value, confidence interval, and sample statistics.

Instructions

Estimate ∫ₐᵇ f(x) dx with the mean-value Monte Carlo method.

Args: func_str: Math expression in x. a, b: Integration limits (b > a). N: Number of samples. seed: Optional RNG seed for reproducibility. precision: Rounding digits. nivel_confianza: Confidence level in (0, 1).

Returns: Dict with the estimate, confidence interval and sample statistics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
NNo
aYes
bYes
seedNo
func_strYes
precisionNo
nivel_confianzaNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/agmonetti/mathmethods-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server