Ask Your Question

Problem on advanced plotting [closed]

asked 2020-07-08 21:18:43 +0200

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:



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 16:45:24.449383

1 Answer

Sort by » oldest newest most voted

answered 2020-07-09 09:58:32 +0200

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


Thanks man!

gabrielromao5 gravatar imagegabrielromao5 ( 2020-07-09 16:44:54 +0200 )edit

Question Tools

1 follower


Asked: 2020-07-08 21:16:04 +0200

Seen: 426 times

Last updated: Jul 08 '20