VaultNetwork.net Vault Network Boards
Author Topic: Math question for you younger college people. Is this probabilities? [Locked]
Rhodoman  4 stars
Posts: 1,397
Registered: 2001-6-14 21:02:19
regulator_cracka posted:

For my simple example is it 25 possible sammichs?


The answer is 25 (if you don't care what order they are in and that every sandwich has to have both cheese and meat).

If you allow sandwiches that leave out either meat or cheese, it's (6*6) - 1 = 35 (because you wouldn't make a sandwich with neither)

 

-----signature-----
Rho is correct. - Varece
Venit hiems quidquid Latine dictum sit altum viditur
Referring to illegal aliens as 'immigrants' is the same as referring to shoplifters as 'shoppers' - Dorvinion
Reapist  4 stars
Title: Official ACF HIOFI Poster
Posts: 4,367
Registered: 2001-12-20 03:56:16
No, it's 24. Those other guys are counting the same combination twice.

 

-----signature-----
pkhere: Jebus sometimes you make my arse tired.
Referring to illegal aliens as 'immigrants' is the same as referring to shoplifters as 'shoppers' - Dorvinion
I'd feel bad for Satriani but he got himself into it. - allmightybob_MLF
aon_mixed  4 stars
Title:
Pirate Kitty

Posts: 2,317
Registered: 2002-8-19 07:30:30
Rhodoman posted:

regulator_cracka posted:

For my simple example is it 25 possible sammichs?


The answer is 25 (if you don't care what order they are in and that every sandwich has to have both cheese and meat).

If you allow sandwiches that leave out either meat or cheese, it's (6*6) - 1 = 35 (because you wouldn't make a sandwich with neither)



 

-----signature-----
may contain partial nudity
regulator_cracka  4 stars
Title: They finally recognized greatness.
Posts: 3,726
Registered: 2009-1-6 15:07:53
Thanks all. You ACF'er are if nothing else, smart.


My real world application is:


I have 5 possible VPN connections I can use to connect to for work.

After I get connected one of those, IF.


Then, I have 5 possible SSL gateways connections to connect to for remote access.

Finding a working combo everyday is proving more difficult daily and I was just curious how many "combinations" I had because it can take some time to get connected some days trying so many.

 

-----signature-----
Self Appointed Smart Ass - Level 80
If you think my opinion is idiotic, re-read yours.
Dont worry I will give my opinion anyways.
The PvP MMO is NOT a "niche" market, Mythic is just a "niche" company.
Rhodoman  4 stars
Posts: 1,397
Registered: 2001-6-14 21:02:19
Reapist posted:

No, it's 24. Those other guys are counting the same combination twice.



Salami and Cheddar
Salami and Swiss
Salami and Provolone
Salami and American
Salami and Jack

Bologna and Cheddar
Bologna and Swiss
Bologna and Provolone
Bologna and American
Bologna and Jack

Ham and Cheddar
Ham and Swiss
Ham and Provolone
Ham and American
Ham and Jack

Liverwurst and Cheddar
Liverwurst and Swiss
Liverwurst and Provolone
Liverwurst and American
Liverwurst and Jack

Pastrami and Cheddar
Pastrami and Swiss
Pastrami and Provolone
Pastrami and American
Pastrami and Jack


That's 25 sandwiches, no repeats.

Rho

 

-----signature-----
Rho is correct. - Varece
Venit hiems quidquid Latine dictum sit altum viditur
Referring to illegal aliens as 'immigrants' is the same as referring to shoplifters as 'shoppers' - Dorvinion
Reapist  4 stars
Title: Official ACF HIOFI Poster
Posts: 4,367
Registered: 2001-12-20 03:56:16
Given this scenario then the answer is 14.

 

-----signature-----
pkhere: Jebus sometimes you make my arse tired.
Referring to illegal aliens as 'immigrants' is the same as referring to shoplifters as 'shoppers' - Dorvinion
I'd feel bad for Satriani but he got himself into it. - allmightybob_MLF
aon_mixed  4 stars
Title:
Pirate Kitty

Posts: 2,317
Registered: 2002-8-19 07:30:30
Fletch: You fellas wanna read me my rights?
Detective #2: You have the right to remain silent. You have the right to have your face kicked in by me. You have the right to have your balls stomped by him.
Fletch: I'll waive my rights.


has nothing to do with the topic, i just wanted to post it somewhere

 

-----signature-----
may contain partial nudity
Rhodoman  4 stars
Posts: 1,397
Registered: 2001-6-14 21:02:19
aon_mixed posted:

Fletch: You fellas wanna read me my rights?
Detective #2: You have the right to remain silent. You have the right to have your face kicked in by me. You have the right to have your balls stomped by him.
Fletch: I'll waive my rights.


has nothing to do with the topic, i just wanted to post it somewhere

Same qualifier as you:

Ron White: At that point, I had the *right* to remain silent. I just didn't have the *ability*.

Rho

 

-----signature-----
Rho is correct. - Varece
Venit hiems quidquid Latine dictum sit altum viditur
Referring to illegal aliens as 'immigrants' is the same as referring to shoplifters as 'shoppers' - Dorvinion
the_great_ontex  3 stars
Title: This is what cool looks like
Posts: 791
Registered: 2012-2-13 18:38:12
rabbitslayer posted:

regulator_cracka posted:

I am old and been away from ciphering for some time. I even took off my shoes and socks and still can not remember what this is called or how to calculate it. Probably easy for you smart college types.


I have 5 pieces of different cheese.
I have 5 pieces of different "lunch meat"


How many sammich combinations can I make? Is this probabilities? I forget.


And then in that exact example how many sammich possibilities are there? 5 x 5 = 25?

Obviously my real world application is different things but same numbers.


Anyone? Please and Thank you.


1 piece O' meat does not a sammich make



This would be the correct answer.
warflea
Title: Resident Mathematician
Posts: 44
Registered: 2001-8-22 12:57:18
Fundamental Counting Principle

 

-----signature-----
"If you want to build a ship, don't drum up people to collect wood and don't assign them tasks and work,
but rather teach them to long for the endless immensity of the sea."
-Antoine de Saint-Exupéry

VaultNetwork.net is an independently operated community forum and is not affiliated with, endorsed by, or technically based on IGN, GameSpy, FilePlanet, GameStats, or the former IGN/GameSpy Vault Network.
References to VaultNetwork.net mean this site/domain. VNBoards-style presentation is a visual homage only. By using this site, you agree to the forum rules.