DataFunction Command

From GeoGebra Manual
Revision as of 14:48, 10 September 2015 by Zbynek (talk | contribs) (Created page with "<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|function}} ;DataFunction[ <List of Numbers>, <List of Numbers> ] : Yields a function that connects points (x<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


DataFunction[ <List of Numbers>, <List of Numbers> ]
Yields a function that connects points (x1,y1), (x2,y2),...,(xn,yn) where

{x1, ...,xn}, {y1, ...,yn} are the input lists. In between these point linear interpolation is used. This command is used by Sensors.

Example:
  • DataFunction[{0, 1, 2, 4}, {0, 1, 4, 16}] yields a function that goes through points (0,0), (1,1), (2,4), (4,16).
© 2024 International GeoGebra Institute