Minimal cost - MATLAB Cody - MATLAB Central

Problem 2174. Minimal cost

Difficulty:Rate
A power house, P, is on one bank of a straight river W meters wide, and a factory, F, is on the opposite bank L meters downstream from P. The cable has to be taken across the river, under water at a cost of $CW/m. On land the cost is $CL/m. What is the minimum cost?

Solution Stats

45.56% Correct | 54.44% Incorrect
Last Solution submitted on Jan 14, 2025

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
2
3

Problem Recent Solvers59

Suggested Problems

More from this Author12

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!