LoginSignup
1
0

More than 1 year has passed since last update.

ラプラス変換をしてみた(wolframalphaとsympy)

Last updated at Posted at 2018-05-09

おすすめのページを教えて下さい

wolframalpha

制作中

sympy

#(参考)sympy.integrals.transforms.laplace_transform(f, t, s, **hints)
#http://docs.sympy.org/latest/modules/integrals/integrals.html?highlight=laplace_transform#sympy.integrals.transforms.laplace_transform
from sympy import *
var('s t n')
print(laplace_transform( DiracDelta(t), t, s))
print(laplace_transform( Heaviside(t), t, s))
print(laplace_transform( 1, t, s))
print(laplace_transform( t, t, s))
print(laplace_transform( t**2, t, s))
print(laplace_transform( t**n, t, s))
#(-Heaviside(0) + 1, -oo, True)
#(1/s, 0, True)
#(1/s, 0, True)
#(s**(-2), 0, True)
#(2/s**3, 0, True)
#(s**(-n)*gamma(n + 1)/s, 0, -re(n) < 1)
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0