function DrawNstar(r1,r2,n,oddPetalColor,evenPetalColor, diskColor)
% Draws an n-star with inner radius r1, outer radius r2, odd petal color
% oddPetalColor, even petal color evenPetalColor, and inner disk color
% diskColor.

% Determine the vector theta so that we get the right xy coordinates for the P and Q points..

% theta = ??????????????????????????????????????????;

xP = r1*cos(theta);
yP = r1*sin(theta);
xQ = r2*cos(theta);
yQ = r2*sin(theta);

% Draw the odd petals...
for k=1:2:n
% Determine the xy coordinates of the kth petal...
if k==1
xPetal = [xQ(1) xP(n) xP(2)];
yPetal = [yQ(1) yP(n) yP(2)];
else
xPetal = [xQ(k) xP(k-1) xP(k+1)];
yPetal = [yQ(k) yP(k-1) yP(k+1)];
end
fill(xPetal,yPetal,oddPetalColor)
end
% Draw the even petals...

% Place code here

%%%%%%%%%%%%%%%%%%
DrawDisk(0,0,r1,diskColor)