What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » General Chit Chat » Maths Help (for the know alls :P)

Maths Help (for the know alls :P)
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Maths Help (for the know alls :P)
quote:
Originally posted by John Anderton
Ok i have a maths problem .... Its a sum of probability .... I got the answer but probability is a bit dodgy and its so easy to make a mistake .... Can some one also try this problem

There is a dictionary containing only 5 letter words and there are only 4 letters viz. a, b, c, d, e. The 1st word is aaaaa the second is aaaab the third is aaaac and so on. Now we need to find the position of the word "adbca"
as far as I'm understanding your question this has nothing to do with probability at all. This is pure base conversion from base 5 to base 10.
quote:
Originally posted by John Anderton
(...) and there are only 4 letters viz. a, b, c, d, e.
a, b, c, d, e are 5 letters... and what is "viz"?
quote:
Originally posted by John Anderton
The answer i worked out is 216 .... can someone back up my answer
Your own answer is also wrong.


Let me explain:

Given:
  5 letters: a b c d e
  dictionary:
    aaaaa
    aaaab
    aaaac
    aaaad
    aaaae
    aaaba
    aaabb
    aaabc
    (...)

Question: what position is "adbca" in?

Solution:

Look at the dictionary. This is just a simple count up, but instead of 10 numbers, they've used 5 letters. So replace every letter with a number: a = 0    b = 1   c = 2   d = 3   e = 4:
  aaaaa     00000
  aaaab     00001
  aaaac     00002
  aaaad     00003
  aaaae     00004
  aaaba     00010 note the "jump" from 04 to 10
  aaabb     00011
  aaabc     00012
  (...)       (...)

5 different letters numbers means this is base 5.
base 10 is what we know as our normal number system: When we come to the number after 9, we add a digit and start counting again from 0 for the least significant digit: 00 01 02 (...) 08 09 10 11 12 etc...

So, add an index to the dictionary and you'll see that you only have to convert the base 5 number to a base 10 number to know it's value aka position (first position is called position 0):

  dictionary | base 5 number | base 10 number (aka position)
  aaaaa          00000               0
  aaaab          00001               1
  aaaac          00002               2
  aaaad          00003               3
  aaaae          00004               4
  aaaba          00010               5
  aaabb          00011               6
  aaabc          00012               7
  (...)            (...)                (...)


Thus adbca = 03120

So all this to explain the simple following formula:

To calculate the equivalent base ten number:
= 0 * 5^4   +   3 * 5^3   +   1 * 5^2   +   2 * 5^1   +   0 * 5^0
= 410

This is not yet the answer! Now it is time to read the question again. They asked what position the number is in. And positions useually start at 1. To make no confusion say this also in your answer ;):

= 411 (with first position being 1)


-------------------------------


quote:
Originally posted by Chrono
oh thakns cookie, yu are so brilliant :O
now help me please with this problem:

[Image: attachment.php?pid=426407]

(its not hard, but i would love to see how does he manage to write the solution here :lol:)
:refuck:

This post was edited on 04-01-2005 at 11:08 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
04-01-2005 09:48 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Maths Help (for the know alls :P) - by Ash_ on 03-31-2005 at 12:55 PM
RE: Maths Help (for the know alls :P) - by John Anderton on 03-31-2005 at 01:00 PM
RE: RE: Maths Help (for the know alls :P) - by Ash_ on 03-31-2005 at 01:03 PM
RE: Maths Help (for the know alls :P) - by mad_onion on 03-31-2005 at 02:07 PM
RE: Maths Help (for the know alls :P) - by Ash_ on 03-31-2005 at 02:25 PM
RE: Maths Help (for the know alls :P) - by John Anderton on 03-31-2005 at 02:26 PM
RE: Maths Help (for the know alls :P) - by CookieRevised on 03-31-2005 at 02:34 PM
RE: Maths Help (for the know alls :P) - by John Anderton on 03-31-2005 at 02:39 PM
RE: Maths Help (for the know alls :P) - by CookieRevised on 03-31-2005 at 02:52 PM
RE: Maths Help (for the know alls :P) - by .Roy on 03-31-2005 at 02:56 PM
RE: Maths Help (for the know alls :P) - by John Anderton on 03-31-2005 at 02:59 PM
RE: Maths Help (for the know alls :P) - by CookieRevised on 03-31-2005 at 03:02 PM
RE: Maths Help (for the know alls :P) - by John Anderton on 03-31-2005 at 03:08 PM
RE: Maths Help (for the know alls :P) - by CookieRevised on 03-31-2005 at 03:14 PM
RE: Maths Help (for the know alls :P) - by mad_onion on 03-31-2005 at 06:39 PM
RE: Maths Help (for the know alls :P) - by John Anderton on 04-01-2005 at 11:49 AM
RE: Maths Help (for the know alls :P) - by Banks on 04-01-2005 at 08:44 PM
RE: Maths Help (for the know alls :P) - by Chrono on 04-01-2005 at 09:12 PM
RE: Maths Help (for the know alls :P) - by CookieRevised on 04-01-2005 at 09:48 PM
RE: Maths Help (for the know alls :P) - by John Anderton on 04-03-2005 at 11:50 AM
RE: Maths Help (for the know alls :P) - by Banks on 04-03-2005 at 03:25 PM
RE: RE: Maths Help (for the know alls :P) - by CookieRevised on 04-03-2005 at 04:04 PM
RE: Maths Help (for the know alls :P) - by John Anderton on 04-03-2005 at 05:35 PM
RE: Maths Help (for the know alls :P) - by CookieRevised on 04-04-2005 at 04:04 AM
RE: Maths Help (for the know alls :P) - by user2319 on 04-04-2005 at 05:49 PM
RE: Maths Help (for the know alls :P) - by CookieRevised on 04-05-2005 at 02:07 AM
RE: Maths Help (for the know alls :P) - by Fredzz on 04-05-2005 at 11:26 AM
RE: Maths Help (for the know alls :P) - by gif83 on 04-05-2005 at 11:33 AM
RE: Maths Help (for the know alls :P) - by John Anderton on 04-05-2005 at 11:37 AM
RE: Maths Help (for the know alls :P) - by user2319 on 04-05-2005 at 02:00 PM
RE: Maths Help (for the know alls :P) - by sasquatch on 04-06-2005 at 01:33 AM
RE: Maths Help (for the know alls :P) - by Dane on 04-06-2005 at 04:43 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On