Message Boards Message Boards

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

Can't get my Plot3D function work right

Posted 9 years ago

I was trying to Plot a function using Plot3D function but failed. I can't understand what's the feedback mean.

Please tell me what i did wrong.

Thank you very much!enter image description here

POSTED BY: Ziming Wei
3 Replies
Posted 9 years ago

What you should do is to put your code in the form to run any mathematica, in that should make it using the buttons which are in the bar that I show you,

button in the bar

I hope that my explanation is understandable.

The result should be something like the following

(1/5)*Integrate[Sin[Pi*x - 4 Pi]^2*Sin[n*Pi*x/10], {x, 4, 5}];
A[n_] := -((400 (Cos[(2 n \[Pi])/5] - Cos[(n \[Pi])/2]))/(
   n (-400 + n^2) \[Pi]));
A[20] := 0;

u[x_, t_, w_] := Sum[A[n]*Cos[n*Pi*t/5]*Sin[n*Pi*x/10], {n, 1, w}];

And as you'll see images are obtained as the following

images obtained

POSTED BY: Luis Ledesma

Could you post perhaps the code? This is very unhandy for anyone who wants to help! Please update your post.

POSTED BY: Sander Huisman
Posted 9 years ago

Yeah I think I posted a picture with some code. That's all I have right now

POSTED BY: Ziming Wei
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