Jump to content

Total circles area: Difference between revisions

m
used different size for illustration.
m (→‎{{header|Java}}: Remove vanity tags)
m (used different size for illustration.)
Line 1:
[[Category:Geometry]]
 
{{task}}
 
[[File:total_circles_area_full.png|200px|thumb|right|Example circles]]
[[File:total_circles_area_filteredtotal_circles_area_full.png|200px300px|thumb|right|Example circles filtered]]
[[File:total_circles_area_fulltotal_circles_area_filtered.png|200px300px|thumb|right|Example circles filtered]]
 
Given some partially overlapping circles on the plane, compute and show the total area covered by them, with four or six (or a little more) decimal digits of precision. The area covered by two or more disks needs to be counted only once.
Line 2,861 ⟶ 2,864:
{{out}}
<pre>Approximated area: 21.5616</pre>
 
[[Category:Geometry]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.