Back to functions
laplace
Laplace
Attempts to calculate the Laplace transform of an expression. Currently computes transforms of most common expressions. Throws an error if no transform could be calculated.
Usage: nerdamer("laplace(expression, t, s)")
Parameters
expression
expression
|
The expression to be transformed |
variable
t
|
The time variable |
variable
s
|
The transformation variable |
Returns
Expression
var x = nerdamer('laplace(t^6, t, s)').evaluate();
console.log(x.toString());
x = nerdamer.laplace('cos(w*t)', 't', 'x');
console.log(x.toString())
x = nerdamer.laplace('cos(w*t)*t', 't', 'x');
console.log(x.toString())