patrick-kidger / patrick-kidger/diffrax
Example for solving forced ODE
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.1k
- Forks
- 189
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 1
Description
Very cool work!
It would be great to have an example on how to solve an ODE that is directly forced by some signal x(t), e.g. a forced mass-spring-damper
m y'' + r y' + k y = x(t).
Do I understand correctly, that the controlled ODEs are "forced" by the derivative of x(t)?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the existing ODE examples and documentation to find where a forced mass-spring-damper example belongs. Use the equation in the issue as the target case, explain whether the controlled ODE formulation forces by x(t) or its derivative, and mark the work done when the example and clarification are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100