Question: I do not know how to do B with my answer in A Problem 3: More plotting Grading criteria: code correctness. a. Draw a plot

I do not know how to do B with my answer inI do not know how to do B with my answer in A

Problem 3: More plotting Grading criteria: code correctness. a. Draw a plot of a hexagon in R2 with center (1,0) whose circumcircle has radius 1/2. In [68]: var('i') L = '[[(cos(pi*i/3)+2)/2, (sin(pi*i/3))/2] for i in range(6)] polygon2d(L, rgbcolor=(1,0,1)) b. Draw a plot in R of the surface of revolution obtained by obtaining the hexagon in part a around the z-axis. In [18]: 0.032 seconds var('i') hexa = [((cos(pi/3)+2)/2,(sin(pi/3))/2)] revolution_plot3d(hexa, trange(6)) --------------------------------- NameError Traceback (most recent call last) in (). 1 var('i') Problem 3: More plotting Grading criteria: code correctness. a. Draw a plot of a hexagon in R2 with center (1,0) whose circumcircle has radius 1/2. In [68]: var('i') L = '[[(cos(pi*i/3)+2)/2, (sin(pi*i/3))/2] for i in range(6)] polygon2d(L, rgbcolor=(1,0,1)) b. Draw a plot in R of the surface of revolution obtained by obtaining the hexagon in part a around the z-axis. In [18]: 0.032 seconds var('i') hexa = [((cos(pi/3)+2)/2,(sin(pi/3))/2)] revolution_plot3d(hexa, trange(6)) --------------------------------- NameError Traceback (most recent call last) in (). 1 var('i')

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!