Differential Equation Entry? - Printable Version +- HP Forums ( https://www.hpmuseum.org/forum)+-- Forum: HP Calculators (and very old HP Computers) ( /forum-3.html)+--- Forum: HP Prime ( /forum-5.html)+--- Thread: Differential Equation Entry? ( /thread-10481.html) |

Differential Equation Entry? - DrD - 04-10-2018 11:14 AM
How can this be solved using the prime: (Ideally, returning BOTH a general and a particular solution.) (y*e^x) dx + (y^2 - 1) dy = 0, AND y(0) = 1 Desired results: y^2 - ln(y^2) = -2*e^x + c1; {General Solution} y^2 - ln(y^2) = -2*e^x + 3; {Particular solution} RE: Differential Equation Entry? - parisse - 04-10-2018 11:53 AM
desolve(y*exp(x)+(y^2-1)*y'=0) returns the implicit equation for the solutions (in display and if you interpret fsolve). odesolve will solve this equation numerically, but not for this initial condition, because Cauchy-Lipschitz is not verified if y=1 (you can not express y' in terms of x and y). RE: Differential Equation Entry? - DrD - 04-10-2018 01:22 PM
(04-10-2018 11:53 AM)parisse Wrote: desolve(y*exp(x)+(y^2-1)*y'=0) returns the implicit equation for the solutions (in display and if you interpret fsolve). Thanks, Bernard! I tried lots of other ways, but not that one, and I spent way too much time trying them! -Dale- |