Opened 9 years ago

Last modified 8 years ago

#14877 new defect

Make sure number of initial conditions is correct in desolve_system

Reported by: Karl-Dieter Crisman Owned by: Burcin Erocal
Priority: major Milestone: sage-6.4
Component: calculus Keywords:
Cc: Jose Guzman Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

The following should probably raise an error:

var('t')
A = function('A',t)
B = function('B',t)
de1 = diff(A,t) == -k1*A+k2*B
de2 = diff(B,t) == k1*A-k2*B
sol = desolve_system([de1,de2],[A,B],ics=[500,0])

Or conceivably it should correspond to A(500)=0 and leaving B(500) unevaluated, but in that case it should be checked whether that is really what happens, and well-documented.

Change History (4)

comment:1 Changed 9 years ago by Jose Guzman

Cc: Jose Guzman added

comment:2 Changed 9 years ago by For batch modifications

Milestone: sage-6.1sage-6.2

comment:3 Changed 8 years ago by For batch modifications

Milestone: sage-6.2sage-6.3

comment:4 Changed 8 years ago by For batch modifications

Milestone: sage-6.3sage-6.4
Note: See TracTickets for help on using tickets.