Difference between revisions of "Laplace Command"

From GeoGebra Manual
Jump to: navigation, search
(→‎CAS Syntax: added description of the 2nd syntax)
Line 4: Line 4:
  
 
;Laplace[ <Function> ]
 
;Laplace[ <Function> ]
Return the Laplace transform of the given function
+
Returns the Laplace transform of the given function
:{{example|1=<code> Laplace[sin(t)]</code>  return <math>\mathbf{\frac{1}{t^{2} + 1};&#125; </math>.}}
+
:{{example|1=<code> Laplace[sin(t)]</code>  returns <math>\mathbf{\frac{1}{t^{2} + 1};&#125; </math>.}}
  
 
;Laplace[ <Function>, <Variable> ]
 
;Laplace[ <Function>, <Variable> ]
 
+
Returns the Laplace transform of the function, with respect to the given variable.
 
:{{examples|1=<div>
 
:{{examples|1=<div>
::<code>Laplace[sin(a*t),t]</code> return <math>\mathbf{\frac{a}{a^{2} + t^{2}&#125;&#125;</math> ;
+
::<code>Laplace[sin(a*t),t]</code> returns <math>\mathbf{\frac{a}{a^{2} + t^{2}&#125;&#125;</math> ;
::<code>Laplace[sin(a*t),a]</code> return <math>\mathbf{\frac{t}{a^{2} + t^{2}&#125;&#125;</math>.</div>
+
::<code>Laplace[sin(a*t),a]</code> returns <math>\mathbf{\frac{t}{a^{2} + t^{2}&#125;&#125;</math>.</div>
 
}}
 
}}

Revision as of 16:08, 9 July 2014

This command works in CAS View only.

CAS Syntax

Laplace[ <Function> ]

Returns the Laplace transform of the given function

Example: Laplace[sin(t)] returns \mathbf{\frac{1}{t^{2} + 1};} .


Laplace[ <Function>, <Variable> ]

Returns the Laplace transform of the function, with respect to the given variable.

Examples:
Laplace[sin(a*t),t] returns \mathbf{\frac{a}{a^{2} + t^{2}}} ;
Laplace[sin(a*t),a] returns \mathbf{\frac{t}{a^{2} + t^{2}}}.
© 2024 International GeoGebra Institute