User functions

Wiris Quizzes Studio uses symbolic notation so we can work with variables and symbols. This is extremely useful but then f(x) is understood as a multiplication begin mathsize 22px style f times x end style. If we want that to be interpreted as a function begin mathsize 22px style f end style evaluated at a point begin mathsize 22px style x end style, we need to declare it as a User function in Input options > Input syntax > Define a new function.

Wiris Quizzes 4 documentation

This documentation page has been updated to the latest Wiris Quizzes version. You can find the same information for the previous versions here.

Let us see a question example

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

Note that since f is marked as a User function, it is shown in blue, as any other elemental function (sin comma space cos comma space...).

This feature is also useful when considering the composition of function questions.