aspose file tools*
The moose likes Programming Diversions and the fly likes Circle Areas Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "Circle Areas" Watch "Circle Areas" New topic
Author

Circle Areas

Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8764
    
    5
Imagine a circle:
Now imagine a square inside the circle, such that all four of the square's corners touch the edge of the circle (inscribed).
Now imagine a second circle inside the square,such that the inner circle touches the square at all four of the square's midpoints (inscribed).
What's the ratio of areas of the two circles?


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1815
I get 2:1
If the square has a length of 2x, then the inner circle has a radius of x and the outer circle a radius of x*sqrt(2). Apply A = PI * r^2 to each circle, and you get areas of PI * x^2 and * PI * x^2, respectively. Reduce (and express in terms of larger:smaller), and you get 2:1.
[ November 16, 2003: Message edited by: Joel McNary ]

Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8764
    
    5
I guess I'm gonna have to make these a bit harder...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Circle Areas
 
Similar Threads
How to draw a circle using 2d arrays
Finding the value of PI
anti-aliased image clipping
how do i find points along the circumferance of a circle
Polymorphism reference variable question