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

how to Adams function for higher degree terms

vveeran
4-Participant

how to Adams function for higher degree terms

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

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

5 REPLIES 5

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.

vveeran
4-Participant
(To:Werner_E)

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.

vveeran
4-Participant
(To:Werner_E)

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()?

Top Tags