Skip to main content
1-Visitor
October 19, 2011
Question

How Mathcad calculates through an vector assignement?

  • October 19, 2011
  • 8 replies
  • 3931 views

Hello,

I have a one dimensional problem in time and wanted to avoid proramming. So I tried to use a vector y(i+1,j) which is asigned the vector x(i,j) on the right side. only i is depending on time, j is the geometrical subdivision.

How Mathcad goes through this construct, calculating it for all i, then afterwards again for the next j or first calculating for all j?

The Mathcad 14 worksheet which is shwon as excerpt in the pdf calculates but the results are not correct.

thanks

Gerfried

8 replies

24-Ruby IV
October 19, 2011

Hello!

Could you attach a Mathcad file (not a PDF)?

Efried1-VisitorAuthor
1-Visitor
October 24, 2011

no, I'm sorry this is just a theoretical question and certainly may be answered by Mathcad staff.

23-Emerald I
October 24, 2011

You can do step by step solutions using vector subscripts if you set it up properly. (Note that you need the starting point, and you need to define the index variable properly.

12-Amethyst
October 24, 2011

Well, I don't know what the algorithm is, but If I reverse the order, I get different results, neither of which is correct. I think you many need at least a short program to be sure of the order.

One way is closer than the other, but the closer one is the one I would have expected to be the worst.