Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
New Server | HOMM1: info forum | HOMM2: info forum | HOMM3: info forum | HOMM4: info forum | HOMM5: info forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Tavern of the Rising Sun > Thread: Let's talk about Maths!!!
Thread: Let's talk about Maths!!! This thread is 55 pages long: 1 2 3 4 5 ... 10 20 30 40 ... 51 52 53 54 55 · «PREV / NEXT»
JoonasTo
JoonasTo


Responsible
Undefeatable Hero
What if Elvin was female?
posted November 07, 2008 07:02 PM

D'oh!

Of course. I was using 0,684. *facepalm here

Like I said in the beginning I was too tired to do maths.
____________

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
TheDeath
TheDeath


Responsible
Undefeatable Hero
with serious business
posted November 07, 2008 07:02 PM

Joonas, are you using addition in probabilities rather than multiplication?
____________
The above post is subject to SIRIOUSness.
No jokes were harmed during the making of this signature.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Asheera
Asheera


Honorable
Undefeatable Hero
Elite Assassin
posted November 07, 2008 07:08 PM

So I was correct - then I was correct with TotE as well (and the chances are lower, because of the possibility of getting Stronghold with no Confusion chances at all)
____________

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
JoonasTo
JoonasTo


Responsible
Undefeatable Hero
What if Elvin was female?
posted November 07, 2008 07:11 PM
Edited by JoonasTo at 19:12, 07 Nov 2008.

Yup.

And I should have known that when I feel tired I shouldn't be doing maths.

EDIT: Oh and there's no another third level dark spell in tote.
____________

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
homm3megejas
homm3megejas


Adventuring Hero
posted November 07, 2008 07:47 PM

Quote:
1) with the actual magical system of BASIC HoMM 5, starting with any TWO towns (any two meaning two random ones). What probability do you have to get the Confusion spell BEFORE you actually start and know what towns you will get)?

There is six town, any of them to get is 1/6 chance. chance to get a confusion spell in haven, inferno, necropolis, academy (library) mage guild are 1/2, in sylvan and dungeon- 1/4. I believe, that the tricky part is heroes - Alastor (because the question didn't disables for you to get these spell from a town ). However chance to get Alastor in inferno is only 1/8. So chance to get these spell in 1 town are: (1/6)*(3*1/2+2*1/4+1/2+(1/2)*(1/8))=41/96. for two towns probably will be: 1-(41/96)^2=(96^2-41^2)/96^2 about 0,8175998263(8).

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Asheera
Asheera


Honorable
Undefeatable Hero
Elite Assassin
posted November 07, 2008 08:00 PM

Quote:
EDIT: Oh and there's no another third level dark spell in tote.
It's enough to be three spells in TotE for level 3 in ANY school to screw up my calculations, since those that don't have Dark Magic as native will have to pick between Dark & something else, which probably has 3 spells instead of 2.

So, is there a school with 3 spells at level 3 instead of 2?

* checks *

Yes it is: Destructive So those that have Light & Summoning as Native (e.g. Academy) have other chances than what I did.
____________

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
JollyJoker
JollyJoker


Honorable
Undefeatable Hero
posted November 07, 2008 08:34 PM

Until now you suck all in probability math.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Asheera
Asheera


Honorable
Undefeatable Hero
Elite Assassin
posted November 07, 2008 08:37 PM

Please enlighten us then
____________

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
JollyJoker
JollyJoker


Honorable
Undefeatable Hero
posted November 07, 2008 09:27 PM

Well, that's not good, none of you.
Let's first check the town probabilities:
Both Elves: 25% or 1/4 each (which means 3/4 chnce of not getting it)
The 4 others 50% or 1/2 each (1/2 of not getting it)

Now let's check the 2-town cases: 21 different possibilities (if there were no double towns possible it would be 6*5/(1*2) or 15, but since double towns are possible it's 1+2+...+6 or 21 possible town combinations.

Since we have 2 dfferent town probabilities there are 3 different probability cases:
1) both towns have the 1/4 probabilty. this is possible in 3 of the 21 cases (Dun-Dun, Dun-Syl, Syl-Syl). The probability of NOT getting Confusion is 3/4*3/4 or 9/16, which means, the prob to get it is 7/16.

2) both towns have the 1/2 prob. Here we have 1+2+3+4=10 of the 21 cases. The chance NOT getting confusion is 1/2*1/2, so the chance getting it, is 3/4.

3) Mixed prob. Cases here are 8 of the 21. The chances NOT getting Confusion is 3/4*1/2, so here we get 5/8.

Which means, the overall probability is:

[(3*7/16)+(10*3/4)+(8*5/8)]/21 = 0.657738

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted November 07, 2008 10:38 PM
Edited by Gnoll_Mage at 23:00, 07 Nov 2008.

I'm getting a different answer.

If two towns have chance 0.25 and four towns have chance 0.5 then we can average the six values to give 5/12. This is the chance of one town getting Confusion. Now we use the binomial distribution:

2C1*(5/12)*(7/12) + 2C2*(5/12)^2 = 0.65972*

Is good?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted November 07, 2008 10:40 PM
Edited by Gnoll_Mage at 22:43, 07 Nov 2008.

Plus surely there are 6*6 different choices of town pairs?

Sorry, I'm forgetting that we're doing combinations not permutations.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Asheera
Asheera


Honorable
Undefeatable Hero
Elite Assassin
posted November 07, 2008 10:48 PM

@Gnollmage: That's exactly what I did as well. I have absolutely no idea why JJ came up with a different answer.
____________

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
TheDeath
TheDeath


Responsible
Undefeatable Hero
with serious business
posted November 07, 2008 10:51 PM

I have a question (been a while since I played with 2 towns): can both towns get the same spell at a level (in mage guild)? Like, can you get 2 Confusion spells on both?

This increases the probability because there can't be the same spell twice (and I'm talking about non-confusion spells here).
____________
The above post is subject to SIRIOUSness.
No jokes were harmed during the making of this signature.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Asheera
Asheera


Honorable
Undefeatable Hero
Elite Assassin
posted November 07, 2008 10:52 PM

Yes, you can have 2 confusions in both towns.
____________

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted November 07, 2008 10:58 PM

However, when I look at it like this I get a different answer:

There are 10 different town pairs were both towns have a 0.5 chance, three pairs with both having 0.25, and eight with the towns having different chances. So, there is a 10/21 of a town pair with both having a 0.5 chance, etc..

If both towns have a 0.5 chance, the total chance is 0.75. For both 0.25, it's 5/16; for one of each, 5/8. Multiply and sum and you get 0.63988....
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted November 07, 2008 11:02 PM

You can have two Confusions in one town? Explain to me again why the probabilities are 0.25 / 0.5?
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Asheera
Asheera


Honorable
Undefeatable Hero
Elite Assassin
posted November 07, 2008 11:02 PM

Yes but why? It's perfectly clear that for ONE town we have a 5/12 chance... why we can't apply the Soldier's Luck formula to get it to work for two towns?
____________

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
JollyJoker
JollyJoker


Honorable
Undefeatable Hero
posted November 07, 2008 11:04 PM

Both .25 is 7/16, right?

Another thing. You don't "average" in probability math. You are mostly counting all possibilities.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Asheera
Asheera


Honorable
Undefeatable Hero
Elite Assassin
posted November 07, 2008 11:05 PM

Quote:
You can have two Confusions in one town?
No, I meant that you can have two confusions in TWO towns.
____________

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted November 07, 2008 11:16 PM

Sorry, 7/16. That gives me your answer. But that doesn't explain why my first one was different.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 55 pages long: 1 2 3 4 5 ... 10 20 30 40 ... 51 52 53 54 55 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0468 seconds