ResearchForge / Calculators
Calculus/Cal 2·definite-integral-evaluation

Definite Integral Evaluation

Calculate the value of a definite integral over a specified interval.

Math animationCalculus/Cal 2 · definite-integral-evaluation
✓ 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{"integrand":"sec^2(x)","lower_limit":0,"upper_limit":"pi/4"}11.0000000000001679
2{"integrand":"3*x^2","lower_limit":1,"upper_limit":2}77.000000000000002
APIDeveloper APICall this calculator from codeexpand ↓
Endpoint
POST/api/calculators/calculus-cal-2/definite-integral-evaluation/compute
Inputs (3)
  • integrandexpressiondefault "sec^2(x)"
  • lower_limitnumberdefault 0
  • upper_limitnumberdefault "pi/4"
Example
curl -sX POST http://localhost:3001/api/calculators/calculus-cal-2/definite-integral-evaluation/compute \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"integrand":"sec^2(x)","lower_limit":0,"upper_limit":"pi/4"}}'
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 definite-integral-evaluation computation; problem text paraphrased.

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