Questions and Requests


Please post your questions and requests for applets, demonstrations or discussions on this page. We'll try to work replies into the workshop program. Please try to keep this page organized (we may rearrange your posts to help with that). Use of bulleted lists is encouraged.

 

Random Functions

Selecting a random function out of 10 with a button  A simple file to answer Hillary Einsiger's request.  I created 10 functions, put them in a list and then choose f=Element[list1,k]  The button has a script k=RandomBetween[1,10]

 

Controlling animations with a single button

 

I figured out how to make buttons to start and stop an animation, but I couldn't figure out how to consolidate them into one button.  Is it possible?  June (7/14/11 11:30 CST)

I got an answer to this on the forum.  Here it is:

 

http://www.geogebra.org/forum/viewtopic.php?f=22&t=22358&p=74276#p74276

a is your slider to animate
b=-1
c=if[b==-1,false,true]

Then your button script is
StartAnimation[a,c]
b=-1 b

 

AnimationToggleABC.ggb  Animate with a button. Clarified naming also posted on Forum. ABC 7/15/2011 1 PM

 

Thanks, June - Mike and I figured out something equivalent after the session (I just saw this). We essentially get rid of the need for the c and if statement here, and use subtraction instead of multiplication for the switch. I posted an example (ToggleButton) on the Instructor Applets page -- Russell (7/14/11 6:53 PM CDT)

 

First applet

 

Can Mike May post the applet he created in this morning's class, so that we can figure out what we missed and try to fill in?  -- Elisse  (7/11/11 1:30 CST)   NEVER MIND, I see that it is posted on Instructor applets