ResearchForge / Calculators
Calculus/Cal 2·convergence-of-integrals

Convergence Of Integrals

Assess whether the given integrals converge or diverge, and if they converge, compute their values.

Math animationCalculus/Cal 2 · convergence-of-integrals
✓ All 2 test cases pass.

Inputs

Test cases

These cases run live in your browser every time the page loads. If any fail, the calculator is broken — file an issue.

#InputsExpectedGotStatus
1{"integral_expression":"1/x^2"}10.9999990009717088
2{"integral_expression":"1/x"}divergesdiverges
APIDeveloper APICall this calculator from codeexpand ↓
Endpoint
POST/api/calculators/calculus-cal-2/convergence-of-integrals/compute
Inputs (1)
  • integral_expressionexpressiondefault "1/x^2"
Example
curl -sX POST http://localhost:3001/api/calculators/calculus-cal-2/convergence-of-integrals/compute \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"integral_expression":"1/x^2"}}'
Try it live
Edit the body below, then click Call API.
Request body
Response
(click Call API to see the response)
full API docs →

Source: Pattern from: Calculus II Final Exam Review.pdf. Reproduces a standard convergence-of-integrals computation; problem text paraphrased.

AI disclosure: Calculator code generated by openai/gpt-4o-mini-2024-07-18; verified by 2 test cases.