Andreas Schmitt wrote:

Sorry for posting in German before, totally forgot about that when I was

pasting this in here from another German newsgroup I was writing to, trying

to get help

I am programming a simple version of a soccer simulation

The logic works like this so far:

[GPG] = constant value goals/game

every minute the chance for a goal is [GPG]/90.

That goals is shot with probability X by Team1, with (1-X) by Team2.

Right now X is set at 50%

I'd like to build in a teamstrength formula now.

I have a few ideas how to do so already, but I'd like to check some

probabilities mathematically first but

I am afraid my maths in that area isn't good enough really.

[..]

Sorry, Andreas, but what does it all have to do with the Standard C++

language, the subject of this newsgroup? If you need help with figuring

out probability, post to a mathematics newsgroup (sci.math.*), if you need

a general algorithm help, comp.programming should be your choice. Only if

you have a C++ _language_ question should you post here, please.

V