Message Boards Message Boards

0
|
12190 Views
|
3 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Mathematica 3D plot is empty

Posted 10 years ago

Hi,

when I type

Plot3D[{-0.005553135*sin[15.708 x]*sin[7.85398 y]}, {x, 0, 0.2}, {y, 0, 0.4}] 

in Mathematica, it only plot's an empty cube. In WolframAlpha it works fine. Does anybody know what the problem is?

Thank you very much!

Attachments:
POSTED BY: Nikola Kuzmic
3 Replies
Posted 10 years ago

Mathematica built in functions are capitalized, so sin should be Sin.

POSTED BY: David Keith
Posted 10 years ago

Thanks, that solved the problem!!!!!

POSTED BY: Nikola Kuzmic

Paste the code in the posting using the Code Sample button.

This works:

Plot3D[-0.005553135 Sin[15.708 x] Sin[7.85398 y], {x, 0, 0.2}, {y, 0,  0.4}]
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