Laplace transform initial conditions
<p>How to define initial conditions for Laplace transform in Sympy? 
For example:</p>

<pre><code>t,s = symbols('t s')
x = Function('x')(t)
laplace_transform(diff(x,t),t,s cond=(x(0) = 1))
</code></pre>

<p>So the output would be:</p>

<pre><code>s*L(x) - 1
</code></pre>

<p>Laplace transforms of undefined functions are not yet implemented. There is an <a href="https://github.com/sympy/sympy/issues/7219" rel="nofollow">issue</a> tracking this. Perhaps the simple <a href="https://github.com/sympy/sympy/issues/7219#issuecomment-154768904" rel="nofollow">workaround implementation</a> in that issue will work for you for now. </p>

python sympy