diff --git a/docs/src/getting_started.md b/docs/src/getting_started.md index 28518164a..0948cabcb 100644 --- a/docs/src/getting_started.md +++ b/docs/src/getting_started.md @@ -379,7 +379,7 @@ end u₀ = [θ₀, ω₀] # initial state vector tspan = (0.0, 10.0) # time interval -M = t -> 0.1sin(t) # external torque [Nm] +M = t -> 0.1 * sin(t) # external torque [Nm] prob = DE.ODEProblem(pendulum!, u₀, tspan, M) sol = DE.solve(prob)