Ask Your Question
0

Problem on advanced plotting [closed]

asked 2020-07-08 14:18:43 -0500

gabrielromao5 gravatar image

How can I resolvve this:

Create a plot for the following problem. Find the area that is inside the circle r=2, but outside the cardioid 2+2cos(θ).

My code:

var('a')

polar_plot([2,2+2*cos(a)],(a,0,2*pi))

When I add the parameter fill=RealNumber, the area is filled, but I can't control what the area; what means this parameter?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by gabrielromao5
close date 2020-07-09 09:45:24.449383

1 answer

Sort by » oldest newest most voted
0

answered 2020-07-09 02:58:32 -0500

Emmanuel Charpentier gravatar image

This parameter is documented in plot?? Your "best" option is probably polar_plot([2,2+2*cos(a)], (a, pi/2, 3*pi/2), fill={0:[1]})

edit flag offensive delete link more

Comments

Thanks man!

gabrielromao5 gravatar imagegabrielromao5 ( 2020-07-09 09:44:54 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-07-08 14:16:04 -0500

Seen: 71 times

Last updated: Jul 08