Post Reply 
An old member returns...
02-22-2015, 08:19 PM (This post was last modified: 02-22-2015 09:58 PM by Gerson W. Barbosa.)
Post: #24
RE: An old member returns...
(02-22-2015 04:50 PM)walter b Wrote:  
(02-20-2015 02:51 PM)Thomas Radtke Wrote:  The signature already told the story ... if you know V. and a little physics.

Still waiting for an answer telling me what the claim SQRT(VA) = W should have to do with physics. TIA for enlightenment.

d:-?

All my fault because of putting 1 instead of 10 in line 07 and thus getting 32, that is, "W", instead of 45... Again, apologies!

Code:

00 { 34-Byte Prgm }
01>LBL "VA"
02 32                        ; start with base 32, since V = 31 (A = 10, B = 11, ...)
03>LBL 00
04 RCL ST X
05 31
06 ×
07 10
08 +                       
09 SQRT
10 FP                        ; check whether 31*base + 10 is a perfect square 
11 X=0?                                   
12 GTO 01                    ; if ok go show square root and base (stack registers X and Y, respectively)
13 X<>Y
14 1                         ; else
15 +                         ;     try next base
16 GTO 00
17>LBL 01
18 X<>Y
19 LASTX
20 .END.  [code]

BTW, by the same reasoning the square root of JFG is 330646 and the square root of GWB is 14944740. I haven't been able to find the square roots of WB and TR, but perhaps I haven't searched long enough.

Gerson.

Edited to add comments to the code

P.S.: Sqrt(GWB) above is wrong, but at least Sqrt(JFG) is correct :-)
P.P.S: I've just found out a member here has Sqrt = O(24) that is, 24 in base 34. Someone else with an even lower square root? :-)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
An old member returns... - rprosperi - 02-14-2015, 10:08 PM
RE: An old member returns... - rprosperi - 02-15-2015, 03:43 PM
RE: An old member returns... - walter b - 02-20-2015, 08:24 PM
RE: An old member returns... - J-F Garnier - 02-22-2015, 11:47 AM
RE: An old member returns... - walter b - 02-22-2015, 04:50 PM
RE: An old member returns... - Gerson W. Barbosa - 02-22-2015 08:19 PM
RE: An old member returns... - bshoring - 02-20-2015, 06:14 AM
RE: An old member returns... - Paul Dale - 02-20-2015, 06:56 AM
RE: An old member returns... - Jeff_Kearns - 02-24-2015, 02:17 AM
RE: An old member returns... - Jeff_Kearns - 02-24-2015, 09:07 PM



User(s) browsing this thread: 1 Guest(s)