#ThisWeeksFiddler, 20261002

This week the #puzzle is: Can You Swim With the Fishes? #probabilities #normaldistribution

Can You Swim With the Fishes?

Solution, possibly incorrect:

Program

Method 1:

Result 1: 1.666667

Method 2: Every time fish 1 goes by at speed 1, fish 2 goes by at speed 2 twice. The average of 1, 2 and 2 is 5/3 or 1.67.

Result: 1.67.

And for extra credit:

Method 1:

Result 1................:    1.2533140
Result 1................: 1.2533792
Result 1................: 1.2532510
Result 1................: 1.2533647
Result 1................: 1.2532415
======================================
Number of loops.... 5 * : 100980391
Target deviation........: 0.0001000
Deviation so far........:
................result 1: 0.0000632
======================================
Final result 1..........: 1.2533101
+/- 0.0000632

Result: 1.25.

Skriv en kommentar