Hello,

I'm trying to factor a symbolic expression with Laplace transforms in
it:

sage: var('s t')
(s, t)
sage: y = function('y', t)
sage: lt = laplace(diff(y, t,t) - 3*diff(y, t) + 2*y , t, s)
sage: lt
s^2*laplace(y(t), t, s) - 3*s*laplace(y(t), t, s) - s*y(0) +
2*laplace(y(t), t, s) + 3*y(0) - D[0](y)(0)
sage: lt.factor()
[boom]

It ultimately complains about "IndexError: tuple index out of range".
I'd like to see something like

laplace(y(t), t, s)*(s^2 - 3*s + 2) + 3*y(0) - D[0](y)(0)

and to hopefully get solve() to solve for laplace(y(t), t, s). Is this
possible?

Dan

-- 
---  Dan Drake
-----  http://mathsci.kaist.ac.kr/~drake
-------

Attachment: signature.asc
Description: Digital signature

Reply via email to