Post Reply 
Modifying the triangle solver
09-15-2024, 07:32 AM (This post was last modified: 09-15-2024 08:08 AM by C.Ret.)
Post: #3
RE: Modifying the triangle solver
Bonjour et Bienvenue

Exactly as Tyann rightly indicates, it is possible to fully program your HP Prime and the programming language has all the appropriate commands to customize your machine at will. It is thus possible to create your own applications that will then perfectly meet each specific need.

This means that it is easier to create your own programs than to try to modify one of the default applications. On the other hand, all the results, calculations or procedures of these applications are accessible directly and indirectly from the user's programs.

But before writing your own programs, you must first master your HP Prime and all the possibilities it offers. Writing your own programs will be simplified.
Sometimes, we discover among the Applications treasures of ingenuity that will perfectly meet the most general or most specific needs. And there is no longer any need to program anything. Or to make very simple programs to format the results and adapt to our habits or preferences.

Graphically, the 'Triangle Solver' Application is very limited; there are only two bitmaps, one for any triangles and the other for right triangles.

[Image: attachment.php?aid=13951]

Using the 'Geometry' Application allows you to quickly solve a larger number of problems and obtain more solutions. The screenshot above only shows a quick overview of the infinite possibilities.

This 'Geometry' application seems to me to be more suited to the needs of Abhlnav. It took me only a few minutes in the 'Geometry' App to create the capture on the right (without any programming). I was pleasantly surprised that the measurements and indications that Abhlnav lists are already present among the many functions of this app.

Obviously, it is possible to write user programs that will exploit these possibilities and adapt the results to the data of specific cases. This can be very useful in the case of repeated tasks or if you want to setup your data at each use. A collection of small, short and specific programs can be easier to use and also to develop.

As Tyann rightly points out, the HP Prime programming tools allow you to use and adapt the interface for your own needs. In particular by assigning new functions to the black keys of the HP Prime. Thus, the collection of small programs can be easily accessed through the existing menus, but also by reassigning the MENU, VIEW, etc. keys.

Do not forget to 'COPY' the application for each new problem, the data, the programs and any occasional modifications will thus be saved in this new instance of the Application independently of other cases or other uses.

My last piece of advice to Abhlnav would be to first familiarize with the use of Applications (and here especially the 'Geometry' Application) in order to understand the ins and outs before diving headlong into programming. The development task will only be easier and the programs will have a better chance of effectively meeting the many needs.


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Modifying the triangle solver - Abhlnav - 09-14-2024, 10:40 PM
RE: Modifying the triangle solver - Tyann - 09-15-2024, 05:59 AM
RE: Modifying the triangle solver - C.Ret - 09-15-2024 07:32 AM



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