08-10-2021, 05:31 AM
This cute math problem to calculate the Pin Number for a credit card popped up on a post in the Facebook HP Calculator Fan Club group recently. Apologies if it has been posted before.
[attachment=9721]
[attachment=9721]
(08-10-2021 05:41 AM)Steve Simpkin Wrote: [ -> ]Here is the solution using a Casio fx-991EX.
I had to set the upper limit to .9999999999 (stored in Y) to avoid an error on this model.
(08-11-2021 03:40 PM)Albert Chan Wrote: [ -> ]I2 = ∫(1/√(x^2-3x+2), x=0..1) // let y = 2*(x-3/2)=2x-3, dy = 2 dx
= ∫(1/√(y^2-1), y=-3 .. -1) // ∫(1/√(y^2-1), y) = -ln(abs(-y+sqrt(y^2-1)))
= ln(2*√(2)+3)
(08-12-2021 11:41 PM)Don Shepherd Wrote: [ -> ]I guess I just don't see the point. A credit card that requres a PIN number either comes with a pre-assigned PIN or lets you choose the PIN; most of mine let you choose. A calculated PIN would seem unnecessary in both cases.
00 { 41-Byte Prgm }
01▸LBL "FX"
02 MVAR "X"
03 RCL "X"
04 ENTER
05 STO ST Z
06 3
07 ×
08 1
09 -
10 ×
11 2
12 +
13 ×
14 4
15 -
16 X<>Y
17 X^2
18 3
19 LASTX
20 ×
21 -
22 2
23 +
24 SQRT
25 ÷
26 END
(08-12-2021 03:05 PM)Albert Chan Wrote: [ -> ]I = ∫((3y^3 + 25y^2 + 77y + 55) / √(y^2-1), y=-3 .. -1) / 8
(08-10-2021 05:31 AM)Steve Simpkin Wrote: [ -> ]This cute math problem to calculate the Pin Number for a credit card popped up on a post in the Facebook HP Calculator Fan Club group recently. Apologies if it has been posted before.