Gentlemen
Thank you for your replies. I'm glad I worked out the method correctly.
I would like to pose a 'supplemental', if I may (and its a doozy!)
I have a set of modern jet combat rules. This uses a grid of squares and a pack of playing cards.
When an aircraft fires a missile at a target the missile moves across the grid to try and reach the target square.
The movement of the misile is handled by drawing cards from the deck, and the missile moves the distance in squares equal to the difference in value between the cards drawn.
Missiles will draw a different number of cards ('Turns of Flight')depending on whether it is short, medium or long-ranged. The sequence starts with the drawing of a reference card, and then the drawing of a number of cards equal to the missile's 'Turns of Flight'
(In this system an Ace = 1, Jack = 11, Queen = 12, King = 13 and all other cards are at face value).
An example should clarify:
Imagine a Missile is fired at a target. The missile has 3 Turns of Flight. A reference card is drawn. It is a 6.
The first card of the missile's turns of flight is drawn and is a 3. The missile moves (6-3 =) 3 squares.
The next card is a Queen (value 12). This gives a further (12-3 =) 9 squares of movement
The final card is a 9. This gives (12-9 =) 3 squares of movement.
In total the missile has moved 15 squares. If the target is within 15 squares then there is a possible hit.
I hope this is reasonably clear.
My question: is it possible (without using NASA's bank of computers!) to determine the average/likely/mean distance the missile will move once the reference card is drawn?
I have thought about this for a while and my brain hurts!
I realise that there may be some distortion if the cards are not replaced in the pack after each drawing.
An added complication (!) : If two consecutive cards of the same value are drawn the missile is deemed to have malfunctioned and automatically misses.
I doubt this is soluable in easy terms but I thought I would ask.
If you've got this far, thanks for reading!!
NL