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
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).
sol(x) =
a x + b
Answer: define a function ans to use as anwer: ans(x) = pi
.