Here is what I get.
s^2*laplace(y(t, x), t, s) - D[0, 0](laplace)(y(t, x), t, s)*D[1](y)(t, x)^2 - s*y(0, x) - D[0](laplace)(y(t, x), t, s)*D[1, 1](y)(t, x) - D[0](y)(0, x) == k*sin(pi*x)/s
Within this expression, the meanings are:
∂y∂t = D[0](y)(t, x)
∂y∂x = D[1](y)(t, x)
∂2y∂t2 = D[0, 0](y)(t, x)
∂2y∂x2 = D[1, 1](y)(t, x)
So, D[0](y)(0, x)
is ∂y∂t|t=0.
You can check the first one above by doing diff(y,t)
.
![]() | 2 | changed order of variables in function y |
Here is what I get.
s^2*laplace(y(t, x), var('y t s k')
y=function('y',x,t)
de=diff(y,t,2)-diff(y,x,2)==k*sin(pi*x)
de.laplace(t,s)
gives
s^2*laplace(y(x, t), t, s) - D[0, 0](laplace)(y(t, x), D[0](y)(x, t)^2*D[0, 0](laplace)(y(x, t), t, s)*D[1](y)(t, x)^2 s) - s*y(0, x) s*y(x, 0) - D[0](laplace)(y(t, x), D[0](laplace)(y(x, t), t, s)*D[1, 1](y)(t, x) s)*D[0, 0](y)(x, t) - D[0](y)(0, x) D[1](y)(x, 0) == k*sin(pi*x)/s
Within this expression, the meanings are:
∂y∂t = D[0](y)(t, x)D[1](y)(x, t)
∂y∂x = D[1](y)(t, x)D[0](y)(x, t)
∂2y∂t2 = D[0, 0](y)(t, x)D[1, 1](y)(x, t)
∂2y∂x2 = D[1, 1](y)(t, x)D[0, 0](y)(x, t)
So, D[0](y)(0, x)
is ∂y∂t|t=0.
You can check the first one above by doing diff(y,t)
.