beautypg.com

Solve – HP Prime Graphing Calculator User Manual

Page 332

background image

328

Functions and commands

Inverse Laplace

Returns the inverse Laplace transform of an expression.

invlaplace(Expr,[Var],[IlapVar])

Example:

ilaplace(1/(x^2+1)^2)

returns

((-x)*cos(x))/

2+sin(x)/2

FFT

With one argument, returns the discrete Fourier transform in R.

fft(Vect)

With three arguments, returns the discrete Fourier transform in

the field Z/pZ, with a as primitive nth root of 1 (n=size(L)).

fft((Vect(L),Intg(a),Intg(p))

Example:

fft([1,2,3,4,0,0,0,0])

gives

[10.0,-

0.414213562373-7.24264068712*(i),-
2.0+2.0*i,2.41421356237-1.24264068712*i,-
2.0,2.41421356237+1.24264068712*i,-2.0-2.0*i]

Inverse FFT

Returns the inverse discrete Fourier transform.

ifft(Vect)

Example:

ifft([100.0,-52.2842712475+6*i,-
8.0*i,4.28427124746-
6*i,4.0,4.28427124746+6*i,8*i,-52.2842712475-
6*i])

gives

[0.99999999999,3.99999999999,10.0,20.0,25.0,2
4.0,16.0,-6.39843733552e-12]

Solve

Solve

Returns the solutions to a polynomial equation or a set of

polynomial equations.

solve(Expr,[Var])

Example:

solve(x^2-3=1)

gives

list[-2,2]