x=−2b+(−1+√−32)n3√4(−2b3+9abc−27a2d+√(−2b3+9abc−27a2d)2−4(b2−3ac)3)+(−1−√−32)n3√4(−2b3+9abc−27a2d−√(−2b3+9abc−27a2d)2−4(b2−3ac)3)6a
The cubic formula gives the solutions of ax3+bx2+cx+d=0 for real numbers a, b, c, d with a≠0.
Directions: Take n=0, 1, 2. Use real cube roots if possible, and principal roots otherwise.