[英]Laplace transform initial conditions
How to define initial conditions for Laplace transform in Sympy? 如何在Sympy中定义拉普拉斯变换的初始条件? For example:
例如:
t,s = symbols('t s')
x = Function('x')(t)
laplace_transform(diff(x,t),t,s cond=(x(0) = 1))
So the output would be: 所以输出将是:
s*L(x) - 1
Laplace transforms of undefined functions are not yet implemented. 尚未实现未定义函数的拉普拉斯变换。 There is an issue tracking this.
跟踪此问题有一个问题 。 Perhaps the simple workaround implementation in that issue will work for you for now.
也许该问题中的简单解决方法实现现在对您有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.