Statics·area-of-parabolic-section
Area Of Parabolic Section
Determine the area of a parabolic section defined by specific limits and a given function.
✓ 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.
| # | Inputs | Expected | Got | Status |
|---|---|---|---|---|
| 1 | {"a":4,"h":3} | 8 | 8.000000000000005 | ✓ |
| 2 | {"a":2,"h":5} | 6.666667 | 6.6666666666666705 | ✓ |
APIDeveloper APICall this calculator from codeexpand ↓
Endpoint
POST
/api/calculators/statics/area-of-parabolic-section/computeInputs (2)
anumberdefault1hnumberdefault1
Example
curl -sX POST http://localhost:3001/api/calculators/statics/area-of-parabolic-section/compute \
-H "Content-Type: application/json" \
-d '{"inputs":{"a":1,"h":1}}'Try it live
Edit the body below, then click Call API.Request body
Response
(click Call API to see the response)Source: Pattern from: Chapter 9.pdf. Reproduces a standard area-of-parabolic-section computation; problem text paraphrased.
AI disclosure: Calculator code generated by openai/gpt-4o-mini-2024-07-18; verified by 2 test cases.