cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

differential equation solver

anagy
3-Visitor

differential equation solver

  1. I’ve used mathcad years ago, but I have not used it much since ptc switched it to prime.

I’m trying to solve partial differential equation, shown below:

01.png

After some simplification, the equation will be this:

02.png

I can write Tm as a 3rd order polynomial trend line.

03.png

finally after some reorganization the final equation:

05.png

I'd like to plot V(t) vs. t

Am I on the right path? Last time I solved differential equations was 20 years ago, and I was not good at it I still have some weak memories of differential equation solving when both the function and the first derivative are in the same equation. I tried to solve this in excel with numerical differentiation but that one did not yielded good results either.

Any help if greatly appreciated. thank you!




1 ACCEPTED SOLUTION

Accepted Solutions
VladimirN
24-Ruby II
(To:anagy)

Please find in attachment the contents of this Mathcad Prime worksheet in PDF file format.

View solution in original post

14 REPLIES 14

We can solve numerically some partial diff. equation in Mathcad 15 with the pdesolve function.

But in Prime there is no this function.

Sorry.

Are you sure that your DE is the partial DE not ODE?

Sorry.

Partial=one?

If your ODE is y'(t)=a+b*y(t)^2 you can solve it symbolically..

anagy
3-Visitor
(To:anagy)

Valery, you're right. I believe too, it's a ODE in the form you've mentioned. I'm still not sure why mathcad does not like the notation this way.

Use not = but ctrl+=

One example

Fig-18-2.png

anagy
3-Visitor
(To:anagy)

Valery, I tried the ctrl+= but it did not work. I also tried the example you've shown and it won't even plot the graph.

mathcad_01.png

Werner_E
24-Ruby V
(To:anagy)

Re ist the name of a built-in function, therefore the error.

Either define an appropriate range variable Re or use a different variable name - just in the plot, you can leave Re in the function definition.

WE

More simple example:

Mathcad 15 with animation

Video Link : 1699

Fred_Kohlhepp
23-Emerald I
(To:anagy)

See if this start helps

Fred. thank you for the file, but I could not open it.

Fred_Kohlhepp
23-Emerald I
(To:anagy)

My file was Prime 3.0.

What version are you using?

Fred. I'm using Mathcad Prime 2.0. Thank you for all the help!

VladimirN
24-Ruby II
(To:anagy)

Please find in attachment the contents of this Mathcad Prime worksheet in PDF file format.

anagy
3-Visitor
(To:VladimirN)

Vladimir. Thank you for all the help. With your assistance I was able to solve the equations. Спаси́бо большо́е

VladimirN
24-Ruby II
(To:anagy)

No problem.

Top Tags