How can I draw a square whose side is 6 inscribed in a circle and make the program display the shaded region between the square and the circle
|
Here's a simple option; the value for
Another option using the intersections library; this time the value for
|
|||||||||||
|
|
Here is a solution using a
And just for fun (credits to Qrrbrbirlbel):
|
|||||||
|
|
Some complements : With the code of Paul, you can use
If you want to fill the area between two circles, you have the next possibilites
About the construction You can use Tikz with tkz-euclide. You give two points like you want with tikz or tkz-euclide with cartesian coordinates or polar coordinates. Then you define the square and you get the point C and you can define the circle with diameter A and C
|
||||
|
|




