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. - Skriv “Flot klaret!” i redigeringsfeltet.
- Press OK.
- Press
-button. - Tryk på teksten “Flot klaret!” på tegneblokken.
- 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. Denne funktion bliver senere skjult og styret af knappen “Indsæt tekstfelt”.) 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 skrives “Skriv forskrift for f f(x)=”.
- Choose g(x)=0 under “Hooked object“.
- Tryk på “Anvend”.
- Højreklik nu på teksten “Flot klaret!” på tegneblokken og vælg egenskaber.
- Under fanebladet “Avanceret” skal du under “Betingelse for at vise objekt” skrive 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).
- Skriv “Ny funktion” i Caption-feltet.
- 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) - Tryk på knappen “Ny funktion” og skriv funktionsforskriften for den rette linje i tekstfeltet.
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.