Agentic Coding · Training · Numerical computing

Differential Equations with Coding Agents: A Training on Solver Choice, Stiffness and Verification

Get models from mechanics, biology and process engineering running reliably: the agent writes the code while you decide on solvers, tolerances and plausibility with clear criteria.

  • Workshops & trainings since 2014
  • jocapps GmbH · Freiburg, Germany
  • The team behind Mathe-VollLogo
Format
Training
Duration
1 day (7.5 hours)
Delivery
Live online · On-site (in-house) · Hybrid
Group size
4–12 participants
Level
Intermediate
Language
German or English

Tools: Claude Code · Python · SciPy · NumPy · Matplotlib

A coding agent calls solve_ivp in seconds, but whether the result is right depends on decisions that barely show in the code: the solver chosen, the tolerances, the treatment of stiff components or a time step that breaks a stability limit. In this training you solve differential equations with coding agents on examples such as the pendulum, a predator–prey model, reaction kinetics and heat conduction. You learn to give the agent criteria, check results through conserved quantities and reference solutions, and reliably recognise the symptoms of unstable methods.

Who the differential equations training is for

Engineers, researchers, lecturers and advanced students who solve ordinary or simple partial differential equations numerically and want to use coding agents for the job.

What you'll walk away with

  • Describe initial value problems so that the agent implements model, parameters and initial conditions traceably
  • Choose between explicit and implicit solvers for good reasons and recognise stiffness
  • Set relative and absolute tolerances and check their influence with convergence tests
  • Build events, conserved quantities and reference solutions into automated checks
  • Solve a simple partial differential equation with the method of lines while respecting the stability condition

Typical scenarios

  1. A biology group simulates a predator–prey model and notices from a drifting conserved quantity that the default tolerances are too coarse for long time spans.
  2. A process engineering team solves a stiff reaction system on which an explicit solver takes tiny steps, and switches to an implicit method after a comparison.
  3. A lecturer prepares an exercise on heat conduction in which students see in agent-generated code how too large a time step makes the solution oscillate.

Does this fit your team?

Pick a few dates that suit you. The request is non-binding, and the agenda is tailored in a short call beforehand.

Request dates

What the differential equations training covers

  1. Describing model and task preciselyEquations, parameters, units and initial conditions as a brief for the agent, with questions about assumptions.
  2. Solvers and tolerancesRunge–Kutta methods, BDF and Radau in solve_ivp, step-size control and choosing tolerances.
  3. Recognising stiffnessHow to recognise stiff problems, and how the run time and step counts of different methods give them away.
  4. Checking with physics and mathsEnergy, mass conservation, events, reference solutions and convergence tests as guard rails.
  5. A look at partial differential equationsThe method of lines for the heat equation, the CFL condition and typical instabilities.

Before the differential equations training: prerequisites

  • Basics of ordinary differential equations
  • Basic Python and an environment with SciPy and a coding agent
  • Optionally, a model of your own that you want to solve or check

Materials you keep

  • A decision guide for choosing solvers and tolerances
  • Notebooks for the example models with built-in checks
  • An instruction template for coding agents on simulation tasks

How it works

  1. Request with preferred datesTick the date proposals that suit you or name a period of your own.
  2. Short callWe talk about your goals, prior knowledge and the tools your team already uses.
  3. Agenda for your teamYou receive a plan tailored to your group, with exercises that match your subject and material.
  4. Course and materialsThe course runs online, on-site or hybrid, and you keep the materials afterwards.

Why train with us

  • jocapps GmbH has offered workshops and trainings since 2014. The topics have moved with the technology; today the focus is on agentic coding and prompt engineering.
  • Hands-on rather than slides: you practise on realistic examples from maths and STEM, or on your own tasks, code or prompts if you wish.
  • Online, on-site or hybrid, held in German or English.
  • jocapps GmbH is certified to ISO 27001 (information security) and ISO 9001 (quality management).

Questions about the differential equations training

Is SciPy enough, or do we need specialised software?

For many ordinary differential equations, solve_ivp from SciPy is enough. For very large systems, partial differential equations or special requirements, dedicated packages are worth it. The catalogue includes a Julia training and a bootcamp on finite element code for those cases.

Can the agent detect stiffness by itself?

It can point to signs such as an unusually high number of steps or long run times and suggest comparison runs. Whether the behaviour makes physical sense is for you to judge. The training gives you criteria and checking routines to hand the agent as fixed instructions.

Is the training suitable for teaching?

Yes. The examples work well as templates for exercises in which students check agent-generated code rather than just running it. We discuss how to design such tasks so that understanding the methods stays at the centre, not operating the agent.

Is the training held online or on-site, and in which language?

Both are possible: live online, at your premises (in-house) or hybrid. The course is held in German or English; you choose when you send the request.

Can the content be tailored to our team?

Yes. The agenda, examples and emphasis are agreed in the call beforehand, based on your team's prior knowledge, subjects and tools. On request we work with your own exercises, data or code.