Convert to list

Converts an expression or a solution to a list with respect to a variable.

In particular, the result of the solve command, which may contain multiple solutions (e.g. x = … or x = …), is converted into list form {…} based on the given variable.

Useful when you want to process solutions as a list in further calculations.

Syntax

exparrowList(Expression, Variable)
exp @>List(Expression, Variable)

Examples

Solving trigonometric equations

Solving trigonometric equations can be done in the CAS environment using the solve() command. Solutions can be expressed in a general form using an integer parameter or restricted to a specific interval by adding a condition. If needed, the solutions can also be converted into a list for further processing.