Message Boards Message Boards

0
|
5878 Views
|
3 Replies
|
4 Total Likes
View groups...
Share
Share this post:

Plotting function

Posted 11 years ago
Hi everyone! I know, that's probably a silly question but... why Mathematica doesn't plot this function?
Plot3D[(x y ln (abs (x) + abs ( y)))/(sqrt (x^2 + y^2)), {x, -2, 2}, {y, -2, 2}]
Is it because it's not defined in (0,0)? How can i remedy to that?

Sorry for the ignorance emoticon and thank you in advance!
POSTED BY: Massimo Verdi
3 Replies
Two good starting places,

   http://reference.wolfram.com/mathematica/tutorial/GettingUsedToMathematica.html

   http://reference.wolfram.com/mathematica/tutorial/GettingStartedOverview.html

They are also in the Mathematica (Help menu) Documentation Center as
  
   tutorial/GettingUsedToMathematica 
   tutorial/GettingStartedOverview 


In some cases in which you don't know the right names or syntax, you can ask the Wolfram|Alpha web
site to guess what you mean and send it back to Mathematica. Type an "=" sign before the input or click
"Free-form input" from the horizontal insertion line. Note that the Wolfram-Language input is included
in what comes back.

POSTED BY: Bruce Miller
Posted 11 years ago
Another thing worth of mention is that, in comparison to many other languages, Wolfram language rarely spits error messages that those other languages generate on erroneus input. This is because very wide range of input is perfectly valid, but unless you know what semantics and precise grammar the language has, your input may have completely different meaning than what you intended. In this regard it may have a bit steep learning curve...
POSTED BY: Jari Kirma
Posted 11 years ago
Mathematica does not plot it because it is not written in Wolfram language. Function names begin in capitals and must be correct. Square brackets are used for arguments. There should be no space between the function name and the bracket. It all needs to be quite precise.
 
Plot3D[(x y Log[Abs[x]+Abs[y]])/(Sqrt[x^2+y^2]),{x,-2,2},{y,-2,2}]
POSTED BY: David Keith
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