Variables in Stack

Variables in Stack

- Björn Gerß の投稿
返信数: 2

Hi everyone,

I like to combine text with a random number in stack. For example:

X: rand (5)+1;

Tx: “the function has a minimum at x={@x@}”;

The second line is not allowed/correct. How can I combine text with existing variables to a new variable? I do need it as a variable and can’t use the question text as I like to mix the text with random_permutation later.

Thanks for your help,

Björn

Björn Gerß への返信

Re: Variables in Stack

- Stephan Bach の投稿

Hi,

if you need to have it as a variable you can use the Maxima function sconcat.

Stephan.