Maths problems - advice please

Off topic chat
wrekka
5th Gear
Posts: 1480
Joined: Sat Oct 02, 2010 3:58 pm

Maths problems - advice please

Post by wrekka » Mon Jun 11, 2012 9:41 pm

Finding all possibilities problems.

Just having a go at some of these “finding all possibilities” problems and think I am on the correct path, just wanted to get some other peoples’ thoughts on them-especially any of you who are super at maths!

1) A restaurant has 4 starters, 4 mains and 4 desserts. How many different combinations of starters, main courses and desserts can be had?

2) There are 5 different coloured cars – red, blue, white, green and black

There are 5 different coloured wheels – red, blue, white, green and black.

There are 5 different coloured spoilers – red, blue, white, green and black.

There are 5 different coloured exhaust tips – red, blue, white, green and black.

The problem is. How many different combinations of car colours, wheels, spoilers and exhaust tips are there?
A car must have all accessories fitted i.e. must have wheels, spoiler and an exhaust


So one example 1 – could have:
Red car-red-wheels-red spoiler-red exhaust
Example 2
Red car-red wheels – red spoiler – blue exhaust

I do have some ideas of formulas to work these out rather than trying to go through all possibilities by hand but I am struggling to know if they are correct. I won’t put my ideas down so you can have a fresh start too!

Many thanks
Sold: 2012 RS3 APR St2 exclusive buckets!
Sold: 2014 Audi S4 Avant Black Edition (too slow as a stock car-doesn't sound good);
2016 RS6 performance with Non-res milltek (gutted to sell it) ;
2014 C7, Misano c6 mrc stage 2. AAS Custom Exhaust, cat bypass, itg filters. 731ps 1058nm. Superrbike quick!
TTS RS4 -amazing machine,
Previous:
many, many cars; all great and well-remembered!

rs4blacked
4th Gear
Posts: 511
Joined: Thu Jan 05, 2012 7:50 am
Location: Bury St. Edmunds

Re: Maths problems - advice please

Post by rs4blacked » Mon Jun 11, 2012 9:46 pm

would it not be 4x4x4 and 5x5x5x5

or am I just the stupid one
Currently Mondeo ST155 & Titanium X Sport

RS4 Phantom Black, Black Optics, Tech Pack, Milltek Non Res Non Valved

wrekka
5th Gear
Posts: 1480
Joined: Sat Oct 02, 2010 3:58 pm

Re: Maths problems - advice please

Post by wrekka » Mon Jun 11, 2012 10:01 pm

That is my initial thoughts but didn't know if it would be 4 x 3x2 or 5x4x3x2
Sold: 2012 RS3 APR St2 exclusive buckets!
Sold: 2014 Audi S4 Avant Black Edition (too slow as a stock car-doesn't sound good);
2016 RS6 performance with Non-res milltek (gutted to sell it) ;
2014 C7, Misano c6 mrc stage 2. AAS Custom Exhaust, cat bypass, itg filters. 731ps 1058nm. Superrbike quick!
TTS RS4 -amazing machine,
Previous:
many, many cars; all great and well-remembered!

Pie
4th Gear
Posts: 514
Joined: Thu Feb 25, 2010 3:40 pm
Location: Aberdeen

Re: Maths problems - advice please

Post by Pie » Mon Jun 11, 2012 10:14 pm

3.141
_________________________________
'14 C63 AMG Edition 507
'07 B7 RS4 +Milltek Non-Res, Non-Valved (Sold)
'10 YZF R1 + Akrapovics

User avatar
Graeme4130
Cruising
Posts: 3801
Joined: Thu Dec 22, 2011 12:58 pm

Re: Maths problems - advice please

Post by Graeme4130 » Mon Jun 11, 2012 10:17 pm

wrekka wrote:That is my initial thoughts but didn't know if it would be 4 x 3x2 or 5x4x3x2

Incorrect, you'd decline numerically as the formula plays out ;
Ie, Option 'A + B' in the first equation wouldn't obviously be the same as option 'B+A'
Therefore if you were to list them logically in something like in excel with cars being A and wheels being B etc, and then for colours - red being 1, blue 2 etc, then you'd get as follows ;

A1B1C1D1E1
A1B1C1D1E2
A1B1C1D1E3
...
...
...
...
E5E5E5E2
E5E5E5E3
E5E5E5E4
E5E5E5E5

This would show that A has 5x5x5x5x5, B has 5x5x5x5x5 etc etc
You could then apply this same formula to any different combinations
Hope this helps and that I'm correct as I'm two glasses of wine in and it's been a long day haha ?
-------------------------------------------------------
Gone - 11/06 B7 RS4 Avant - black/black (Daily drive & kids taxi)
Gone - 05/13 B8 RS4 Avant - Suzuka grey (Daily drive & kids taxi)
Gone - 01/14 B8 RS5 Coupe - Short term car
Gone - 09/14 B8 RS4 Avant - Misano Red/Ceramics (Daily drive & kids taxi)

Current - 04/18 B9 Rs4 Nardo Grey
ZX10R Race bike - 210bhp and a few skid marks on the seat ;)

wrekka
5th Gear
Posts: 1480
Joined: Sat Oct 02, 2010 3:58 pm

Re: Maths problems - advice please

Post by wrekka » Mon Jun 11, 2012 10:19 pm

An interesting site
cheers
Sold: 2012 RS3 APR St2 exclusive buckets!
Sold: 2014 Audi S4 Avant Black Edition (too slow as a stock car-doesn't sound good);
2016 RS6 performance with Non-res milltek (gutted to sell it) ;
2014 C7, Misano c6 mrc stage 2. AAS Custom Exhaust, cat bypass, itg filters. 731ps 1058nm. Superrbike quick!
TTS RS4 -amazing machine,
Previous:
many, many cars; all great and well-remembered!

User avatar
Graeme4130
Cruising
Posts: 3801
Joined: Thu Dec 22, 2011 12:58 pm

Re: Maths problems - advice please

Post by Graeme4130 » Mon Jun 11, 2012 10:22 pm

wrekka wrote:
An interesting site
cheers
'Interesting' is a word I'd really only use very loosely for mathematical equations, especially in public ! haha
-------------------------------------------------------
Gone - 11/06 B7 RS4 Avant - black/black (Daily drive & kids taxi)
Gone - 05/13 B8 RS4 Avant - Suzuka grey (Daily drive & kids taxi)
Gone - 01/14 B8 RS5 Coupe - Short term car
Gone - 09/14 B8 RS4 Avant - Misano Red/Ceramics (Daily drive & kids taxi)

Current - 04/18 B9 Rs4 Nardo Grey
ZX10R Race bike - 210bhp and a few skid marks on the seat ;)

User avatar
MikeFish
Cruising
Posts: 15588
Joined: Tue Aug 31, 2010 9:23 pm
Location: The Middle of Somewhere

Re: Maths problems - advice please

Post by MikeFish » Mon Jun 11, 2012 10:29 pm

From memory the answer to the firs one is either 4 to the power of 3 or 3 to the power of 4, can't remember which way round it is. The 2nd one is more obvious as 5 to the power of 5.
It's been a long time though!

P_G
Cruising
Posts: 8249
Joined: Sun Jul 09, 2006 1:25 pm
Location: Newcastle upon Tyne

Re: Maths problems - advice please

Post by P_G » Mon Jun 11, 2012 10:44 pm

4 to the power 3 and 5 to the power 4

wrekka
5th Gear
Posts: 1480
Joined: Sat Oct 02, 2010 3:58 pm

Re: Maths problems - advice please

Post by wrekka » Mon Jun 11, 2012 10:50 pm

P_G wrote:4 to the power 3 and 5 to the power 4
Thanks for all the responses a couple threw me a little

so to confirm:

Problem 1 is 4 to the power of 3 = 4 x 4 x4 = 64 meal combinations

and for the car (problem 2) - 5 to the power of 4 = 5 x 5 x 5 x 5 = 625 car colour and accessory combinations?
Sold: 2012 RS3 APR St2 exclusive buckets!
Sold: 2014 Audi S4 Avant Black Edition (too slow as a stock car-doesn't sound good);
2016 RS6 performance with Non-res milltek (gutted to sell it) ;
2014 C7, Misano c6 mrc stage 2. AAS Custom Exhaust, cat bypass, itg filters. 731ps 1058nm. Superrbike quick!
TTS RS4 -amazing machine,
Previous:
many, many cars; all great and well-remembered!

adsgreen
Cruising
Posts: 5571
Joined: Mon Aug 16, 2010 9:54 am

Re: Maths problems - advice please

Post by adsgreen » Mon Jun 11, 2012 10:59 pm

Yup

Here's a good one - can you calculate the odds of winning the lottery?
So how many combinations of taking 6 numbers from 49?

User avatar
MikeFish
Cruising
Posts: 15588
Joined: Tue Aug 31, 2010 9:23 pm
Location: The Middle of Somewhere

Re: Maths problems - advice please

Post by MikeFish » Mon Jun 11, 2012 11:05 pm

14 million to 1 from memory.

wrekka
5th Gear
Posts: 1480
Joined: Sat Oct 02, 2010 3:58 pm

Re: Maths problems - advice please

Post by wrekka » Mon Jun 11, 2012 11:08 pm

MikeFish wrote:14 million to 1 from memory.
Yes i remember that statistic too when the lottery started here way back in the 90s (Nov 1994 i think)
Sold: 2012 RS3 APR St2 exclusive buckets!
Sold: 2014 Audi S4 Avant Black Edition (too slow as a stock car-doesn't sound good);
2016 RS6 performance with Non-res milltek (gutted to sell it) ;
2014 C7, Misano c6 mrc stage 2. AAS Custom Exhaust, cat bypass, itg filters. 731ps 1058nm. Superrbike quick!
TTS RS4 -amazing machine,
Previous:
many, many cars; all great and well-remembered!

User avatar
MikeFish
Cruising
Posts: 15588
Joined: Tue Aug 31, 2010 9:23 pm
Location: The Middle of Somewhere

Re: Maths problems - advice please

Post by MikeFish » Mon Jun 11, 2012 11:11 pm

Wow was it really that long ago?

User avatar
MikeFish
Cruising
Posts: 15588
Joined: Tue Aug 31, 2010 9:23 pm
Location: The Middle of Somewhere

Re: Maths problems - advice please

Post by MikeFish » Mon Jun 11, 2012 11:14 pm

Shouldn't it be 49 o the power of 6?
I make that 13.8 billion.

Post Reply

Return to “Off Topic Chat”

Who is online

Users browsing this forum: No registered users and 170 guests