
×InformationFix Windows 10 Update Issues
Resolve Windows 10 related issues for your HP computers or printers by HP Windows 10 Support Center

×InformationFix Windows 10 Update Issues
Resolve Windows 10 related issues for your HP computers or printers by HP Windows 10 Support Center
 HP Community
 >
 Other Products
 >
 Calculators
 >
 HP Prime: Common Operations with 2D and 3D vectors
 Mark Topic as New
 Mark Topic as Read
 Float this Topic for Current User
 Bookmark
 Subscribe
 Mute
 Printer Friendly Page
Create an account on the HP Community to personalize your profile and ask a question
Solved!
HP Prime: Common Operations with 2D and 3D vectors
09112015 09:28 AM
I have not found a way to work with common 2D and 3D vector quantities representing position, force, velocity etc. in a manner similar to the way the HP Prime handles complex numbers. I have used both the HP48 and HP50 where these useful functions were available to my engineering students, but seems to be missing from the HP Prime. The TI89 Titanium also does this. With the HP Prime I can add two complex numbers of mixed format ("real/imaginary" and "polar"), but have not found a way to do so with vectors with real components in two or three dimensions.
What am I missing or is this hopefully a future upgrade?
Solved! Go to Solution.
09112015 10:06 AM  edited 09112015 01:43 PM
Hi!, easy67:
Welcome, to Forum !.
Note: Write, in Polar, CAS and degrees.
Have a nice day !.
@Maké (Technical Advisor Premium  HP Program Top Contributor).
Provost in HP Spanish Public Forum ... https://h30467.www3.hp.com/
09112015 02:49 PM  edited 09112015 02:50 PM
That is still not quite what I am looking for. The example problem shown in your reply shows results for a complex number. It is my desire to work with real numbers in all components of a 2D or 3D vector and obtain results in real numbers for all components. I have provided a link to a powerpoint describing vector operations on the TI89. I have also been able to do similar operations on HP48 and 50 series of calculators. These operations are very useful to mechanical engineers who don't often encounter complex numbers.
https://www.dropbox.com/s/gcyj94eoi9jpa1r/ti89%20vector%20operations.pptx?dl=0
09122015 07:07 AM
Hi!,easy67:
Can you indicate, one library or program, in your HP50G, similar ?.
Have a nice day !.
@Maké (Technical Advisor Premium  HP Program Top Contributor).
Provost in HP Spanish Public Forum ... https://h30467.www3.hp.com/
09132015 02:14 PM
Here is a Youtube video of my demonstration of adding vector components representing forces to find the resultant force. It is on a TI89, but I can easily do similar operations on the HP48G and HP50G. On the previous HP calculators operating in RPN mode I could enter a 2D vector in cartesian form with i and j components, then enter another in polar form by switching vector mode to CYLIN first and entering magnitude and angle. All other vectors on the stack were converted to CYLIN when the mode changed.
This seems to be the important difference the newer HP Prime calculator's implementation of vectors. I can use conversion functions to convert from rectangular to cylindrical (or polar) using polar_coordinates() or go the other way with rectangular_coordinates(), but once converted the calculator vector object does not know if it using rectangular components or polar. A 2D vector implemented in the HP Prime is just two real numbers in square brackets. Good object oriented programming would implement a way to have the object know its format and allow itself to be operated on in a logical manner. The TI89 does this with use of the angle prefix on a vector component, similar to the way complex numbers are handled in the HP Prime. The older HP calculators in RPN allowed to change the mode of a vector stored on the stack.
To my knowledge, this seems to be a shortcoming of the HP Prime and I am hopeful that future operating systems will improve the vector operations.
09132015 08:12 PM
Hi!, easy67:
Unfortunely, the HP Prime, didn't recognize ... in GIAC XCAS { "UnitV",x,x,x,x}, of TI89.
See, the description, of Bernard Parisse, from ... http://www.hpmuseum.org/forum/archive/index.php?thread856.html
Have a nice day !.
@Maké (Technical Advisor Premium  HP Program Top Contributor).
Provost in HP Spanish Public Forum ... https://h30467.www3.hp.com/
09192015 08:20 AM
What I am looking for is the abiltiy to work with two and three dimensional vectors on the HP Prime in ways similar to the methods shown for the TI89 Titanium and now I have produced a video showing what I am looking for on the HP Prime by way of a demonstration on the HP 50G. I am running the HP 50G emulator in RPN mode with softkeys much like the HP 48GX.
Here is a link to the video on Youtube:
From all the discussion so far, I am begining to conclude that the HP Prime does not work well with different vector formats.
09192015 09:58 PM  edited 09192015 10:33 PM
Hi!, easy67:
You can easy convert by using Phasor, Polar or, Rectangular vectors. First write, your vector and press, ENTER key. Then, press Shift and x (multiply) keys.
Use HOME and degrees.
Too, you can use others commands for vectors, from ... Tools>Math>7Matrix>8Vector and then option's ...
1 Cross Product
2 Dot Product
3 L2 Norm
4 L1 Norm
5 Max Norm
See, the image ...
Have a nice day !.
@Maké (Technical Advisor Premium  HP Program Top Contributor).
Provost in HP Spanish Public Forum ... https://h30467.www3.hp.com/
09202015 10:23 AM
You are correct  this is something not supported at this time. It will most likely be added at some point however.
Although I work for the HP calculator group as a head developer of the HP Prime, the views and opinions I post here are my own.
09202015 10:57 AM  edited 09202015 10:59 AM
You still have not grasped the intent of my post on 2D and 2D vectors. I want to be able to perform some simple calculations like I have shown is possible on older model HP calculators and the TI89. Your screen shots all have complex number notation in them.
NO COMPLEX NUMBERS, real number components only, PLEASE!!!!
Problem is not solved. I believe that the HP Prime can't do calculations like I have shown in the videos for HP50G and the TI89 Titanium calculators. If you disagree, make a video like the two I have shown for these older model calculators using the HP Prime, showing how it is done (without any complex numbers).
The problem also with the conversion funtions for polar to rectangular and the opposite is that when used with vectors containing real numbers (no complex notation) the vector object in the calculator does not know if the original vector was polar or rectangular. For example [1, 1] in rectangular converted to polar correctly gives [1.414, 45] but when added to a vector like [5, 5] gives (5.414, 50]. This is ambigious at best, is the [5, 5] vector in rectangular if so the answer is wrong considering that the [1.414, 45] vector was a result of a polar conversion. If the [5, 5] vector was in polar it is still wrong. The user is forced to know the status of a vector object, is it rectangular or polar? The calculator should "know" this.
It seems to me to be a very basic principle of object oriented programming that an object needs to be consistent with it's use and know how to handle operations on itself even if different formats are used. This is basically the implementation I see in the older HP calculators and the TI89.
I still believe that the HP Prime needs some work in this area. If you will agree I will consider the problem is closer to being solved and perhaps give you some kudos.
Didn't find what you were looking for? Ask the community