Crashing with sequence command

TivnanR shared this problem 3 years ago
New

I'm trying to compute fourier series of a random signal. It worked for a while, but then crashes when I make changes, and I cannot recover the working file. Any ideas or a workaround? File fourier_seq is attached. An older file that is similar is also attached.

Comments (2)

photo
1

Hi, a workaround : use eg, a

fn=If(-pi<=x<=pi,FitPoly(f,30))

instead of f

photo
1

This will probably work better:


Sequence(Integral(f(x) cos(i x) / π, -π, π), i, 0, n)

if you define

f(x) = pi² - x²

g(x) = f(x), -pi<= x <=pi 
and use f(x) for calculations and g(x) for display

© 2021 International GeoGebra Institute