ResearchForge / Calculators
Engineering optimzation·equivalent-spring-constant-series-parallel

Equivalent Spring Constant Series Parallel

Given two springs with stiffnesses k₁ and k₂ arranged in series, calculate the equivalent spring constant of the combined system.

✓ 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{"k1":1000,"k2":1500}600600
2{"k1":2000,"k2":2000}10001000
APIDeveloper APICall this calculator from codeexpand ↓
Endpoint
POST/api/calculators/engineering-optimzation/equivalent-spring-constant-series-parallel/compute
Inputs (2)
  • k1numberdefault 1000
  • k2numberdefault 1500
Example
curl -sX POST http://localhost:3001/api/calculators/engineering-optimzation/equivalent-spring-constant-series-parallel/compute \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"k1":1000,"k2":1500}}'
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: Ch1.pdf. Reproduces a standard equivalent-spring-constant-series-parallel computation; problem text paraphrased.

AI disclosure: Calculator code generated by anthropic/claude-haiku-4-5-20251001; verified by 2 test cases.