       RE: Bump Function

• To: mathgroup at smc.vnet.net
• Subject: [mg31978] RE: [mg31967] Bump Function
• From: "tgarza01 at prodigy.net.mx" <tgarza01 at prodigy.net.mx>
• Date: Fri, 14 Dec 2001 16:53:08 -0500 (EST)
• Sender: owner-wri-mathgroup at wolfram.com

```You have to slightly modify your conditions, so as not to leave holes in the range of definition. Try

In:=
f[x_, y_] := x^2 + y^2 /;
x^2 + y^2 < 1;
f[x_, y_] := 2 /; x^2 + y^2 >= 1;

In:=
Plot3D[f[x, y], {x, -3, 3},
{y, -3, 3}, PlotPoints ->
100];

Tomas Garza
Mexico City

Original Message:
-----------------
From: Ajitkumar ajitkumar at math.mu.ac.in
To: mathgroup at smc.vnet.net
Subject: [mg31978] [mg31967] Bump Function

Hi,

Could  somebody tell me how to plot the graph of bump functions. For
example, if I want to draw the graph of the function say,

f(x,y)	= x^2+y^2 for  x^2+y^2<1
= 2  for x^2+y^2 >2

Thanks
Ajit Kumar
Dept of Maths
University of Mumbai
Vidyanagari, Kalina
Mumbai 400 098
India
Phone No. +91 652 6683
Email- ajitkumar at math.mu.ac.in
ajit_kumara at hotmail.com
http://math.mu.ac.in/faculty/scholars/ajit.html

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

```

• Prev by Date: Re: restrictions on parameter
• Next by Date: Re: restrictions on parameters
• Previous by thread: Re: Bump Function
• Next by thread: Re: Bump Function