Problem with GaussJordanAlgorithm

12232018, 10:16 AM
Post: #1




Problem with GaussJordanAlgorithm
Hello everybody,
I'm new here with you in the forum. Unfortunately, I have a problem with a program, which we got from a lecturer and we have to use for the exams. The lecturer uses a Texas Instruments calculator. Since I always had a HP, I do not want to change. Unfortunately, I do not know how to change this program to get it running on my HP prime. Every time I run the program I get a syntax error. Here is the program: PROGRAMM:GJP :Disp “Matrix” :Prompt [A] :Disp “Pivotzeile” :Prompt Z :Disp “Pivotspalte” :Prompt S :*row(1/[A](Z,S),[A],Z)‐>[A] :dim([A])‐>L1 :For (I,1,L1(1),1) :If (I≠Z) :Then :*row+(‐[A](I,S),[A],Z,I)‐>[A] :End :End :Disp [A] Note from the lecturer: > represents the first storage space for lists I hope you can help me. Many thanks in advance. Oliver 

12232018, 01:23 PM
Post: #2




RE: Problem with GaussJordanAlgorithm
What you need to do is learn the programming language of the Prime, HPPPL. You can't give the Prime a program in TIBasic to chew on and expect it to work!
If you've already tried to do that, then post what you have so far and we can have a look at it. 

12232018, 01:44 PM
Post: #3




RE: Problem with GaussJordanAlgorithm
(12232018 01:23 PM)grsbanks Wrote: What you need to do is learn the programming language of the Prime, HPPPL. You can't give the Prime a program in TIBasic to chew on and expect it to work! Thank you for the fast answer. I almost feared that. Is that a big hassle for someone who has a clue about it? Unfortunately it will not work for me in time to look at it during the learning phase. I would also be willing to pay something. 

12232018, 04:45 PM
Post: #4




RE: Problem with GaussJordanAlgorithm  
12232018, 05:09 PM
(This post was last modified: 12232018 05:10 PM by oliver.eggo.)
Post: #5




RE: Problem with GaussJordanAlgorithm  
12252018, 10:51 AM
Post: #6




RE: Problem with GaussJordanAlgorithm
Hi All,
I think that's not a program, it's a pseudocode. You have to adapt the program technically on the respective device. Helpful are commands like rref () (result GaussJordanmethod) and ref (matrix) (result Gaussmethod); see in the very good help documentation after. Specially, the command pivot () can also be used. Does the teacher also accept devices other than one from TI? Programming an HP Prime and, for example, a TI nSpire CX CAS are very different. There are experimental HP Prime programs for GaussJordanAlgorhytmua, our senior member salvomic has released. Various links for this: http://www.hpmuseum.org/forum/thread4136.html http://www.hpmuseum.org/forum/thread4063.html http://www.hpmuseum.org/forum/thread2936.html I hope that is helpful to you. Translated with google translator Rudi 

« Next Oldest  Next Newest »

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