Statics·combined-distributed-loads
Combined Distributed Loads
Calculate the equivalent point load for a trapezoidal distributed load by breaking it into a rectangular and a triangular load, then summing their equivalent point loads.
✓ 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 | {"rect_base_length":5,"rect_intensity":100,"tri_base_length":5,"tri_max_intensity":100} | 750 | 750 | ✓ |
| 2 | {"rect_base_length":4,"rect_intensity":200,"tri_base_length":3,"tri_max_intensity":150} | 1025 | 1025 | ✓ |
APIDeveloper APICall this calculator from codeexpand ↓
Endpoint
POST
/api/calculators/statics/combined-distributed-loads/computeInputs (4)
rect_base_lengthnumberdefault5rect_intensitynumberdefault100tri_base_lengthnumberdefault5tri_max_intensitynumberdefault100
Example
curl -sX POST http://localhost:3001/api/calculators/statics/combined-distributed-loads/compute \
-H "Content-Type: application/json" \
-d '{"inputs":{"rect_base_length":5,"rect_intensity":100,"tri_base_length":5,"tri_max_intensity":100}}'Try it live
Edit the body below, then click Call API.Request body
Response
(click Call API to see the response)Source: Pattern from: distributed loads.pdf. Reproduces a standard combined-distributed-loads computation; problem text paraphrased.
AI disclosure: Calculator code generated by openai/gpt-4o-mini-2024-07-18; verified by 2 test cases.