Solving First-Order Differential Equations with Julia: A Step-by-Step Tutorial

2025-03-05

This tutorial demonstrates how to solve first-order differential equations using the Julia programming language and the DifferentialEquations.jl package. It begins with a recap of differential equation fundamentals, then walks through two examples – radioactive decay and Newton's law of cooling – showing how to translate mathematical equations into Julia code and solve them numerically using DifferentialEquations.jl, visualizing the results with plots. The tutorial is clear and concise, suitable for readers with some background in mathematics and programming.