Hello everyone

I would like to create a test for students to practice the basics. Thereby different equations are to be displayed, which are to be differentiated. But I have the problem that the program always shortens the equations I generate.

A short and simple example:

*Variables:*

u: rand(10)+1

v: x^2

q: x^rand(10)

t: rand([ u/v*q , (q*v)^u , (q+u)/v ]) **I use the
rand() function to always display different function types.**

*Text for the question:*

" Differentiate the following function with respect to x: t(x) = {@t@} "

For example, if my variables take the following values:

u = 7 ; v = x^2 ; q = x^1 ; t = (q * v)^u

then I want to display the following in the text of the question the students see:

" Differentiate the following function with respect to x: t(x) = \( (x^1 \cdot x^2)^7 \) "

Unfortunately I receive the following displayed text:

" Differentiate the following function with respect to x: t(x) = "

Options -> Question Level Simplify is disabled.

Using " simp:false; " in the variables was not successful either.

Can anyone tell me a practical solution that prevents the term from being shortened in the displayed question text?

Best regards and thanks a lot in advance!!

Tobias

PS: If I enter the following for the t function, it displays the function in the desired format in the question text.

t: (q*v)^u

Therefore it is probably due to the rand() function... But I don't want to miss this function, because the students should always get different function terms displayed and not always the same one.