Solving a cubic

A real, yet complex solution

Here’s one problem on solving cubics.

The problem

  1. Use the code shown in Example 2 of our notes on complex cubics to find a solution of \[z^3 - 4z + 2 = 0.\]