HP Forums
symbolic solve differential equations HP50g - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: symbolic solve differential equations HP50g (/thread-1160.html)



symbolic solve differential equations HP50g - tgahan - 04-24-2014 05:13 PM

Hi everyone
Is it possible to include a value for cC(0) constant of integration when using desolve or must it be done using solve after getting the general solution using desolve.
example: d1y(t) = 2*t with y(0) = 4
Thanks for your time and help.


RE: symbolic solve differential equations HP50g - Steve Keeley - 04-25-2014 02:59 AM

Try this:

2: ['d1y(t) = 2*t' 'y(0) = 4']
1: 'y(t)'
DESOLVE

(See page 16-9 in the HP 50g Manual)


RE: symbolic solve differential equations HP50g - tgahan - 04-25-2014 08:46 AM

Hi Steve
Thanks very much. Worked exactly as you said.
Only got this calculator yesterday so very novice user.
How would it be coded in algebraic mode for the same example
thanks again


RE: symbolic solve differential equations HP50g - Steve Keeley - 04-25-2014 10:22 AM

I'm not sure, since I never use algebraic mode. I'd guess:

DESOLVE( ['d1y(t) = 2*t' 'y(0) = 4'],y(t))

or maybe

DESOLVE( [d1y(t) = 2*t, y(0) = 4],y(t))

Experiment.


RE: symbolic solve differential equations HP50g - tgahan - 04-25-2014 11:37 AM

Hi Steve
Your idea for ALG mode worked perfect. The second option without the quotes.
I never thought of the square brackets.
I had even tried pasting the level 2 format you gave me in your first post for rpn mode back into ALG mode but it would not work, only gave the general solution.
Thanks again ever so much