Skip to main content
deleted 1 character in body
Source Link

This is a bug in FourierSeriesFourierSeries, and appears to be caused by the default setting GenerateConditions->FalseGenerateConditions -> False which is used while computing the underlying integrals.

A workaround for the problem is to use GenerateConditions->TrueGenerateConditions -> True, as shown below.

f[t_] :=1= 1/(1+251 + 25.0*0 * (t - 0.3)^2);
FSeries[t_]=Chop@Expand@ExpToTrig@FourierSeries[f[t]FSeries[t_] = Chop @ Expand @ ExpToTrig @ FourierSeries[f[t], t, 4,
    FourierParameters -> {1, Pi}, GenerateConditions ->True];> True];

enter image description hereplot

Thank your for reporting this issue, and sorry for the inconvenience.

This is a bug in FourierSeries, and appears to be caused by the default setting GenerateConditions->False which is used while computing the underlying integrals.

A workaround for the problem is to use GenerateConditions->True, as shown below.

f[t_]:=1/(1+25.0*(t-0.3)^2);
FSeries[t_]=Chop@Expand@ExpToTrig@FourierSeries[f[t], t, 4,
    FourierParameters->{1,Pi}, GenerateConditions->True];

enter image description here

Thank your for reporting this issue, and sorry for the inconvenience.

This is a bug in FourierSeries, and appears to be caused by the default setting GenerateConditions -> False which is used while computing the underlying integrals.

A workaround for the problem is to use GenerateConditions -> True, as shown below.

f[t_] := 1/(1 + 25.0 * (t - 0.3)^2);
FSeries[t_] = Chop @ Expand @ ExpToTrig @ FourierSeries[f[t], t, 4,
    FourierParameters -> {1, Pi}, GenerateConditions -> True];

plot

Thank your for reporting this issue, and sorry for the inconvenience.

Source Link

This is a bug in FourierSeries, and appears to be caused by the default setting GenerateConditions->False which is used while computing the underlying integrals.

A workaround for the problem is to use GenerateConditions->True, as shown below.

f[t_]:=1/(1+25.0*(t-0.3)^2);
FSeries[t_]=Chop@Expand@ExpToTrig@FourierSeries[f[t], t, 4,
    FourierParameters->{1,Pi}, GenerateConditions->True];

enter image description here

Thank your for reporting this issue, and sorry for the inconvenience.