Fourier Series For A Triangular Wave - HP 49g+ User Manual

Graphing calculator
Hide thumbs Also See for 49g+:
Table of Contents

Advertisement

Fourier series for a triangular wave

Consider the function
x
,
if
0
x
1
g
(
x
)
2
x
,
if
1
x
2
which we assume to be periodic with period T = 2. This function can be
defined in the calculator, in ALG mode, by the expression
DEFINE('g(X) = IFTE(X<1,X,2-X)')
If you started this example after finishing example 1 you already have a value
of 2 stored in CAS variable PERIOD. If you are not sure, check the value of
this variable, and store a 2 in it if needed. The coefficient c
for the Fourier
0
series is calculated as follows:
The calculator will request a change to Approx mode because of the
integration of the function IFTE() included in the integrand. Accepting, the
change to Approx produces c
= 0.5. If we now want to obtain a generic
0
expression for the coefficient c
use:
n
Page 16-35

Advertisement

Table of Contents
loading

Table of Contents