Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hi all,
I want to know how to use Adams function for higher terms like degree greater than 3 in mathcad.
Can anyone explain this with an example.
I also attached a code which contains 3 higher order degree.
I am unable to correct the error.
Thank you
Solved! Go to Solution.
vetri veeran wrote:
I tried as per the suggestions given by you. But even then also I am getting an error as, this variable is undefined in the place of y1.
Then you probably used the liter index y.1 instead of the vector index y[1.
y[1 can't be marked as undefined as y is an argument of the function.
Your problem has nothing to do with the third order but is a sytax matter.
You have to use vector indices, not just type y1, etc. and in the last line you type sin*( instead of sin( and you closed the ) far too late.
Why don't you try to retype the simpler examples in the help and quicksheets first so you can get acquainted with the syntax, etc.
I tried as per the suggestions given by you. But even then also I am getting an error as, this variable is undefined in the place of y1.
I tried for second order differential equations by using Adams command and I got correct results.
But when I do for 3rd order differential equations, I am getting this type of problem.
please help me.
Thank you.
vetri veeran wrote:
I tried as per the suggestions given by you. But even then also I am getting an error as, this variable is undefined in the place of y1.
Then you probably used the liter index y.1 instead of the vector index y[1.
y[1 can't be marked as undefined as y is an argument of the function.
Your problem has nothing to do with the third order but is a sytax matter.
thank you very much
I got correct result
vetri veeran wrote:
thank you very much
I got correct result
Fine!
You know that you can achieve a similar result using a solve block with Odesolve()?