Function reference · Calculus

laplace

Computes the symbolic Laplace transform of an expression.

The transform maps an expression from a source variable to a transform variable. Supported forms include powers, exponentials, trigonometric and hyperbolic functions, linear combinations, and common shift and scaling patterns.

If no supported transform rule applies, Nerdamer leaves the Laplace transform unevaluated.

Examples

These examples use Nerdamer Notation.

Transform a polynomial power.

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

Apply the exponential shift rule.

laplace(e^(-t),t,s)

Transform a trigonometric function.

laplace(sin(t),t,s)

Interfaces

The same operation is available through the interfaces below.

Nerdamer Notation · nerdamer API · Direct API

Nerdamer Notation

Use this form inside input passed to nerdamer(...).

laplace(arg1, arg2, arg3)

nerdamer.laplace

Call the operation through the default nerdamer import.

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

Parameters

NameTypeDescription
exprExpressionInputTime-domain expression.
tExpressionInputPlain time-domain variable.
sExpressionInputPlain transform-domain variable.

Returns

Expression — The symbolic transform, or an unevaluated `laplace(expr, t, s)` Expression when no table rule resolves the input.

Browse the nerdamer API →

Direct JavaScript / TypeScript API

Import the operation directly from its package entry point.

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

Parameters

NameTypeDescription
exprExpressionInputTime-domain expression.
tExpressionInputPlain time-domain variable.
sExpressionInputPlain transform-domain variable.

Returns

Expression — The symbolic transform, or an unevaluated `laplace(expr, t, s)` Expression when no table rule resolves the input.

Browse nerdamer/calculus

← Back to Reference