cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

The goat problem

Fred_Kohlhepp
23-Emerald I

The goat problem

Imagine a circular fence that encloses one acre of grass. If you tie a goat to the inside of the fence, how long a rope do you need to allow the animal access to exactly half an acre?

 

https://www.quantamagazine.org/mathematician-solves-centuries-old-grazing-goat-problem-exactly-20201209/

 

 

ACCEPTED SOLUTION

Accepted Solutions

I wasn't aware of this new exact solution to the problem - thanks for bringing this to our attention.

 

Obviously we cannot expect Mathcad to give us the "exact" solution, but it sure is good enough for an approximation:

Werner_E_1-1608909203500.png

 

By the way, the wiki entry for the goat problem has already been supplemented by Ingo Ullisch's closed form solution -> https://en.wikipedia.org/wiki/Goat_problem#Closed-form_solution

 

View solution in original post

9 REPLIES 9

I wasn't aware of this new exact solution to the problem - thanks for bringing this to our attention.

 

Obviously we cannot expect Mathcad to give us the "exact" solution, but it sure is good enough for an approximation:

Werner_E_1-1608909203500.png

 

By the way, the wiki entry for the goat problem has already been supplemented by Ingo Ullisch's closed form solution -> https://en.wikipedia.org/wiki/Goat_problem#Closed-form_solution

 

Okay, where's my mistake?

Fred_Kohlhepp_0-1608916916113.png

 


@Fred_Kohlhepp wrote:

Okay, where's my mistake?


It here, as the area should be just half of the area of the fenced circle.

Werner_E_0-1608921965487.png

 

BTW, your function A.g(r) only returns a correct result for the area between the two circles if r<=sqrt(2)*R.f.

If the goat circle intersects the fence circle above the x-axis, you get wrong results.

 

So I spent a fair amount of time working to fix the 

     "If the goat circle intersects the fence circle above the x-axis, you get wrong results."

to still get the wrong answers.

 

Then (waking from sleep) last night the mistake your arrow pointed out leaped out!

 

Attached is the latest (still not completely corrected) file.  

And the (finally) fixed file.

If you use "min", you may also use "max"

This modified function "h" works at least OK in the range which is interesting.

Werner_E_0-1609000045105.png

 

 

 

This addition should do the trick (you may check using the formula Valery has given in his sheet):

Werner_E_0-1608992846430.png

P6 sheet attached

 

EDIT: Had not seen your final version when I started my answer. Nice idea to use the min function and more elegant compared to my brute force attack 😉

 

Nice idea to make the area ratio selectable.
But the link in the thread you point to is dead and the plot in the attached worksheet fails. I guess the file is from the times of the Mathcad Application Server and you added units. If you do so, you would also have to change the plot by providing a range for l and unfixing the upper limit of the y-axis:

Werner_E_0-1608923377012.png

Unfortunately the file does not show the derivation of the formula using the capabilities of Mathcad.

 

 

Announcements

Top Tags