HP-50g - Define functions with matrices inside
|
05-31-2024, 02:52 PM
Post: #2
|
|||
|
|||
RE: HP-50g - Define functions with matrices inside
I couldn't make it work in ALG-mode either but I have to say I'm not used to ALG-mode.
But it's rather easy to create a small RPN-program that takes two arguments (M and R) from the stack and does what you want. Not sure how to program that in ALG-Mode though. Program listing in RPN \<< \-> M R \<< [[ 'COS(R)' 1 ][ 1 'COS(R)' ]] M * \->NUM \>> \>> 'A' STO // store the program in A How to use it in RPN-mode: 1.5 // M 30.0 // R [A] // with softmenu, press [VAR] and [NXT] till you see [A] Output: [[ 1.2990 1.5000 ][ 1.5000 1.2990]] But once created it will work in ALG-mode as well: '->NUM(A(1.5,30.0))' // ->NUM from the cat menu HTH Roman |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
HP-50g - Define functions with matrices inside - slavhp - 05-31-2024, 12:50 AM
RE: HP-50g - Define functions with matrices inside - roem76 - 05-31-2024 02:52 PM
|
User(s) browsing this thread: 1 Guest(s)