% This figure was an illustration for an exercice about
% the position of the gravity center of this object in
% respect of radius r.
% Copyright (c) Christian Obrecht 2001

frame(-4,-3.5,4,3.5)

O = point(0,0) ; I = point(1,0)
c = circle(I,2) ; s = segment(c,45:)

draw(circle(O,3)) ; draw(c)
draw(O) ; draw("$O$",O,-90:)
draw(I) ; draw("$I$",I,-90:)
draw("$r$",s,.2,140:)
color(gray) ; draw(s,full,doublearrow)
