Hi,
I am relatively new to Julia, have been trying to solve a system of differential equations using Julia, but it always returns the error ‘
LoadError: UndefVarError: solve not defined’. I am not able to figure out why. Could anyone please help me. I have included a simple example code here.
using DifferentialEquations
U₀ₙₑₔ = 0.1635
dₚ = 100e-6
a = 315*(dₚ^0.64/U₀ₙₑₔ)
f(z,c) = a*c
cₛ₀ = 0.5
tspan = (0.6,1.2)
prob = ODEProblem(f,cₛ₀,tspan)
sol = solve(prob,Tsit5(),reltol=1e-8,abstol=1e-8)