A cow is tied to an outside corner of a rectangular barn of size (a,b) with a rope of length l. What is the maximum area the cow can graze outside the barn?
Nb.the test cases are simpler for this problem. They'll be enhanced in the next case.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers19
Suggested Problems
-
Find the numeric mean of the prime numbers in a matrix.
9132 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15779 Solvers
-
Remove the polynomials that have positive real elements of their roots.
1740 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3665 Solvers
-
Find the elements of a matrix according to a defined property.
91 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The length of the rope could be a lot longer...this would make this problem way more interesting.
Image no longer available, @Asif, please make changes to the problem accordingly.