You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var('a b n k t')
c = function('c',t)
de = diff(c,t) - a + (b*c)*((c**n)/((k**n)+(c**n))) == 0
des = desolve(de,[c,t],[0,0])
yields an error about c(t) not being a proper Python identifier. Various other combinations yield similar ECL errors, and at least sometimes one can get segmentation faults after inserting print statements.
I don't think it is about the number of variables, but about maxima not being able to provide an explicit solution. Here is the example computed directly in maxima:
maxima("de: 'diff(c(t),t) - a + c(t)^n")
maxima("atvalue (c(t), t = 0, 0);")
maxima("ode2(de,c(t),t);")
gives:
-'integrate(1/(c(t)^ n-a),c(t))=t+%c
Note that the integral containing c(t)n could not be solved.
Replacing n by an integer and defining c as positive:
maxima("de: 'diff(c(t),t) - a + c(t)^2")
maxima("atvalue (c(t), t = 0, 0);")
maxima("assume(a>0);")
maxima("ode2(de,c(t),t);")
See this ask.sagemath.org question.
yields an error about c(t) not being a proper Python identifier. Various other combinations yield similar ECL errors, and at least sometimes one can get segmentation faults after inserting print statements.
CC: @sagetrac-schymans
Component: calculus
Issue created by migration from https://trac.sagemath.org/ticket/14092
The text was updated successfully, but these errors were encountered: