Function reference · Calculus

laplace

Computes the Laplace transform of an expression.

It transforms powers, exponentials, trigonometric and hyperbolic functions, sums of these, and their shifted and scaled forms. If it has no rule for the input, the call is returned unevaluated.

Notation

laplace(expr, t, s)

Write it in an expression: nerdamer('laplace(t^2,t,s)'), or in the Playground.

nerdamer.laplace

nerdamer.laplace(expr: ExpressionInput, t: ExpressionInput, s: ExpressionInput): Expression

A method on the default import. Arguments can be strings, as in Notation.

import { laplace }

import { laplace } from 'nerdamer/calculus';
laplace(expr: ExpressionInput, t: ExpressionInput, s: ExpressionInput): Expression

Import only this function, from nerdamer/calculus.

Examples

A power.

laplace(t^2,t,s)
// → 2*s^-3
Open in Playground

An exponential.

laplace(e^(-t),t,s)
// → (1+s)^-1
Open in Playground

A sine.

laplace(sin(t),t,s)
// → (1+s^2)^-1
Open in Playground

No rule for tan: unevaluated.

laplace(tan(t),t,s)
// → laplace(tan(t), t, s)
Open in Playground

← Back to Function reference