Group Abstract Group Abstract

Message Boards Message Boards

0
|
4.8K Views
|
4 Replies
|
2 Total Likes
View groups...
Share
Share this post:
GROUPS:

Plot and Discrete Plot give vastly different results

Posted 10 years ago
POSTED BY: Stefan Karos
4 Replies
Posted 10 years ago
POSTED BY: Stefan Karos
POSTED BY: Sander Huisman
Posted 10 years ago

DiscretePlot[Mod[n !,2^n],{n,20,35}] discrete plot

Plot[Mod[m !, 2^m], {m,20,35}] plot

POSTED BY: Stefan Karos

What do you mean with 'fail' ? x! grows as x^x, so much slower than 2^x, so the 'mod' will chop up the function many many times and it will look like a lot of vertical lines... The values DiscretePlot shown (the integer ones) might not appear exactly in the Plot version, as it samples PlotPoints number of samples which might not be exactly integers...

Edit: Unfortunately we can not see the notebook as we don't have permission to do so. Therefore I'm speculating. Can you provide a screenshot?

POSTED BY: Sander Huisman
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard