Hallo snoopy82,

Als allererstes müsst ihr mal die mathematische Seite aufstellen, also nicht einfach drauf los programmieren.

MfG Peter(TOO)