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
The rsolve method does not always allow the use of coefficients with functions even if its result is constant or independent of the solution's function symbol. For instance, a classic second order system with two complex conjugate poles and expanded coefficients:
The
rsolve
method does not always allow the use of coefficients with functions even if its result is constant or independent of the solution's function symbol. For instance, a classic second order system with two complex conjugate poles and expanded coefficients:In this case
cos(theta)
is independent ofn
.With some specific values of
theta
it doesn't work:But with some other values it does:
with the independent symbol
r
in solution correctly handled:C0*(sqrt(2)*r*(1 - I)/2)**n + C1*(sqrt(2)*r*(1 + I)/2)**n
.The text was updated successfully, but these errors were encountered: