Message Boards Message Boards

0
|
2619 Views
|
6 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Error with "Plot"

Posted 3 years ago

Graphics::gprim: Line was encountered where a Graphics primitive or directive was expected. >>

How can I fix the problem?

POSTED BY: mirvat ruth
6 Replies

Yes it takes longer time at n=15, and using ParallelTable instead of Table (which should speed up the calculations) resulted in numerical error of dividing over zero (or very small number). So the program needs to be reformulated to be faster and the calculations needs to be traced to know exactly why there is a division over zero.

POSTED BY: Ahmed Elbanna
Posted 3 years ago

ok ,i am beginner this program so thank you very much for the explanation,i really appreciate it .

POSTED BY: mirvat ruth

Hi Mirvat

The notebook is evaluating with no error on my machine. Make sure you are running a recent version of Wolfram Language, and try again.

POSTED BY: Ahmed Elbanna
Posted 3 years ago

Hi Ahmed, Ok thank you, maybe because I have old version that's why and I just want to ask u if for n=15, it's evaluating also ?! Because for me take 5 h until now and no result :( !

POSTED BY: mirvat ruth

This post is vague. Provide the code you ran to get this.

POSTED BY: Moderation Team
Posted 3 years ago

this is the code and also i have problem when i put n for example 15 it's take a lot of hours with no result !!

Attachments:
POSTED BY: mirvat ruth
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