Defining functions

Task
Define a function and display its graph in the [i]Graphics View[/i] and compute some function values and arguments.
Explore the construction...
Instructions
[table][tr][td]1.[/td][td]Enter the function [math]f\left(x\right)=x^3+6x^2+6x-4[/math] into the [i]Input Bar[/i] and press [i]Enter [/i]to define a new function.[/td][/tr][tr][td][/td][td][b]Note:[/b] The graph of [i]f(x) [/i]will be automatically displayed in the [i]Graphics View. [/i][/td][/tr][tr][td]2..[/td][td]Calculate the roots of [i]f(x)[/i] by typing [math]Solve\left(f=0\right)[/math] into the [i]Input Bar[/i] and pressing [i]Enter[/i]. [br][/td][/tr][tr][td]3.[/td][td]Calculate the function values for [i]x = -5[/i], [i]x = 0 [/i]and [i]x = 2.15[/i] by typing [math]f\left(\left\{-5,0,2.15\right\}\right)[/math] into the [i]Input Bar [/i]and pressing [i]Enter[/i].[/td][/tr][tr][td]4.[/td][td]Find the arguments [i]x[/i] for which [i]f(x) = 4 [/i]by entering [math]Solve\left(f=4\right)[/math] into the [i]Input Bar[/i].[/td][/tr][/table][b]Note:[/b] You can switch between [img]https://wiki.geogebra.org/uploads/thumb/6/66/Numeric_toggle_button.png/24px-Numeric_toggle_button.png[/img] numeric and [img]https://wiki.geogebra.org/uploads/thumb/8/8b/Symbolic_toggle_button.png/24px-Symbolic_toggle_button.png[/img] exact output after having calculated the function values and arguments by pressing the corresponding toggle button.
Try it yourself...

Information: Defining functions