more maths tasks
•
21 Nov 2007, 12:03
•
Journals
no, not now, coz i didnt find any one good xD
do u possibly have any good tasks?
POST THEM!!!
do u possibly have any good tasks?
POST THEM!!!
|
35.2 %
(19 votes)
|
|
64.8 %
(35 votes)
|
i want that server back :(
» You must provide an actual comment.
a) 1000
b) 3500 HP? The battle ends when my HP goes below or exactly to 0.
b) 2
first punch: 0,80769230769230769230769230769231%
second punch: 0,17387200443786982248520710059269%
third punch: 0,018435687869822485207100591715976%
fourth punch: 0,003175871927628584433318161128812%
fifth: too small to care
That means that the average is:
0,80769230769230769230769230769231*1 + 0,17387200443786982248520710059269*2 + 0,018435687869822485207100591715976*3 + 0,001587935963814292216659080564*4
So the avarage duration is about 1,2171 rounds.
Can't be arsed to do the same for b), my teacher might notice i'm doing something diffrent then looking information about pharaohs :X
This is how I initially understood it: the chance to survive the 2nd hit (and therefore the chance to die on the 3rd or 4th, or 5th etc)... is around
(1000 / 5200) [<- chance to survive 1st hit]* (500 [<- average amount of HP after surviving first hit]/ 5200) = 0.0184911243.. But this only tells the "chance to be alive after 2 hits" so it was kind of clumsy for this purpose.
But your way which I assume goes like this...:
Chance to die @ first hit: 4200/5200
Chance to die @ 2nd hit: 1000/5200*4700/5200
...Is better for this.
No reason to keep calculating after 4th punch since the error margin of the damage is around +/- 1000 anyway (it's from an actual game :P).
b) 1
Just use a panzer :<
hf ^^
3,14159 26535 89793 23846 26433 83279 50288 41971 69399 37510 58209 74944 59230 78164 06286 20899 86280 34825 34211 70679... oh i realized its not possible! :O
:D