Question: how to generate circle within square

 

a)can someone pls help write code to generate this circle within square, then square within circle....(with the colours) 

figure.doc

Its a bit like this problem:

http://www.mapleprimes.com/questions/141883-How-To-Generate-Polygon

b)If the purple square has area 1, what is the area of the outer yellow square?

 

Please Wait...