Finding the nth roots of -1, i, and -i
Use additional examples to reinforce important concepts. Modify code during the lecture
to answer questions or explore ideas in more depth.
We can find the roots of -1, i, and -i just by using extensions of the approach described
above. If we look at the unit circle we see that the values of 1, i, -1, -i appear at angles 0 ,
π/2, π, and 3 π/2 respectively.
r = ones(1,4);
theta = [0 pi/2 pi 3*pi/2];
[x,y] = pol2cart(theta,r);
cla
plot(cos(range),sin(range),'k') % Plot the unit circle
Create Interactive Course Materials Using the Live Editor