MathGroup Archive 1997

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

Search the Archive

Re: Mathematica Graphics

  • To: mathgroup at
  • Subject: [mg9023] Re: Mathematica Graphics
  • From: tharter at (Terry Harter)
  • Date: Wed, 8 Oct 1997 00:05:21 -0400
  • Organization: Naval Surface Warfare Center, Dahlgren Division
  • Sender: owner-wri-mathgroup at

David Djajaputra wrote;
Could anyone tell me how to make Mathematica plot the following function

Wbar[q_,w_]:=w/(4 Sin[q/2]);

  EllipticF[Pi/2 - ArcSin[Wbar[q,w]], 1/(1-Wbar[q,w]^2)]  /

  If[(w>2 Sin[q])&&(w < 4 Sin[q/2]), Chi[q,w]/(2 Pi Sin[q/2]),0];


If I run the last Plot command, Mathematica always complains about
ChiPlot[w] not being a machine-size real number at some points, and then
it only plots several disconnected lines. I realize the function is
rather `dangerous' but analytically  I expect it  to behave normally
inside the region that I use above, except perhaps at the
boundaries. Anyway, if Mathematica can get the separate lines, why can't
it obtain
the values for points between the lines also?

Much thanks in advance,

David Djajaputra
  Whenever I get such messages from the kernal, *I* always
check for unbalanced square braketws, paranthesis, list brackets, etc.
   Examinbe your definition of Chi[ ] -- I think it needs a "]" at the
end of its definition.
Hope this helps

  • Prev by Date: How write the result of Table[NSolve...] into a text file can be read by Excel
  • Next by Date: Mathematica 3.0 - Problem
  • Previous by thread: How write the result of Table[NSolve...] into a text file can be read by Excel
  • Next by thread: Re: Mathematica Graphics