When you enter a letter different from x and y in the[i] Input Bar[/i], which hasn't been defined previously, [i]GeoGebra[/i] will create a slider in the [img]https://www.geogebra.org/wiki/uploads/thumb/4/40/Menu_view_algebra.svg/16px-Menu_view_algebra.svg.png[/img] [i]Algebra View [/i]after pressing [i]Enter.[/i][br][b]Note:[/b] You can display the slider in the [img]https://www.geogebra.org/wiki/uploads/thumb/c/c8/Menu_view_graphics.svg/16px-Menu_view_graphics.svg.png[/img] [i]Graphics View[/i] by selecting the disabled [img]https://www.geogebra.org/wiki/uploads/thumb/3/34/Algebra_hidden.svg/16px-Algebra_hidden.svg.png[/img] [i]Visibility [/i]button next to the number in the [img]https://www.geogebra.org/wiki/uploads/thumb/4/40/Menu_view_algebra.svg/16px-Menu_view_algebra.svg.png[/img] [i]Algebra View[/i].
Graph a linear equation [code]y = m x + b[/code] which parameters can be modified using sliders.[br]Display the slope of the corresponding line and visualize the [i]y[/i]-intercept.[br]
[table][tr][td]1.[br][/td][td][icon]https://wiki.geogebra.org/uploads/thumb/4/40/Menu_view_algebra.svg/120px-Menu_view_algebra.svg.png[/icon][br][/td][td]Enter [code]y = m x + b[/code] into the[i] Input[/i] [i]Bar [/i]and hit the [i]Enter [/i]key.[br][b]Hint:[/b] [i]GeoGebra [/i]will automatically create sliders for the parameters [i]m[/i] and [i]b [/i]when pressing [i]Enter[/i]. To show the sliders in the [img]https://wiki.geogebra.org/uploads/thumb/c/c8/Menu_view_graphics.svg/16px-Menu_view_graphics.svg.png[/img] [i]Graphics View[/i], select the disabled [img width=20,height=21]https://lh6.googleusercontent.com/Ou4lDYXXsgee93x0NpUhAJl5h3lQ_PRGBbiZs0wiRR_92LfhK-OdV7S_kcvLBte9LFhclo0SS63rJ5yBh7pPRUk52N2F8NnkjTOuP_ScuYGU_grYTNG3WUCyMPSSrPimllsJDRi1[/img] [i]Visibility [/i]button in the [img]https://www.geogebra.org/wiki/uploads/thumb/4/40/Menu_view_algebra.svg/16px-Menu_view_algebra.svg.png[/img] [i]Algebra View[/i] on the left of the variables.[br][/td][/tr][tr][td]2.[/td][td][icon]/images/ggb/toolbar/mode_intersect.png[/icon][br][/td][td]Create the intersection point [i]A [/i]between the line and the [i]y[/i]-axis.[br][b]Hint:[/b] You may either use the [i]Intersect [/i]tool you can find in the [i]Toolbox [/i]for points by selecting the two objects, or use the command [code]Intersect(f, yAxis)[/code].[br][/td][/tr][tr][td][size=100]3.[/size][/td][td][icon]/images/ggb/toolbar/mode_intersect.png[/icon][br][/td][td]Create a point [i]B[/i] at the origin using the [i]Intersect[/i] tool and selecting the two axis.[br][/td][/tr][tr][td]4.[/td][td][icon]/images/ggb/toolbar/mode_segment.png[/icon][/td][td]Select the [i]Segment[/i] tool from the [i]Toolbox [/i]for lines and create a segment between points [i]A[/i] and [i]B [/i]by selecting both points.[br][b]Hint:[/b] Alternatively, you can use the command [code]Segment(A, B)[/code] as well.[/td][td][br][/td][/tr][tr][td][size=100]5.[/size][/td][td][icon]https://www.geogebra.org/wiki/uploads/thumb/1/1f/Algebra_shown.svg/32px-Algebra_shown.svg.png[/icon][/td][td]Hide points [i]A[/i] and [i]B [/i]by clicking on the corresponding enabled [i]Visibility [/i]buttons on the left of their coordinates in the [img]https://www.geogebra.org/wiki/uploads/thumb/4/40/Menu_view_algebra.svg/16px-Menu_view_algebra.svg.png[/img] [i]Algebra View[/i].[br][/td][/tr][tr][td][size=100]6.[/size][/td][td][icon]/images/ggb/toolbar/mode_slope.png[/icon][br][/td][td][size=100]Use the [i]Slope[/i] tool from the [i]Measure[/i] [i]Toolbox [/i] to create the slope (triangle) of the line by clicking on the line.[/size][/td][/tr][tr][td][size=100]7.[/size][/td][td][img]https://wiki.geogebra.org/uploads/thumb/d/db/Stylingbar_icon_graphics.svg/32px-Stylingbar_icon_graphics.svg.png[/img][/td][td]Enhance the appearance of your construction using the [i]Style Bar[/i] (e.g., increase the line thickness of the segment to make it visible on top of the [i]y[/i]-axis).[/td][/tr][/table]
By default, the position of a slider is absolute on screen. This way, you can change its value using the [img]https://www.geogebra.org/wiki/uploads/thumb/8/83/Mode_move.svg/16px-Mode_move.svg.png[/img] [i]Move [/i]tool without moving the whole slider accidentally.[br][br]To change the position of a slider you can either...[br][list][*]select the [img]https://www.geogebra.org/wiki/uploads/thumb/e/e4/Mode_slider.svg/16px-Mode_slider.svg.png[/img] [i]Slider [/i]tool and drag the slider to a new position.[/*][*]right-drag the slider to change its position (use the right key of your mouse if available).[/*][/list]