Maximum number of combinations

1 visualizzazione (ultimi 30 giorni)
Joel Schelander
Joel Schelander il 1 Apr 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)"

Risposte (0)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Prodotti


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by