Skip to main content
10-Marble
September 17, 2024
Solved

Circuit ODE set up and solution - symmetrical faults

  • September 17, 2024
  • 1 reply
  • 6816 views

I have the step by step hand calculations for this type of problem but I really would like to learn the ptc Mathcad analysis for it and somehow the ODE Mass Spring problem doesn't help me make the connection. Could someone please help get me started with this?

Best answer by Werner_E

Older versions of Prime would not have allowed to evaluate a solve block with "Find" symbolically, but Prime 9 does.

But you can't symbolically evaluate a solve block with "odesolve". "odesolve" relies on numerical algorithms and will never return a symbolic result.

If you need a symbolic solution for an ODE, you can't use a solve block with "odesolve" but rather a symbolic evaluation with "solve" as shown in the help here: Solving ODEs Symbolically

Keep in mind that this feature is new and a work in progress. Don't expect it to provide solutions for more complicated ODEs. Nonetheless its worth to give it a try.

But then, are you sure that you really need a symbolic solution?

If you just want to play around and compare the results with different input values you could also use a parametrized solve block.

For example the example from the help: Solving ODEs

Lets make the coefficients of x'' and x and also the first initial value x(0) a variable. As you can see we can turn the solve block into a function x(...).

Werner_E_0-1726704757522.png

f1 is the function as given in the help, the other two stem from the same ODE but with different coefficients and initial condition.

 

1 reply

23-Emerald IV
September 18, 2024

You should state that you're using Prime 9...

Looks like homework, so YOU have to do it.

 

Look up the help information ( "?" in the top right corner of the Prime window ) on solving ODE's:

- using a solve block ( Solve blocks => Solving ODE ).

- symbolically ( Symbolics => Symbolic evaluation => Solving ODE's symbolically ).

If you experience problems, come back here with at least an attempt to your solution.

 

Success!
Luc

cadtelsim10-MarbleAuthor
10-Marble
September 18, 2024

Hi Luc,

 

Thank you for your response. I should clarify that I am indeed using Mathcad Prime 9 for my analysis, and was not previously aware that this version might lack some functionalities, such as support for solve blocks. Could you please advise on how I might access a version of Mathcad that retains full functionality? 

 

I appreciate your concern regarding the nature of my query as homework-related. To clarify and ensure that my request for assistance is only due to my interest in effectively applying Mathcad to these types of problems, I attach my complete solution for your viewing. 

 

I have reviewed your solution to the similar problem you directed me to, but I am still struggling to make the connection, particularly in understanding the equations you used for your matrix setup. Any guidance or starting points you could provide would be greatly appreciated.

 

Thank you for your time and help.

 

Best regards,

 

25-Diamond I
September 18, 2024

Prime 9 sure has its limitations but why do you think that it will not support solve blocks?? It sure does!

If you don't pay for Prime (any version), then you have a 30 day trial period with full functionality after which it falls back to a free, but limited mode, called Prime Express. You will still be able to open any worksheet (not such made with newer versions) for viewing, but if they contain so called premium features you will not be able to let it recalculate. Amongst a lot of others solve blocks are considered premium features by PTC and if you are just using Prime Express you will not be able to use them, no matter which version of Prime (current version by the way is Prime 10).

You can tell that you are using the free Prime Express version when the title bar says "PTC Mathcad Express Primes" and when you see small black closed locks in the menu ribbon, e.g. at "Solve Block", "Programming", etc.