The FORCOS(x,x0,ω,a0,…,an) function evaluates a Fourier cosine series.
Format
FORCOS (x, x0, ω, a0,…,an)
Arguments
- x
- The independent variable.
You can enter a valid expression for the independent variable such as 2*TIME.
- x0
- The constant offset of the independent variable.
- ω
- The fundamental frequency of the series in radians per unit of the independent variable.
Append a D to the value to specify the frequency in degrees per unit of the independent variable.
- a0,…,an
- A set of real variables specifying an nth order Fourier series for n<30.
You can define up to a 31 coefficients.
Function Definition
FORCOS(x,x0,ω,a0,…,an) =
a0 + Σj=1 … n aj*Tj(x-x0)
where
Tj(x-x0) = cos{j*ω*(x-x0))