Question
Reply
 
Intern
Posts: 46
Member Since: ‎09-29-2012
Message 1 of 11 (3,320 Views)

Differential Equations on HP Prime

I have the following differential equation: 3y -5y'=13

Subject to the initial condiction: y(0)=4

 

In the hp 50g, in RPN Mode, I create a vector with the expressions and the initial condition and invoke the desolve commnad, like this:

 

[ 3*y(x) - 5*d/dx(y(x))=10   y(0)=4]

y(x)

desolve

 

That is enough to get the following solution:

13/3 -1/3 e ^ (3/5 x)

 

The hp prime has a desolve command, but the documentation is so bad and scarse that is is almost impossible to figure out how to solve the problem above, with the initial conditions. I don't even know if it is possible.

 

Does anyone know how to do it ?

Is there better documentation available?

 

Please, don't reference the user guide. I already verified it.

 

Thanks

Reply
0
Highlighted
Intern
Posts: 46
Member Since: ‎09-29-2012
Message 2 of 11 (3,278 Views)

Re: Differential Equations on HP Prime

Ok.. I figured out how to put the expression and the initial condition in a vector. The rest is basically the same as in the HP50g.  A better user guide is needed URGENT!

Top Student
Posts: 6
Member Since: ‎02-02-2015
Message 3 of 11 (2,296 Views)

Re: Differential Equations on HP Prime

I would sure appreciate knowing how you did that.  When I try using the 'solve|differential equation' function for anything beyond a trivial DiffEQ I get garbage (probably the right answer buried in their somewhere, but it would be easier to do the calc by hand than try to decipher the gibberish).

 

Thanks in advance!

 

 

Master's Graduate
Posts: 285
Member Since: ‎01-08-2009
Message 4 of 11 (2,262 Views)

Re: Differential Equations on HP Prime

Did you look at the on calc help? Both examples show setting an initial condition and neither uses the optional vector input like you found.

 

As for the desovle solutions, the way it was explained to me was that it was generally transforming into parametric solutions which are (apparently) more useful according to the CAS author for lots of advanced stuff. I know he made some changes there so if/when there is another version on the Prime firmware it would contain those improvements too which I think will be much more to your liking.

----------------------
TW

Although I work for the HP calculator group, the views and opinions I post here are my own.
Honor Student
Posts: 2
Member Since: ‎01-31-2016
Message 5 of 11 (1,266 Views)

Re: Differential Equations on HP Prime

Don't understand how to solve this differerntial equation on my HP Prime, Help please!

y'+2y=0  (0, -3)

 

Professor
Posts: 2,156
Member Since: ‎02-17-2015
Message 6 of 11 (1,258 Views)

Re: Differential Equations on HP Prime

[ Edited ]

Hi!, Magqva:

 

Welcome, to Forum !.

 

The guides and manual ... http://support.hp.com/us-en/product/HP-Prime-Graphing-Calculator/5367459/model/5367460/manuals

 

You can solve, with CAS and Shift Home Settings, complex (a,b) ...

Screenshot_2016-01-31-17-54-35.png 

 

 

 

Honor Student
Posts: 2
Member Since: ‎01-31-2016
Message 7 of 11 (1,234 Views)

Re: Differential Equations on HP Prime

Thank's Make,

 

Yes i have been there in the manual and tryed to figure out how to press the different buttons but could not make it work. Tryed a lot but so far only different error message.

 

Any suggestions?

 

Magnus

Professor
Posts: 2,156
Member Since: ‎02-17-2015
Message 8 of 11 (1,223 Views)

Re: Differential Equations on HP Prime

Hi!, Magqva:

 

See, the images ...

 

Screenshot_2016-02-01-10-41-06.png

 

Screenshot_2016-02-01-10-41-30.png

 

Screenshot_2016-02-01-10-40-47.png

 

Screenshot_2016-02-01-10-41-48.png

 

Teacher
Posts: 69
Member Since: ‎12-27-2015
Message 9 of 11 (1,076 Views)

Re: Differential Equations on HP Prime

HI Maké,  Is this a emulator ?,, for teachers are for anyone.I like this calulator ever since i seen it . I also have a friend on LSU, who was asking about how to write programs in this language is this C++14, did they move away from RP lisp.I have not read anythig on this calculator yet. Also Thanks for your advice about Jacob wall 's  site I love cogo-lt. Anyway my friend is in Canada he is trying to write a survey program to inverse in the prime. He says he has no success but is this language simular  to RP Lisp. at all. Because he told me it was simular. My wife use to write this code a few years back she does not think it is simular, but she has only  wrote it on a pc. I know you will tell me where  the best instructions are.I can write RP Lisp. but I never  have written this C++. I think this Inverse program  will not be long , Have you written any program  like this. or tell me where i might get one. So i can tell him where to find it. I know there are apps. I can not remember where i seen them i will have to do search again.

 

Good talking to you, I will hope you read this

 

surveying101bil

 

Professor
Posts: 2,156
Member Since: ‎02-17-2015
Message 10 of 11 (1,067 Views)

Re: Differential Equations on HP Prime

[ Edited ]

Hi!, surveying101bil:

 

This emulator is for Android Operating System. I have a calculator and virtual emulator for PC's too. The Operating System of HP PRIME is similar to Pascal, but no sure, if, written in C++. The RPN, is similar to the HP 50 and previous series.

You can see many programs created for HP PRIME, in ... http://www.hpcalc.org/search.php?query=HP+PRIME

 

The HPPL (Hewlett Packard Programming Language) references ... http://en.hpprime.club

 

See, too, the video ...

Vídeo de HPPL Programming HP PRIME
 
 

  

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation