Can you help her with the PIN?

Johan Schoeman

Expert
Licensed User
Longtime User
Pin could be 4, 5, 6 or 7 digits long. She needs all 4 of the options.

20240105_164145.png
 

Sagenut

Expert
Licensed User
Longtime User
Obviuosly that Husband is not aware of the existence of ChatGPT.
This time could be a killing appliance of AI. ?
 

Johan Schoeman

Expert
Licensed User
Longtime User
Obviuosly that Husband is not aware of the existence of ChatGPT.
This time could be a killing appliance of AI. ?
What is the answer given by ChatGPT? I don't use it so no idea what it will come up with.
 

Sagenut

Expert
Licensed User
Longtime User
What is the answer given by ChatGPT? I don't use it so no idea what it will come up with.
I never used it up to now.
But I have the feelings that it could solve the thing, if it's a real a correct equation.
Maybe it will be difficult to enter it correctly.
Nowadays the new technologies and advanced informatics are quite similar to Magic.
 

Johan Schoeman

Expert
Licensed User
Longtime User
I never used it up to now.
But I have the feelings that it could solve the thing, if it's a real a correct equation.
Maybe it will be difficult to enter it correctly.
Nowadays the new technologies and advanced informatics are quite similar to Magic.
Using Excel to calculate it via the midpoint rule (1000 steps from 0 to 1) yields:

1704534610069.png


The answer of the integral is (-) negative but the digits should be correct (-2.98128429611488). It now probably depends on whether "the husband" has taken the most significant digit (2) into consideration or not. So, could also be:
9812
98128
981284
9812842
 
Last edited:

Johan Schoeman

Expert
Licensed User
Longtime User

Attachments

  • PIN.xlsx
    300.5 KB · Views: 238

rabbitBUSH

Well-Known Member
Licensed User
Longtime User
I would just go with digits of PI,
but my choice would be to get her to calculate PI - THAT SHOULD FOX HER.

And, why go further than NASA -
How many digits of pi does NASA use?

15 digits

For most calculations, NASA uses 15 digits: 3.141592653589793.

there again, the record for remembrance of PI is 100k places.

Any B4Xer could do better.....
 

Johan Schoeman

Expert
Licensed User
Longtime User
I would just go with digits of PI,
but my choice would be to get her to calculate PI - THAT SHOULD FOX HER.

And, why go further than NASA -
How many digits of pi does NASA use?

15 digits

For most calculations, NASA uses 15 digits: 3.141592653589793.

there again, the record for remembrance of PI is 100k places.

Any B4Xer could do better.....
Give this to her for calculating the PIN which should result in PI

20240107_040745.png
 

emexes

Expert
Licensed User
Longtime User
Using Excel to calculate it via the midpoint rule (1000 steps from 0 to 1) yields:

I am pretty happy that it's going to settle down with the first 12 digits being 298126694400 ?

and, based on that result, it's at 45761 steps that it settles down with the first 7 digits being correct

Console output:
Steps         Runtime       Integral
8             0.000         -3.004762236211556
40            0.000         -2.983430977716413
200           0.000         -2.981461061803691
1000          0.000         -2.981284296114884
5000          0.000         -2.981268495034834
25000         0.000         -2.981267082683882

45758         0.000         -2.981267000004832
45759         0.000         -2.981267000002996
45760         0.000         -2.981267000001161
45761         0.000         -2.981266999999325
45762         0.000         -2.981266999997489
45763         0.000         -2.981266999995654
45764         0.015         -2.981266999993819

125000        0.000         -2.981266956407123
625000        0.015         -2.981266945114678
3125000       0.078         -2.981266944104737
15625000      0.376         -2.981266944014409
78125000      1.891         -2.981266944006330
390625000     9.471         -2.981266944005609
1953125000    47.893        -2.981266944005543
9765625000    237.055       -2.981266944005524
 
Last edited:

Johan Schoeman

Expert
Licensed User
Longtime User
For calculating that particular 7-digit PIN, would be simpler to use 355/113 ?
Would be far too easy for here to get the pin - the longer she takes to figure out the pin the closer it gets to time for the shops to close and the less she can spend. Then, in the evening, you change the pin and in the morning give her a new integral to solve ?
 

rabbitBUSH

Well-Known Member
Licensed User
Longtime User
Last edited:
Top