Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Array Element Formulation

Status
Not open for further replies.

Qshake

Structural
Jul 12, 2000
2,672
0
0
US
All - Please see the attached pdf. I'm having difficulty getting the following to work in Mathcad. The error I get is this array index is invalid for this array. The frustrating part is that I've done this before in a different Mathcad sheet and it's worked fine. Any ideas as to what I'm missing?

Thanks!

Regards,
Qshake
[pipe]
Eng-Tips Forums:Real Solutions for Real Problems Really Quick.
 
 http://files.engineering.com/getfile.aspx?folder=7245bc3f-64d1-4b36-9c76-119f7a9e5c01&file=Mathcad_-_shear_check_sheet.pdf
Replies continue below

Recommended for you

The actual sheet would have been more useful.

You have (L-d[i)*d[1 in the integral. Is that intentional? However, the problem looks to be an ORIGIN error. Array indices start at 0, unless overridden by ORIGIN:=something else. So, you using 1;9 for the 9-element vectors, but the indices should run from 0 to 8

TTFN
I can do absolutely anything. I'm an expert!
faq731-376 forum1529
 
IRstuff - I'd hoped you'd still be around on the site to reply. I changed the i=0 and n-1 and the expression worked. So thanks for that! I'll have to figure out why it worked on the other Mathcad sheet as the variables all appear to be the same.

Thanks again,



Regards,
Qshake
[pipe]
Eng-Tips Forums:Real Solutions for Real Problems Really Quick.
 
You're very welcome. I'm glad to help a long time ET member.

TTFN
I can do absolutely anything. I'm an expert!
faq731-376 forum1529
 
Status
Not open for further replies.
Back
Top