Problem 45345. Grazing-01
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
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.
Solution Comments
Show commentsProblem Recent Solvers17
Suggested Problems
-
Omit columns averages from a matrix
608 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3617 Solvers
-
Construct a string from letters and counts
144 Solvers
-
Unique values without using UNIQUE function
403 Solvers
-
Sum of diagonals elements of a matrix
227 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!