Message Boards Message Boards

0
|
6939 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:
GROUPS:

Dynamic Module (book Paul Wellin - prog with Mathematica)

Posted 10 years ago

Hello, Maybe somebody can help me with a problem I encountered when studying the book of Wellin “Prog in Mathem”. In chapter 11 he explains Dynamic Modules and he gives a few examples. At the end of the chapter are the problems. This is one of the questions : Generate 20 random points in the unit square, find the shortest path (FindShortestPath) and plot it. If you click a new set of points is generated and plotted. If I build it static everything works, but not when I put in a Dynamic Module . I tried everything but I don’t have a clue where the problem is. See attach with (5 points)

Wellin gives a solution very different from mine, but I like to understand why mine is not working. Thank you in advance, Chiel Geeraert

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

Be respectful. Review our Community Guidelines to understand your role and responsibilities. Community Terms of Use