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
Rafael S.T. Vieira
on 7 Sep 2020
The length of the rope could be a lot longer...this would make this problem way more interesting.
Dyuman Joshi
on 5 Oct 2022
Image no longer available, @Asif, please make changes to the problem accordingly.
Solution Comments
Show commentsProblem Recent Solvers17
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6231 Solvers
-
1223 Solvers
-
Get the area codes from a list of phone numbers
1053 Solvers
-
448 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1072 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!