Re: Holes when plotting funtions
- To: mathgroup at smc.vnet.net
- Subject: [mg42199] Re: Holes when plotting funtions
- From: "Kevin J. McCann" <KevinMcCann!kjm at uunet.uu.net>
- Date: Mon, 23 Jun 2003 05:49:40 -0400 (EDT)
- References: <bd2vuf$1dn$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Technincally you are almost correct in that your function as it stands is not defined for x = 0. This is a little different from "not defined around zero," which implies that it is not defined in some interval around zero. However, Limit[f[x],x->0] = 3 So the function has a removable singularity at x = 0. If you amend your definition so that the function is defined to be 3 at x = 0, and has your original definition elsewhere, then the function is continuous. Cheers, Kevin "Ashraf El Ansary" <Elansary at btopenworld.com> wrote in message news:bd2vuf$1dn$1 at smc.vnet.net... > Hi, > Is there any way to mathematica to distinguish non-continous equations in > the 'Plot' function. For example: > f[x_]:=x(1-Cos[x])/(x-Sin[x]) > Plot[f[x],{x,-20,20},AxesLabel->{x,y},AxesOrigin->{0,0}] > > The above example is not defined around zero, but when plotted by > Mathematica , it looks as if the function is continous. Is there any way to > plug a whole in those intervals which are not continous (simillar to those > depicted in textbooks for step /open/closed intervals]...... > > > Cheers. > > > Ashraf > >