Ask Your Question

Revision history [back]

Solving ODE using desolve_rk4 but th

My ODE is in the form dC/dt + l(t)*C=0 where:

l(t) = 2 + k(t) k(t) = 21.08*(Temp(t)-20)

The temperature (temp) changes based on time so this in turn changes the k(t) and l(t) in my ODE. The time_of_day is described by increments of two hours [0,2,4,6,8,10,12,14,16,18,20,22,24] and the associated temperaure is [21,20,17,16,18,21,25,27,28,26,23,21,21]. I am new to sage math and I am wondering if someone can help me out.

Solving ODE using desolve_rk4 but th

My ODE is in the form dC/dt + l(t)*C=0 l(t)*C=0 where:

l(t) = 2 + k(t)
k(t) = 21.08*(Temp(t)-20)

2*1.08**(Temp(t)-20)

The temperature (temp) changes based on time so this in turn changes the k(t) k(t) and l(t) l(t) in my ODE. The time_of_day time_of_day is described by increments of two hours [0,2,4,6,8,10,12,14,16,18,20,22,24] and the associated temperaure is [21,20,17,16,18,21,25,27,28,26,23,21,21]. I am new to sage math and I am wondering if someone can help me out. out.