Message Boards Message Boards

0
|
3267 Views
|
5 Replies
|
5 Total Likes
View groups...
Share
Share this post:

Limit of a f(x,y) function

Posted 10 years ago
POSTED BY: Mitja Jan?i?
5 Replies
POSTED BY: David Reiss

In addition to David Reiss' excellent analysis of the issues I will note that, prior to In[88], there was almost certainly something like y=0 executed.

POSTED BY: Daniel Lichtblau

Well of course you cannot plot (x-a)^2 directly without specifying a value for a since it is not numerical with an arbitrary value of a. You can plot a two-dimensional plot varying both x and a line this:

Plot3D[(x - a)^2, {x, -2, 2}, {a, -1, 1}]

Or you could look at how a plot of (x-a)^2 varies as you change a dynamically using Manipulate, for example:

Manipulate[Plot[(x - a)^2, {x, -2, 2}], {a, -1, 1}]

And, of course, there are many other possibilities...

POSTED BY: David Reiss

Thanks for your answers, the first two work perfectly, about the third one:

Looks like there was a misunderstanding. Let's say that my function is f(x):=(x-a)^2 where a is an arbitrary constant. Now I want to plot f(x). Is that possible?

POSTED BY: Mitja Jan?i?
POSTED BY: David Reiss
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract