Group Abstract Group Abstract

Message Boards Message Boards

0
|
8.4K Views
|
2 Replies
|
1 Total Like
View groups...
Share
Share this post:
GROUPS:

Dynamic Module (book Paul Wellin - prog with Mathematica)

Posted 11 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

Attachments:
POSTED BY: Chiel Geeraert
2 Replies
Posted 11 years ago

Yes , thank you for your answer. You are right, I still don't understand the finer workings of 'Dynamic Module' Best Regards, Chiel Geeraert

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