Maximum number of combinations

1 visualización (últimos 30 días)
Joel Schelander
Joel Schelander el 1 de Abr. de 2021
I have 36 households and 429 vehicles.
Of the households 15 can have two vehicles, while the others can only have one vehicle.
I iterate and combine households: 2 at a time, 3 at a time... 36.
What is the maximum number of combinations of households and vehicles?
Answer: "The maximum number of combinations is reached when combining X households with 429 vehicles: (NumberofCombinations)"

Respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by