Group Abstract Group Abstract

Message Boards Message Boards

Problem with DynamicModule in a program with colliding blocks

POSTED BY: Ivan Siahlo
4 Replies
POSTED BY: Michael Rogers

Thanks. This variant gives me the possibility better understand Dynamic[] command.

POSTED BY: Ivan Siahlo

Thanks. It works. I wasted much time but didn't find this straightforward solution.

POSTED BY: Ivan Siahlo

I myself find Dynamic mysterious. After playing around a bit I found that this variant works as intended:

Dynamic[If[y0 + u*t <= x0 + v*t, "Collision", "Separated"]]
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard