MathGroup Archive 2007

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

Search the Archive

Re: Plotting of Sin(x)/x

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84170] Re: Plotting of Sin(x)/x
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Wed, 12 Dec 2007 05:13:56 -0500 (EST)
  • References: <fjnufu$fdk$1@smc.vnet.net>

G de Graaf wrote:
> Hi,
> 
> I am using Mathematica 5.2 to try plot 
> some Sin[x}/x functions. That does not 
> work ! It seems that Mathematica cannot 
> handle this since it does not  know that 
> lim Sin[x}/x (x=0)= 1 ( Hmmmm !!)
> 
> 
> Anyone knows how to work around this ??
> 

If you get a warning message during plotting about the expression not 
having a numerical value at a single point, you can safely ignore it, or 
turn it off completely (using Off[]), or define your own sinc function as

sinc[x_] = Sin[x]/x
sinc[0] = 1

to avoid the problem.  Mathematica does not try to compute limits when 
plotting, it only uses numerical computations.

-- 
Szabolcs


  • Prev by Date: Re: Re: Binary Vector Manipulation
  • Next by Date: Re: Invert Black/White Colors of Binary Images
  • Previous by thread: Re: Plotting of Sin(x)/x
  • Next by thread: Re: Plotting of Sin(x)/x