Plotting function

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 :slight_smile: and thank you in advance!

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}]

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…

Two good starting places,

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

Getting Started—Wolfram Documentation

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.