HP Forums
I rediscovered a comet using the HP Prime - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: I rediscovered a comet using the HP Prime (/thread-4824.html)

I rediscovered a comet using the HP Prime - StephenG1CMZ - 09-28-2015 02:43 PM

In order to investigate how practical it would be to process astronomical data on the HP Prime, I wrote a small prototype program to list the comets from a readable list obtained from the Minor Planets Centre.

Whilst checking this program, it became apparent that comet 138P was missing from the data.
Here is the relevant fragment of the file downloaded last week.
Number Name                                      Prov. Desig.

 327P  Van Ness                                  P/2002 Q1
 326P  Hill                                      P/2007 V2

 139P  Vaisala-Oterma                            P/1939 TN
 137P  Shoemaker-Levy                            P/1990 UL3

   1P  Halley                                    P/1682 Q1
They are in numerical order and there was no 138.

Checking Wikipedia and other sources suggested this was 138P Shoemaker Levy.

Comets can disappear but they would then normally be listed 138D, 138X etc., not just deleted.

So I emailed the centre, and now the latest file is showing the comet - confirming that it is still a periodic comet.

So as far as I am concerned, I rediscovered a missing comet using this little program on the HP Prime - and if the Prime were not such fun to use, that comet might still be missing.


  //LOCAL CNTP:=0;
  //LOCAL CNTD:=0;

    IF CN<0 THEN
   PS:=INSTRING(COML," "+CN+"P ");
   IF PS==0 THEN
    PS:=INSTRING(COML," "+CN+"D ");

   IF PS==0 THEN
    L7(CN):=CN+" [DATA MISSING]";
    IF CN==138 THEN
     L7(CN):=CN+"P  Shoemaker-Levy-Lewkowicz G1CMZ";
     IF CTYP=="P "  OR CTYP=="D " THEN

  //WHILE 1 DO


If you are still using the old data file, you will discover that this program interpolates the missing data for entry 138P. Though if you download the latest data you will see I have not been credited with the rediscovery :-(

RE: I rediscovered a comet using the HP Prime - StephenG1CMZ - 10-15-2015 05:31 PM

Just for the record, the data file with the missing comet was the one updated 2015 Sept 1.