Why I get a syntax error on desolve
|
09-12-2023, 12:11 PM
Post: #1
|
|||
|
|||
Why I get a syntax error on desolve
I am exploring derivatives in the HP Prime.
I solved a 2nd order ode desolve(4*y''-6*y'+7*y=0) I successfully get G_0*cos(1/4*19^0.5*x) + G_1*sin(1/4*19^0.5*x))*exp(3/4*x) BUT at a later time I solve the same equation. It now adds the "CAS." before desolve CAS.desolve(4*y''-6*y'+7*y=0) I now get X Error:Syntax Error Why? Thank you Anthony, Sydney |
|||
09-12-2023, 03:07 PM
Post: #2
|
|||
|
|||
RE: Why I get a syntax error on desolve
What you entered (desolve(4*y''-6*y'+7*y=0)) will work in CAS, but in home this:
CAS(EVAL("desolve(4*y''-6*y'+7*y=0,x,y)")) will give the same answer. -road |
|||
09-12-2023, 08:06 PM
Post: #3
|
|||
|
|||
RE: Why I get a syntax error on desolve
Dear roadrunner,
Thank you for the reply. When I was in the home screen pressing the "house" button on the left I originally got: desolve(4*y''-6*y'+7*y=0) But now when I am in home screen I get Syntax Error. How do I go back to home screen without getting a syntax error OR the additional CAS.EVAL statement as in: CAS(EVAL("desolve(4*y''-6*y'+7*y=0,x,y)")) Thank you Anthony, Sydney |
|||
09-13-2023, 12:05 AM
Post: #4
|
|||
|
|||
RE: Why I get a syntax error on desolve
The CAS and EVAL commands are in the toolbox catalog, but i would recommend doing those types of problems in CAS mode to avoid using them. Just press the CAS button that is second down on the left, then type in your original equation.
-road |
|||
09-13-2023, 01:13 AM
Post: #5
|
|||
|
|||
RE: Why I get a syntax error on desolve
Dear roadrunner,
Thank you. Entering into the home screen: CAS(EVAL("desolve(4*y''-6*y'+7*y=0,x,y)")) Did work! And thank you about entering the following in CAS mode. desolve(4*y''-6*y'+7*y=0,x,y) Again to enter the above command must be in CAS mode. Thank you Anthony, Sydney |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)