-
×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 40gs, how to display variables in the variables form (not...
- 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

HP 40gs, how to display variables in the variables form (not numbers)
01-09-2020 04:35 AM

Hi!
I recently bought a second-hand calculator HP 40gs and even reading the user manual, I'm having some problems.
I would like to store two matrices in this form:
[sin(theta); cos(theta), sin(theta); cos(theta)]
[cos(theta); sin(theta), cos(theta); cos(theta)]
and then make the multiplication, willing to have the result in the form of
[sin(theta)cos(theta);.............]
instead of having the numbers shown.
The problem is that as soon as I fill the matrices with for example sin(T), it reads the T variable (which has not been yet defined, so it's considered =0) and in the matrix shows 0, instead of sin(T) literally typed.
Is there a solution to this?
Thanks in advance
Marco
01-11-2020 12:10 AM - edited 01-11-2020 12:29 AM

You have to use the "CAS" button and 2D editing screen. That is the only place in the calculator that does not automatically evaluate variables (A-Z and Theta ARE predefined as 0 unless you have stored something in there). Are you doing things in teh CAS screen?
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.
01-12-2020 04:25 AM

Hi,
First of all, thanks a lot for your answer.
I entered the CAS mode, but I can't find the 2d editing that you mentioned. Learning about the CAS from the user manual, I understood that for example in order to multiply the following matrices
1) {{S2+1,1},{3,5}}
2) {{S2+2,1},{7,5}}
I have to write, in the HOME folder
XQ({{S2+1,1},{3,5}})STO>L1
XQ({{S2+3,1},{7,5}})STO>L2
AXL(L1)*AXL(L2)
Anyway, it doesn't solve the multiplication, it shows
{{7+(S2+1)*(S2+3),......},{....,....}}
How can I make it so that it shows directly the solved products?
Thanks.
Marco
Didn't find what you were looking for? Ask the community