# Looking for equations

#### XodoX

Hello guys!

I'm looking for some equations I need for a program I have to create.

In the mid-west many farmers irrigate from a well near
the center of a piece of land using a circular
irrigation system. The farmer plans on farming an
almost square (but it is a rectangle) piece of
property and needs to know some answers for planning.

This program is to get two measurements for a rectangular
piece of property. The measurements will be in feet,
and should be identified with variables named length
width. The program is to calculate the area in square
feet of the rectangle and the largest circle that could
fit into the rectangle.

The farmer wants to know the acreage of:

1. the property
2. the farmable area
3. the non-farmable area
The rectangular area is easy.. side a x b. How do I get the equation for how many circles could fit in the rectangular area?

Last edited:

#### flatmaster

Total area = W*L
The biggest circle is of radius Min[W.L]/2
Where the Min function picks the smaller number. THat gives.
Pi(Min[W.L]/2)^2 area of farmable land.

#### flatmaster

And you want to put more circles in? Well you would slam that largest circle up against one side.

### Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving