Changes between Initial Version and Version 2 of Ticket #11653


Ignore:
Timestamp:
08/05/11 21:21:27 (9 years ago)
Author:
JGuzman
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11653

    • Property Summary changed from desolve failed to solve an ODE with a to desolve failed to solve an ODE whose rhs contains a function
  • Ticket #11653 – Description

    initial v2  
    99def pulse(tonset, tdur, amp):
    1010
    11   """ returns a square pulse as a function of x, f(x) the pulse is defined as follows:  tonset -- start of pulse  tdur   -- duration of pulse  amp    -- amplitude of pulse """
     11  """ returns a square pulse as a function of x, f(x) the pulse is defined as follows:  t
     12  onset -- start of pulse
     13  tdur   -- duration of pulse
     14  amp    -- amplitude of pulse """
    1215
    1316  f(x)= amp*(sign(x-tonset)/2-sign(x-tonset-tdur)/2)
     
    3134''TypeError: unable to make sense of Maxima expression 'v(x)=-(2*(at(integrate(signum(x-5)-signum(x-13),x),[x=0,v(x)=0]))-2*int\ egrate(signum(x-5)-signum(x-13),x)-x^2)/2' in Sage^''
    3235
    33 desolve_laplace leads to similar error: 
     36desolve_laplace leads to similar error:
    3437
    3538sage: desolve(de=dvdx, ivar=x, dvar=v, ics=[0,0])