Electric Circuits·power-extremum-in-time-varying-circuit
Power Extremum In Time Varying Circuit
Given voltage and current as functions of time in an electrical circuit, find the time at which instantaneous power reaches its maximum value. The power is the product of voltage and current; use calculus to locate the extremum.
✓ 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 | {"voltage_coefficient":80000,"voltage_exponent":500,"current_coefficient":15,"current_exponent":500} | 0.002 | 0.002 | ✓ |
| 2 | {"voltage_coefficient":100000,"voltage_exponent":1000,"current_coefficient":10,"current_exponent":1000} | 0.001 | 0.001 | ✓ |
APIDeveloper APICall this calculator from codeexpand ↓
Endpoint
POST
/api/calculators/electric-circuits/power-extremum-in-time-varying-circuit/computeInputs (4)
voltage_coefficientnumberdefault80000voltage_exponentnumberdefault500current_coefficientnumberdefault15current_exponentnumberdefault500
Example
curl -sX POST http://localhost:3001/api/calculators/electric-circuits/power-extremum-in-time-varying-circuit/compute \
-H "Content-Type: application/json" \
-d '{"inputs":{"voltage_coefficient":80000,"voltage_exponent":500,"current_coefficient":15,"current_exponent":500}}'Try it live
Edit the body below, then click Call API.Request body
Response
(click Call API to see the response)Source: Pattern from: James W. Nilsson, Susan A. Riedel - Electric Circuits 11e - Instructor’s Solution Manual-Pearson (2019).pdf. Reproduces a standard power-extremum-in-time-varying-circuit computation; problem text paraphrased.
AI disclosure: Calculator code generated by anthropic/claude-haiku-4-5-20251001; verified by 2 test cases.