Welcome to Dr Bill Hazelton's HP-35s calculator programs for Surveyors and Geomatics Engineers.

Click on a link below to download the program and documentation as a PDF.

Closure and Related Programs

1. Closure with Area (and optional Co-ordinates) [with complex numbers]

1A. Closure with Area (and optional Co-ordinates) [no complex numbers]

1B. Closure with Area, optional co-ordinates and proportional misclosure [no complex numbers] New Program!

2A. Two Missing Distances [no complex numbers]

3A. Three-Point Horizontal Resection [no complex numbers]

4A. 2-D Co-ordinate Based Intersection Program [no complex numbers]

5A. Closure with Area, optional Co-ordinates and ability to handle curves and the areas associated with them. [no complex numbers] *** Updated to fix a small error ***

6A. Crandall's Adjustment for a Closed Traverse. [no complex numbers]

7A. Traverse Closure using Latitude, Longitude and the Gauss Mid-Latitude Formulae. [no complex numbers]

Co-ordinate Systems and Related Programs

TM 1A. Convert Lat/Long to Transverse Mercator Co-ordinates (UTM, SPCS, AMG, GMA, etc.) [no complex numbers]

TM 2A. Convert Transverse Mercator Co-ordinates to Lat/Long (UTM, SPCS, AMG, GMA, etc.) [no complex numbers]

Lambert 1A. Convert Lat/Long to Lambert Conformal Conic Co-ordinates (SPCS, etc.) [no complex numbers] Corrected!

Lambert 2A. Convert Lambert Conformal Conic Co-ordinates (SPCS, etc.) to Latitude and Longitude [no complex numbers] Corrected!

OM 1A. Convert Oblique Mercator Co-ordinates to and from Latitude and Longitude [no complex numbers]

Radiation-Related Programs (for surveying measurement radiations)

1A. Calculate a Radiation from Two Offsets [no complex numbers]

Curve-Related Programs

1A. Solve all the Parameters of a Circular Horizontal Curve, given any two Parameters [no complex numbers] Revised Program! (Errors have been fixed!)

2A. Compute Values for a Parabolic Vertical Curve [no complex numbers]

Utility Programs

1. HMS+, HMS–, Enter Azimuth and Distance --> Complex Number, Get Co-ordinates out of a Complex Number [you need two of these for programs 1 and 1A (V and X), and 5A (W and X), and some other programs.]

2A. Azimuth and Distance from Co-ordinates (Inverse) [No complex numbers] Much requested!

Mathematics Programs

1. Roots of a Quadratic Equation [includes complex numbers] This program allows you to solve any quadratic in 'standard form', giving solutions for real and complex roots.

2. Roots of Complex Numbers [includes complex numbers] This programs allows you to find the roots of any complex number, using De Moivre's formula.

Triangle Solutions

1A. Plane Triangle Solutions. This program covers all 5 cases, with a 'menu' style beginning to chose the solution to be used. Quite a large program, but only 1 label! [no complex numbers]

Geodetic Computations

1A. Convert Latitude, Longitude and Height to Geocentric X, Y, Z Co-ordinates [no complex numbers]

2A. Convert Geocentric X, Y, Z Co-ordinates to Latitude, Longitude and Height [no complex numbers]

Clos 7A. Traverse Closure using Latitude, Longitude and the Gauss Mid-Latitude Formulae. [no complex numbers]

TM 1A. Convert Lat/Long to Transverse Mercator Co-ordinates (UTM, SPCS, AMG, GMA, etc.) [no complex numbers]

TM 2A. Convert Transverse Mercator Co-ordinates to Lat/Long (UTM, SPCS, AMG, GMA, etc.) [no complex numbers]

Lambert 1A. Convert Lat/Long to Lambert Conformal Conic Co-ordinates (SPCS, etc.) [no complex numbers]

Lambert 2A. Convert Lambert Conformal Conic Co-ordinates (SPCS, etc.) to Latitude and Longitude [no complex numbers]

OM 1A. Convert Oblique Mercator Co-ordinates to and from Latitude and Longitude [no complex numbers]

Complex Numbers? Nothing's ever simple, is it? Not even numbers!

The HP-35s uses complex numbers for dealing with co-ordinates and azimuths & distances internally. In the event that dealing with complex numbers causes, well, complexity, programs that display complex numbers are also available in versions that don't display complex numbers (where that is a reasonable approach, but not solving quadratic equations). These programs are the 'A' version of each program, e.g., program Closure 1 displays complex numbers, but Closure 1A doesn't. Utility 1 (numbers 3, 4 and 5) do the conversion and so must deal with complex numbers. Seem complicated? See the document Complex Numbers, Vectors and Co-ordinates to sort this out, or be even more thoroughly confused!

Working with Memory

The HP-35s has the ability to address up to 801 storage locations beyond the basic 26 A..Z locations, the 6 statistical registers and the 4 stack locations. However, the locations must be addressed 'indirectly'. There are also some considerations to allocating and de-allocating memory, which you should be aware of if you are programming in a way that uses these indirectly addressed memory locations. See the document Programming and Working with Indirectly Addressed Memory on the HP-35s for more information about this, and some code to help with allocation and de-allocation of this memory.

Legal stuff, license, copyright, etc. for this website and material

Free Training! HP offers Computer-based Training, virtual classrooms, downloadable material and other good stuff to help you get the most from your calculator. Click on the links below to get to the HP calculator website. There are links there to get you around what HP have on offer. At present, the offerings for the HP-35s are limited to Usage Guides, but this may change over time. There is a basic CBT module for the HP-35s, available for both PC and Mac.

CBT Module

HP Usage Guides

A Quick Introduction to RPN

Get the 27th 'Label': A Work-Around

Although the HP-35s allows you much more flexibility with labels, there is a trick to get one more program in. Write the program so that it is at the very top of program memory, i.e., press GTO . . then press R/S. This is documented in the manual.

As you can do something like XEQ Z057 and run a program starting at that line number, there isn't a lot of need for this trick, provided you can remember the starting line numbers! One approach is to have a simple 'menu' that allows the user to pick from a series of options, displayed one at a time, and upon the choice being made, jump to that line and execute. This is the approach taken with the plane triangle solution program.

Some Documents to help you Program the HP-35s

Complex Numbers, Vectors and Co-ordinates: Getting the Best from the HP-35s.

Programming and Working with Indirectly Addressed Memory on the HP-35s.

Special Item!! With the release of the the HP-35s, we have to re-think how we deal with 2-D spatial location data, because the traditional decomposition of traverse data from azimuth and distance into rectangular components is not easy to implement on this calculator. This represents a major change from the lineage that stretches back to the HP-25 of the late 1970s.

With the HP-35s, we have to think of 2-D vectors as complex numbers, as that is how the calculator works with them. Fortunately, complex numbers are far better integrated in the HP-35s than in the HP-33S. The document linked above provides an overview of the relationships between complex numbers, vectors and traverses, as well as some routines to help with basic operations of complex numbers that are not built into the calculator.

This website will be updated as I write more software for the HP-35s, and convert other programs to run on this calculator. So check this site out from time to time to see what else has been added.

The parallel HP-33S calculator program site can be found here.

Special News – Bug Reports in the HP-35s!! It appears that some HP-35s calculators have a tendency to lock up completely in some special situations. Details of this are still very sketchy at this stage (17th October, 2007), but the problem appears rare and in the earlier calculators. For details, see the posting at this URL:

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/forum.cgi?read=126772

There also appears to be another bug when using Equations. For more details see this URL:

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/forum.cgi?read=126708

Looking for more stuff not shown here? Want a special program? Got comments, feedback, quality issues? Get in touch, we may just happen to have something to suit.

To see something about the HP-49g+ calculator and some initial thoughts on the new HP-50g calculator that replaces it (it is a lot better in the keyboard), click here.

Contact Dr Bill Hazelton nwjh@wollindina.com

This website is now hosted through Wollindina Media.

Page and site updated 29th June, 2012.

Need the Adobe Acrobat Reader? Click here to go to the download site:

Creative Commons License
This site and associated works are licensed under a Creative Commons Attribution 3.0 License.