MCP Calc Tools

riemann_sum

Compute the Riemann sum of a function over an interval using specified methods like left, right, midpoint, or trapezoid for numerical integration.

Instructions

Calculate the Riemann sum of a function using different methods

Input Schema

NameRequiredDescriptionDefault
aYesLower limit of integration
bYesUpper limit of integration
expressionYesFunction to integrate
methodNoMethod: left, right, midpoint, or trapezoidmidpoint
nYesNumber of subintervals
variableYesVariable of integration

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": true, "properties": { "a": { "description": "Lower limit of integration", "type": "number" }, "b": { "description": "Upper limit of integration", "type": "number" }, "expression": { "description": "Function to integrate", "type": "string" }, "method": { "default": "midpoint", "description": "Method: left, right, midpoint, or trapezoid", "enum": [ "left", "right", "midpoint", "trapezoid" ], "type": "string" }, "n": { "description": "Number of subintervals", "type": "number" }, "variable": { "description": "Variable of integration", "type": "string" } }, "required": [ "expression", "variable", "a", "b", "n" ], "type": "object" }

You must be authenticated.

Other Tools from MCP Calc Tools

Related Tools

  • @nbiish/mcp-calc-tools
  • @nbiish/mcp-calc-tools
  • @EthanHenrickson/math-mcp
  • @firebase/genkit
  • @EthanHenrickson/math-mcp
ID: s2q7kkn40a