Google Classroom
GeoGebraGeoGebra Klaslokaal

inputfield for the equation of a function

introduction

Since now you're familiar with empty Input Boxes for numbers and coordinates, using it for functions is just an easy step. You only have to respect the appropriate syntaxes for functions. In this worksheet we show how to do it.

How to do

  • parameters of first degree function f(x) = a x + b: - lista = Shuffle({-3, -2, -1, -0.5, 0.5, 1, 2, 3}) and a = lista(1) makes it possible to exclude 0 and to include -0.5 and 0.5. - Define b = RandomBetween(-3, 3).
  • Solution: define the function sol(x) = a x + b Answer: define a function ans to use as anwer: ans(x) = pi.
  • The rest goes exactly the same as when working with numbers or points.