[VA] SRC #011 - April 1st, 2022 Bizarro Special
|
04-01-2022, 07:25 PM
Post: #1
|
|||
|
|||
[VA] SRC #011 - April 1st, 2022 Bizarro Special
Hi, all, Well, my HP calc site reached the 100,000 downloads mark a few days ago and on top of that today it's April, 1st, so let's celebrate the occasion ... (drum roll) ... Welcome to my SRC #11 - April 1st, 2022 Bizarro Special
intended to once again put your brains and your HP calculators to work, this time featuring a bizarre challenge which nevertheless has important, useful real-life applications. But first, some exposition (Note: What follows are mostly my own ramblings © me, DC Comics are not to blame !): The seasoned veterans among you might fondly remember the classic Superman comics of the '60s, and that within the Superman universe there was the Bizarro World (also known as Htrae), a fictional planet home to the eponymous people, whose society is ruled by the Bizarro Code, which states:
To simplify matters and as the results could be easily rescaled afterwards, it was assumed that the gravitational constant G was 1 (in some units) and the planets were homogeneous cubes of side 1 (ditto) and mass 1 (ditto), initially placed like this: to be numerically evaluated for the particular case when both planets are in contact, i.e. the distance d between their centers is 1. As it happened, Rd. Albizarro was a Code-abiding citizen of the Bizarro society and wouldn't go for an unnecessarily accurate (ugh!) result but would instead be satisfied with obtaining about three correct digits. To that effect, and aware of the need to use some computing device in order to meet the assigned deadline, Rd. Albizarro promptly proceeded to check out the ones available in ugly human Earth at the time (ca. 1982) and saw that computers were so perfectly fit for the job that using one would be disgusting and could result in being severely reprimanded or worse, so the alternative was to get instead a programmable calculator (progcalc for short) as non-programmable ones certainly wouldn't do. Restricting thus the search to progcalcs, it was soon apparent that there were essentially two main contenders, the ones branded TI (probably standing for "Totally Ideal", ugh !), and the ones branded HP (possibly standing for "Hardly Perfect"), the latter being just what was needed ! Now there was the question of selecting which particular HP model to use but that was easy-peasy, just a matter of looking at the specs and chosing the least capable one, which happened to be the HP-10C, the proverbial runt of the litter, a severely limited model having only 79 bytes of RAM available for storing programs and data, no subroutines, no flags, no indirection, no loop intructions, just two conditional tests, a meager function set, no I/O, and very slow to boot ... indeed, the least perfect model for the task at hand. But Rd. Albizarro was unfazed, thinking that "If ugly Earth's Newton could do his gravitational calculations using this thing, it'll do for me as well", and against all odds actually succeeded by quickly writing a clumsy RPN (Really Perfect Not) program for the HP-10C, keying in the pertinent inputs, pressing the [R/S] (Run Slowly) key, going out to have a quick dinner and lo and behold, upon returning the computed value of F was already waiting in the display, which indeed was correct to three decimal places, as required: Well, once the story's been told, it's your move:
I'll post my Original Solution for the HP-10C with results and extensive comments within a few days ... Or not, after all this might be an elaborate April Fools' Day practical joke !! V. All My Articles & other Materials here: Valentin Albillo's HP Collection |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)