MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Taking the Log causing Mathematica kernel crash.


Mathematica 5.1 on Windows.

Clear["Global`*"]
f[t_] := Sin[3.5 t] + 2 Cos[2 t];
g[t_] := Piecewise[{{0, t < -2Pi}, { f[t], t = -2Pi && t = 2Pi}, {0, t >
2Pi}}];
c[w_] := Integrate[ g[t] Exp[-I w t], {t, -Infinity, Infinity}] ;
Plot[20 Log[10, Abs[c[w]]], {w, -5, 5}, PlotRange -> All]

The above code causes Mathemtica kernel crash.

Change the last line above to remove the Log, then it is OK:

Plot[20 Abs[c[w]], {w, -5, 5}, PlotRange -> All]

Nasser



  • Prev by Date: Exporting xhtml+mathml
  • Next by Date: Re: Remote Kernel
  • Previous by thread: Re: Exporting xhtml+mathml
  • Next by thread: Re: Taking the Log causing Mathematica kernel crash.