| This is read-only version of the old wiki, feel free to browse it for materials. If you want to share your own materials, please use GeoGebraTube instead. You are also welcome to help us enhance the new wiki. If any questions arise, please contact the webmaster. |
Function Command
Syntax
Function[function F, number A, number B]
Action
Yields a function graph, that is equal to f on the interval [a, b] and not defined outside of [a, b].
Notes
- This command should be used only in order to display functions in a certain interval.
- For drawing parametric curves, you should use Curve Command instead.
- Unlike If Command, Function is compatible with LaTeX (PSTricks) export.
Examples
Putting f(x) = Function[x^2, -1, 1] gives you the graph of function x2 in the interval [-1, 1]. If you then type in g(x) = 2 f(x) you will get the function g(x) = 2 x2, but this function is not restricted to the interval [-1, 1].
See also