Post Reply 
Solving a simple Partial Differential Equation
01-15-2023, 07:29 PM
Post: #1
Solving a simple Partial Differential Equation
Hi,
I am trying to find the right approach to 1.) partially differentiate an equation and then 2.) solve the partial differential equation in next step with to be defined numbers for the variables:

Simple example equation:
(1/2)*(a^3+4*b^4-c*a^2)

1.) partially differentiate for variable a (result should be: (1/2*(3a^2-2ac))
2.) solve the resulting partial differential equation for a=3, b=5 and c=4 (result: 1.5)

The sample above is easy to solve, but if the partial differential equation is very complex, it is very time consuming to retype everything with the defined numbers for the variables.
So what would be the fastet way to solve both steps within one command in the HP Prime?
Thanks for your help!
Find all posts by this user
Quote this message in a reply
01-16-2023, 07:41 AM
Post: #2
RE: Solving a simple Partial Differential Equation
subst(diff((1/2)*(a^3+4*b^4-c*a^2),a),[a = 3,b = 5,c = 4])
Find all posts by this user
Quote this message in a reply
01-16-2023, 03:45 PM
Post: #3
RE: Solving a simple Partial Differential Equation
Thank you phobos! This was what I was looking for, this really helps a lot!
One small correction with the braces for the variables:
subst(diff((1/2)*(a^3+4*b^4-c*a^2),a),{a = 3,b = 5,c = 4})
Find all posts by this user
Quote this message in a reply
Post Reply 




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