User functions
WirisQuizzes Studio uses symbolic notation to work with variables and symbols. This is extremely useful, but f(x)
is understood as a multiplication . If we want that to be interpreted as a function evaluated at a point , we need to declare it as a User function in Input options > Input syntax > Define a new function.
![user_function_studio.png](../image/uuid-8f30b6e6-426d-fa70-2c81-d635edf83633.png)
Example
Let us see a question example.
![user_function_statement.png](../image/uuid-82862042-3e10-269c-48a7-962ee51b208e.png)
This is the well-known statement of the Fibonacci sequence. We ask for two answers: the relation and a particular term of the series. Thus, the Correct answer editor will look like
![user_function_correctanswer.png](../image/uuid-666bcdcf-0ed4-d1ee-4e9b-66c2a7bd1398.png)
Note that since is marked as a User function, it is shown in blue, as any other elemental function (). This feature is also useful when considering the composition of function questions.