Skip to main content
4-Participant
February 23, 2015
Solved

how to Adams function for higher degree terms

  • February 23, 2015
  • 5 replies
  • 2010 views

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

Best answer by Werner_E

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.

5 replies

Werner_E
25-Diamond I
February 23, 2015

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.

vveeran4-ParticipantAuthor
4-Participant
February 23, 2015

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.

Werner_E
Werner_E25-Diamond IAnswer
25-Diamond I
February 23, 2015

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.