It is possible to make an applet automatically marked in GeoGebra, which generates random straight lines and lets you enter the function regulation of these. It is explained in the following guidance.
How to do
- Show axes and grid (right click on the drawing pad and select axes / grid).
- In the input field, type the following
a = Random Medium[-5,5]
- In the input field, type again following
b = Random Medium[-5,5]
- In the input field, type the following
a * x b
- Now you have created a function f(x) with a random- and b-values.
- Right-click the line of f(x) and select Display Name.
- Insert a text on the drawing board using the. -button.
- Write “Well done!” in the edit box.
- Press OK.
- Press -button.
- Press text “Well done!” on the drawing pad.
- Press the small arrow, which is the sign block.
- This will give you back access to additional features.
- Change letter size to very large.
- Now you need to add a new function g(x). (You do this in the input field. This function is later hidden and controlled by button “Insert Text Field”.) Write in the input field:
g(x)= 0 - Right-click the line of g(x) and select Display Name.
- Insert text field by pressing -button and then press the drawing pad.
- At the Caption you write “Skriv forskrift for f f(x)=”.
- Choose g(x)= 0 for “Hooked object“.
- Press “Apply”.
- Right click on the text “Well done!” on the drawing pad and select properties.
- Under the tab “Advanced” , under “Condition to show object” write f == g
- It is automatically changed to f ≟ g
- Press the junction to close the properties.
- Indsæt en knap vha. -button (in the toolbar).
- Write “NEW FEATURE” in the Caption field.
- Type the following in GeoGebra script field:
Select the Active Display[1] OpdaterKonstruktionen[]
- Press OK.
- Press -button.
- Remove the algebra window (possibly. under the view menu or by pressing the junction at algebra)
- Press “NEW FEATURE” and write operation regulation of the straight line in the text box.
See and download the assignment here:
www.geogebratube.org/material/show/id/44829
Change the color, thickness m.m. for graphs
- Press -button.
- Pressure on the graph(line) for f(x).
- Press the small arrow, which is the sign block.
- This will give you back access to additional features.
- Change the color, such as blue.
- Make the line dotted.