Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Mathcad summations help

Status
Not open for further replies.

jletha

Materials
Oct 17, 2011
3
0
0
US
I am sort of a novice with Mathcad and I am trying to solve a problem using an indexed summation. I have from i=1 to N and N=2 (for now) but of the two terms indexed over i, one is a number and the second is a variable that I would like to be able to graph over. I do not know how to do this, can someone help?

Thanks in advance
 
Replies continue below

Recommended for you

I unfortunately cannot upload the entire file as it is quite large and there are confidentiality issues. I was hoping this was a simple fix, maybe it is not. Thanks though.
 
Offhand, I don't see anything wrong with your summations. t.2 and sigma(hf) are undefined because hf is undefined. sigma(hf) appears to be a single value, so how does it get graphed? If hf is defined as an array (like 1...5), then you have a problem because t.2 will be an array and the function sigmat(hf) will be an array and a function cannot be an array. Mixing arrays and functions is a difficulty in Mathcad. You'd be better to define everything as vectors instead of functions of hf.
 
Status
Not open for further replies.
Back
Top