Message Boards Message Boards

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

Error with "Plot" using custom defined function

Posted 3 years ago

I have drastically simplified my problem, see attached nb. Basically, I define f[x_]. I ask Mathematica what is f[x]? Correct result returned. I copy/paste the output of f[x]...correct plot. I ask Mathematica to plot f[x] itself...error. Why?

Attachments:
POSTED BY: Patrick Cesarano

Try:

Plot[Evaluate@f[x], {x, 0, 2 \[Pi]}]
POSTED BY: Mariusz Iwaniuk
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