Message Boards Message Boards

0
|
3125 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

I cannot get Plot3D to work with sin[x+y]

Posted 10 years ago

This command

Plot3D[sin[x + y], {x, -3, 3}, {y, -3, 3}]

produces

enter image description here

I am using Mathematica 10.0.2 on a MacBook Pro running Mac OS 10.10.2 with a NVIDIA GeForce GT 750M 2048 MB graphics card. Note that

Plot3D[x + y, {x, -3, 3}, {y, -3, 3}]

works fine. I can change sine to cosine and I can change the argument, but everything I tried produced the same result. Does anyone understand why this is happening?

POSTED BY: Bob Latter
Posted 10 years ago

Mathematica is case sensitive, and the built-in function for sine is Sin, not sin.

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