inttrans
fouriercos
Fourier Cosine transform
Calling Sequence
Parameters
Description
Examples
fouriercos(expr, t, s)
expr
-
expression, equation, or set of expressions and/or equations to be transformed
t
variable expr is transformed with respect to t
s
parameter of transform
opt
option to run this under (optional)
The fouriercos function computes the Fourier Cosine transform (F(s)) of expr (f(t)), a linear transformation from C0,∞→C0,∞ defined by:
F⁡s=2⁢∫0∞f⁡t⁢cos⁡s⁢tⅆtπ
The function F⁡s returned is defined on the positive real axis only.
Expressions involving exponentials, rational polynomials, trigonometrics (sin, cos) with linear arguments, and a variety of other functions can be transformed.
The Fourier Cosine transform is self-inverting.
The fouriercos function recognizes derivatives (diff or Diff) of functions of rapid descent and can be used to solve ODEs and PDEs.
The fouriercos function attempts to simplify an expression according to a set of heuristics and then match the result with a table of patterns. Entries can be added to this table by addtable(fouriercos, f(t), F(s), t, s), where F(s) is the transform of f(t), which may have an arbitrary number of parameters.
If the option opt is set to 'NO_INT', then the program will not resort to integration of the original problem if all other methods fail. This will increase the speed at which the transform will run.
fouriercos recognizes the Dirac-delta (or unit-impulse) function as Dirac(t) and Heaviside's unit step function as Heaviside(t).
The command with(inttrans,fouriercos) allows the use of the abbreviated form of this command.
with⁡inttrans:
fouriercos⁡3t+a,t,w
3⁢2⁢−sin⁡a⁢w⁢Ssi⁡a⁢w−cos⁡a⁢w⁢Ci⁡a⁢wπ
fouriercos⁡1t2+1,t,s
2⁢π⁢ⅇ−s2
fouriercos⁡,s,x
1x2+1
fouriercos⁡diff⁡f⁡x,x,x,w
−−w⁢`?`⁢π+2⁢f⁡0π
fouriercos⁡f⁡t,t,u
ℱ__c⁡f⁡t,t,u
fouriercos⁡,u,s
f⁡s
F≔int⁡g⁡x⁢cos⁡x⁢s,x=0..∞:
fouriercos⁡F+1sqrt⁡s,s,t
2⁢π⁢g⁡t2+1t
fouriercos⁡t⁢exp⁡−3⁢t⁢sin⁡t,t,w
−6⁢2⁢3⁢w4+16⁢w2−100π⁢w2−2⁢w+102⁢w2+2⁢w+102
de≔diff⁡y⁡t,`$`⁡t,2−y⁡t=cos⁡2⁢t:
fouriercos⁡de,t,s
−s2⁢`?`⁢π+2⁢D⁡y⁡0π−`?`=2⁢π⁢Dirac⁡s−22
solve⁡,fouriercos⁡y⁡t,t,s
−2⁢π⁢Dirac⁡s−2+2⁢D⁡y⁡02⁢π⁢s2+1
fouriercos⁡,s,t
−cos⁡2⁢t5−D⁡y⁡0⁢ⅇ−t
subs⁡y⁡t=,de
ⅆ2ⅆt2−cos⁡2⁢t5−D⁡y⁡0⁢ⅇ−t+cos⁡2⁢t5+D⁡y⁡0⁢ⅇ−t=cos⁡2⁢t
simplify⁡
cos⁡2⁢t=cos⁡2⁢t
fouriercos⁡BesselJ⁡0,4⁢t,t,s−3
2⁢Heaviside⁡−s+7π⁢−s−32+16
Add an entry to the table
addtable⁡fouriercos,h⁡t,H⁡s,t,s:
fouriercos⁡h⁡t,t,s
H⁡s
See Also
dsolve
inttrans[addtable]
Download Help Document