| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Questions and Requests

Page history last edited by Russell Blyth 12 years, 2 months ago

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

 

 

 

 

Comments (69)

Kristen R. Schreck said

at 11:35 am on Jul 11, 2011

I opened my SideBisectorsKRS.html file with SeaMonkey and the page that came up had a message stating that JAVA is not installed on my computer (but it is). So the link to the applet created using GeoGebra was not given. I would appreciate any suggestions you may have to fix this. Thank you.

Russell Blyth said

at 12:17 pm on Jul 11, 2011

If I understand your comment, you're wondering why the apple does not appear in the SeaMonkey Composer window. What instead appears is the alternate text for when an applet does not load. In the Composer window, which is a WYSIWYG text editor, this is expected, since the Composer is not a browser. If on the other hand you opened the html file in the browser of SeaMonkey, that is another question. Does your file load correctly in your usual browser?

Kristen R. Schreck said

at 12:53 pm on Jul 11, 2011

Yes, the file does load correctly in my usual browser. Thank you - you answered my question.

Tony Cron said

at 8:36 pm on Jul 11, 2011

I would like to be able to either rename the file I uploaded or get it delete. The file name is parabolaVert32ABC.ggb. Correct name should be parabolaVert40ABC.ggb. If you delete it I will take care my page, in fact I have deleted the link.

Russell Blyth said

at 10:15 pm on Jul 11, 2011

So renamed!

Tony Cron said

at 10:41 pm on Jul 11, 2011

Thanks, participant web page is updated.

dkuhlmann@andover.edu said

at 11:21 am on Jul 12, 2011

Can you copy an image generated by Probability Calculator to the clipboard to paste into a word processing document. Or maybe to generate, say, a png?

Tony Cron said

at 2:02 pm on Jul 12, 2011

You can when using the One Variable Statistics tool. Most of the others are still in beta, use the forum to request more assistance.

David L. Edwards said

at 9:33 am on Jul 13, 2011

I use a snippet tool (not the Windows version - but FastStone Capture) to copy screen images, including parts of the graphics window or anything else displayed. It can save in different formats, export to Word, etc.

Maria Falidas said

at 12:07 pm on Jul 13, 2011

I like a tool called Snagit. It lets you capture images, edit them and export them to any word document. If you are using Windows Vista or 7 there is a similar tool in the accessories.

Kristen R. Schreck said

at 12:54 pm on Jul 12, 2011

When I open version 3.2 or 4.0 of GeoGebra the default on my computer is a window with the axes and grid showing and the horizontal axes is in multiples of pi.
I noticed that the windows given by the presenters do not include the grid, nor the x-tickmarks in terms of pi. Is there a way I can change this default "look" that automatically comes up upon opening a new file?

Tony Cron said

at 2:05 pm on Jul 12, 2011

Change your settings to your preference and save them in the Options Menu. In version 4, you can create your own perspective, name and save it.

Kristen R. Schreck said

at 2:33 pm on Jul 12, 2011

Thank you, Tony.

Michael Ward said

at 1:40 pm on Jul 12, 2011

I would like to know how to input parameter values without using a slider, e.g. by typing.

Tony Cron said

at 2:07 pm on Jul 12, 2011

Mike will be demonstrating the spreadsheet later. What else are you looking for? I do not know of a device to enter data automatically. There may be other ways that I do not know.

Michael Ward said

at 10:00 am on Jul 13, 2011

I was interested in the Dx(x,y) TextField on Mike's demo. He explained it.

Tony Cron said

at 4:21 pm on Jul 12, 2011

Can the function inspector table be exported other than as a screen capture?

Mathmagic replied:

hello
i select the table of points in function inspector, then control+c then in spreadsheet (or in excel,word etc) control+v so i create the list of points

is that you want?

Maria Falidas said

at 2:39 am on Jul 13, 2011

Is it possible to turn an webpage back to a ggb file provided that the webpage was created with Geogebra?

Tony Cron said

at 8:07 am on Jul 13, 2011

There is a feature in GG4 file menu that accepts the web address of an applet and that brings in the file. I have used this at times.

Michael Ward said

at 9:59 am on Jul 13, 2011

I don't yet understand how to use TextField for input. I made a text box with script m = %0. I wanted to use m as a parameter for a function, f(x) = m sin(x). Typing that in the input field, however, gave an error message that m was an undefined variable.

Michael Ward said

at 12:13 pm on Jul 13, 2011

Evidently, one must enter a value for m before one can refer to it. I had a blank text field when I got the error message. I suppose that's sort of a "duh" now that I think of it.

Michael Ward said

at 4:24 pm on Jul 13, 2011

Or link the textfield to a previously defined variable, as described on Wed afternoon.

dkuhlmann@andover.edu said

at 9:59 am on Jul 13, 2011

Thanks, Tony. I was about to ask the same question. I got Mike's slope field ggb just now this way.

David L. Edwards said

at 1:07 pm on Jul 13, 2011

Is there any reason you can't use the spreadsheet in 4.0 Beta to calculate the size you want the graphics window to be, then enter those variables for the x and y window sizes? I did this last night, seemed to work great but.. 4.0Beta has gone south and seems unrecoverable. I've done everything to get it back.. reboots, uninstall everything, reinstall, 4.0 starts to come up, shows a blank spreadsheet, and disappears.

Russell Blyth said

at 1:17 pm on Jul 13, 2011

David,

I don't know if this is any help, but it may be that making sure that Java is up to date might resolve the issues.

http://www.geogebra.org/forum/viewtopic.php?f=22&t=21907

David L. Edwards said

at 2:20 pm on Jul 13, 2011

Thanks, I did have most recent update. Unistalled Java and reinstalled. Problem still there. I'll search forum later, maybe add this as an issue. Very strange.

Tony Cron said

at 2:24 pm on Jul 13, 2011

Try running CCleaner and the follow instructions here: http://www.geogebra.org/forum/viewtopic.php?f=22&t=22483

Very familiar problem.

Kristen R. Schreck said

at 3:08 pm on Jul 13, 2011

How do you make a drop down menu (of functions, say)? I am creating a file on limits and would like to investigate limits for a few different functions.

Tony Cron said

at 9:25 pm on Jul 13, 2011

Look at the JavaScript examples provided by Mike on the main page.

Mike May, S.J. said

at 7:34 am on Jul 15, 2011

The cleanest alternative to a drop down menu is the slider option. Note the polar applet that June Patton demonstrated is a very nice example of this. She has a list of functions and uses a slider to select which one is designated as f.

Kristen R. Schreck said

at 4:01 pm on Jul 13, 2011

Request: Some instructions on creating Linear Algebra applets - perhaps related to matrices and transformations. Thank you.

Tony Cron said

at 9:27 pm on Jul 13, 2011

Look at this applet that I made, it has some introductory information that might help. http://www.psja.k12.tx.us/~abcron/GeoGebraMenu/GeogebraFiles/matrices/MatrixTraining.html

Russell Blyth said

at 9:56 am on Jul 14, 2011

Will have an intro to matrices this morning

Michael Ward said

at 4:26 pm on Jul 13, 2011

I'd like to be able to move (translate or rotate, for example) a polygon as a "continuous" motion, rather than a jump to the final position. Or, rather, I would like to display such motion on an applet. (GSP has such a feature, though I can't remember how it works.)

Michael Ward said

at 4:37 pm on Jul 13, 2011

PS I'd also like to active such a motion with a button.

Michael Ward said

at 11:35 am on Jul 14, 2011

Thanks, Russell, for answering the first question about moving things "continuously." I'm waiting anxiously to see how to allow a student to activate such a motion with a button or check box.

Tony Cron said

at 9:49 pm on Jul 13, 2011

I have added some GG5 files to my personal folder under Auston Cron. If you are interested in GG5 you are welcome to view and borrow.

Alison Moser said

at 12:20 pm on Jul 14, 2011

As promised, I have a lot of questions. Here are some of them (and I'm working in 3.2 because I can't get 4.0 to work properly):

1) I can't find/remember how to change the x axis to be in terms of pi/2 instead of integer values.
2) I want to graph a function with a restricted domain...how do I do that?

Tony Cron said

at 12:55 pm on Jul 14, 2011

1) goto graphic view, x-axis, check distance and select or type choice
2) there are two way; however, most of the time use the If[] statement
e.g. f(x) = x^2 + sin(x) for x < 2, write f(x)=If[x< 2, x^2 + sin(x), <otherwise>]
<otherwise> is another function, another If[], or nothing.

Alison Moser said

at 1:26 pm on Jul 14, 2011

Thank you, Tony! I thought about the x<2 but I want it on a closed interval and 0<x<2 didn't work. Do I need an 'and' statement or something?

David L. Edwards said

at 1:37 pm on Jul 14, 2011

Often in Text displays we have formulas involving (x-h) or (y-k) which looks ok when h, k are positive. When they are negative they look ugly (x--h) or (y--k), and while you can kinda defend it, my personal preference is for it to display as (x+h) etc. I've include a snippet of code showing how I address this in my applet folder, but if anyone has simpler code I would appreciate it.

Michael Ward said

at 2:21 pm on Jul 14, 2011

Will we learn how to create our own buttons.

Ellen said

at 2:24 pm on Jul 14, 2011

I'm working on completing my applet. I can't get the GeoGebra tools to show up when I open the htlm file. I have gone into the source and changed the height and width, but I still cannot get them to appear.

Tony Cron said

at 2:30 pm on Jul 14, 2011

Have you gone into the advanced tab when exporting, this is where you set up basic options. You can edit the HTML from false to true, save and reload it no other option.

Ellen said

at 3:17 pm on Jul 14, 2011

Thanks, that worked. However, now the captions that go with my text fields are not showing up in my applet

Tony Cron said

at 6:42 pm on Jul 14, 2011

I would have to see the files to diagnosis this problem.

Mike May, S.J. said

at 7:16 am on Jul 15, 2011

Similar to advice you just followed. This time look for "ToolBarHelp" and make it true.

Kristen R. Schreck said

at 6:01 pm on Jul 14, 2011

I created a check box for a function f(x) and selected/hid objects used in the construction of my applet. Now, I would like to go back to hide other objects related to the f(x) check box. I can't seem to get to that same screen upon CNTRL-CLICK of the check box - I just get the Object Properties window. How to get back to list of items to hide?

Tony Cron said

at 6:41 pm on Jul 14, 2011

That is one of the problems with check boxes, no way to edit. You have two choices 1) redo all check boxes, for somethings this is horrendous.
2) find the name of the boolean for the check box (its name), for each object that you want to be controlled by that boolean, enter name in the advanced tab for the object in the first line condition to show object. The nice thing about this method is that the object can have multiple controls by writing the appropriate boolean expressions.

Kristen R. Schreck said

at 9:18 pm on Jul 14, 2011

Thanks, Tony, that helps.

Kristen R. Schreck said

at 12:49 pm on Jul 15, 2011

Hi Tony, I thought I understood what you meant by (2). I entered the name (text9) of the object in the advance tab and in the condition to show object and got an error "invalid input". Would appreciate any help you could offer.

Mike May, S.J. said

at 7:13 am on Jul 15, 2011

Following Up on Tony, Method 2 is one of the reasons I rename my boolean values (checkboxes) with a name that indicates the intended action. It lets me edit the advanced properties more easily

Tony Cron said

at 8:05 am on Jul 15, 2011

On using CAS in the classroom, I have been considering showing Algebra I students the steps needed to solve equations using the properties of equality. CAS commands listed here http://www.geogebra.org/trac/wiki/GeoGebraCAS/Documentation

3x + 5 = 7
(3x + 5 = 7) - 5
(3x = 2)/3
x = 2 / 3

This will re-enforce what is taught in the classroom.

Equations
Equations are written using the simple Equals sign, e.g. 3x + 5 = 7
You can perform arithmetic operations on equations, e.g. (3x + 5 = 7) - 5 subtracts 5 from both sides of the equation. This is useful for manual equation solving.
LeftSide[3x + 5 = 7] gives 3x+5 and RightSide[3x + 5 = 7] gives 7

With these students, do not use advanced methods in CAS.

Kristen R. Schreck said

at 9:05 am on Jul 15, 2011

Question for Group 1: In the FunctionsasIntegral applet, how did you make the Clear Traces check box actually clear the traces? I can create the check box - it is not doing what I would like it to do. Thank you.

Russell Blyth said

at 9:44 am on Jul 15, 2011

Hi Kristen,

See if the explanation on Doug's (Participants applets) page helps: https://prep11geogebra.pbworks.com/w/page/42119896/Doug-Kuhlmann's-applets

Kristen R. Schreck said

at 1:57 pm on Jul 15, 2011

Thanks very much, Russell.

Michael Ward said

at 9:40 am on Jul 15, 2011

I think someone mentioned it is possible to create new tools. I'd like to see an example.

Russell Blyth said

at 9:44 am on Jul 15, 2011

Mike has this planned for today. :-)

Tony Cron said

at 1:36 pm on Jul 15, 2011

That method works well in GG3.2, I have requested a scripting command on the forum. If others join and request it may be created, this is one command that I think that will be simple to create.

Join the GeoGebra Forum, its free.

Tony Cron said

at 1:33 pm on Jul 15, 2011

Great site for Euclidean Geometry is Linda F-S site Ruler and Compass at http://geogebrawiki.pbworks.com/w/page/10994355/Compass-and-Straightedge

Setup is ready for most Euclidean work.

Kristen R. Schreck said

at 1:40 pm on Jul 15, 2011

Anyone familiar with LimitAbove and LimitBelow commands? They are giving me the same value at a jump.

Russell Blyth said

at 2:01 pm on Jul 15, 2011

I noticed that. It seems to be a "feature" (bug) at this point.

Elisse Ghitelman said

at 9:49 am on Jul 28, 2011

I posted a 4.0 update of a file on my applet page. I would like to allow the user to see either tangents to curves XOR secants to curves, but not both, or to see neither. I'd really like something that works like radio buttons. Any ideas? TIA.

Mike May, S.J. said

at 6:42 am on Aug 8, 2011

The page of adding GGB scripts has been updated to include an example of radio buttons.
You add a series of checkboxes with scripts, where each script sets the value of that box to true and
the other boxes to false.

Hillary Einziger said

at 1:12 pm on Aug 11, 2011

I'm trying to put together an applet where the student can click a button and it will display a graph randomly, from a list of 15 or so different functions that I provide. Something similar to the "reset the graph" button at http://webspace.ship.edu/msrenault/GeoGebraCalculus/derivative_try_to_graph.html What's the best way to do this?

dkuhlmann@andover.edu said

at 3:52 pm on Aug 11, 2011

Hillary, I just posted a ggb file that does something what you want. Ten functions are in a list and the function graphed is f=Element[list1,k] where k is randomluy chosen 1 and 10 when the button is selected.

Hillary Einziger said

at 2:04 pm on Aug 11, 2011

Also, is there documentation anywhere on exporting an applet using HTML5 so that it will run on an iPad? Whenever I try, the toolbar disappears.

Hillary Einziger said

at 11:46 am on Aug 12, 2011

Is there a way to erase everything done with the pen tool with one button or checkbox? Basically, what I want to do is be able to draw something with the pen -- possibly with a few separate pieces -- and then erase all the pen work and draw something else. The only way I've figured out is to use the arrow to select a rectangle to draw in, then draw there, creating an image, and then delete that whole image when I don't want to see the pen marks anymore, but I'm trying to figure out if there's a way to do it without having to redraw the box each time.

Actually, now that I think about it, one way might be to have a single button that's scripted to delete the current pic and select a new box to start the next drawing, but I'm not sure how to do that. I think I need to learn some more about scripting to get this to work right.

Hillary Einziger said

at 1:10 pm on Aug 15, 2011

I added my current draft of the file to my applets page. Right now, I've got it so that I could use it for class demonstrations -- I can show the graph, then use the move tool to make a box, then use the pen to draw the derivative, then click on the move tool again, then click the check box to show the actual graph of the derivative. Then, to get to the next graph, I need to delete the box I created at the beginning, then click the "random graph" button to get the next graph. I'd like to be able to make this somewhat simpler so that I can have it on a web page where students can practice independently -- having to create and delete the boxes each time is too complicated, and it leaves the graph littered with points from the corners of the boxes. Any ideas on how to get this to work?

I tried getting an account on the Geogebra forum, but their system thought I was a bot and wouldn't let me register.

You don't have permission to comment on this page.