Cube root of a complex function

27 views (last 30 days)
I need to solve Z^3 = -8-3i, and obtain all cube roots of -8-3i showing that the sum of the cube roots is zero using matlab.

Accepted Answer

madhan ravi
madhan ravi on 14 Nov 2018
syms Z
ROOTS=solve(Z^3 == -8-3i,Z)
logical(sum(ROOTS)==0)

More Answers (1)

James Tursa
James Tursa on 14 Nov 2018
Another way is to simply use the roots( ) function with appropriate polynomial coefficients:
>> roots([1 0 0 (8+3i)])
ans =
0.8036 + 1.8798i
1.2261 - 1.6359i
-2.0297 - 0.2439i

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!