Calculating the Number of Squares Inside a Circle in the 1st Quadrant

  • MHB
  • Thread starter Wilmer
  • Start date
  • Tags
    Square
In summary, "Don't you be no square" is a colloquial phrase that originated in the United States during the 1950s and 1960s. It encourages individualism and nonconformity and has been referenced in popular culture. The phrase can have multiple meanings depending on the context.
  • #1
Wilmer
307
0
A 10by10 square contains 100 1by1 squares (of course!).
A circle is drawn inside above square, tangent to all 4 sides.
How many of the 1by1 squares are fully inside the circle?

I get 60...which I think is correct.
Trying to devise a general case formula...
 
Mathematics news on Phys.org
  • #2
Couldn't come up with general case formula.

However, this simple program seems to work:

-center of circle at origin
-examine the 1/4 circle in 1st quadrant

r = radius
x,y = points on circumference

INPUT r
LOOP x FROM 1 TO r
y = FLOOR[SQRT(r^2 - x^2)]
count = count + y
ENDLOOP
PRINT count*4

See anything wrong?
 

FAQ: Calculating the Number of Squares Inside a Circle in the 1st Quadrant

What does "Don't you be no square" mean?

"Don't you be no square" is a colloquial phrase that means to not be boring or conformist. It encourages people to be unique and think outside of the box.

Where did the phrase "Don't you be no square" originate from?

The phrase originated in the United States during the 1950s and 1960s, during the height of the counterculture movement. It was commonly used by beatniks and hippies to encourage individualism and nonconformity.

Is "Don't you be no square" a scientific term?

No, "Don't you be no square" is not a scientific term. It is a common saying with a cultural and historical significance.

What is the significance of "Don't you be no square" in popular culture?

The phrase has been referenced in various songs, movies, and books, making it a part of popular culture. It is often associated with rebellious and nonconformist attitudes.

Can "Don't you be no square" have multiple meanings?

Yes, the phrase can have multiple meanings depending on the context. It can mean to not be boring or conformist, but it can also be used to encourage someone to not be afraid to take risks or try new things.

Similar threads

Replies
3
Views
2K
Replies
45
Views
3K
Replies
11
Views
3K
Replies
6
Views
1K
Replies
2
Views
2K
Replies
1
Views
3K
Replies
7
Views
2K
Replies
3
Views
2K
Replies
1
Views
2K
Back
Top