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 Solvers20
Suggested Problems
-
4655 Solvers
-
2282 Solvers
-
Back to basics 25 - Valid variable names
340 Solvers
-
Are all the three given point in the same line?
608 Solvers
-
Implement a bubble sort technique and output the number of swaps required
404 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.