The function
- Cubic to examine
Maths · sample calcsheet · 2 pages
Symbolic maths works on formulae, not just numbers. Here a cubic is differentiated symbolically, and that derivative is solved for zero to find both of its turning points.

With x undefined there is no number to return, so the answer is the derivative itself. Keywords chain, and expand puts the result in standard order.
A turning point is where the slope is zero. solve() returns every root at once, as a column to read elements from.