Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mathcad summations help

Status
Not open for further replies.

jletha

Materials
Oct 17, 2011
3
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

It appears that there is more to the worksheet than is shown. It's better if you upload the file, not an image.
 
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.
 
Why are there things in red? Those bits are nonfunctional, so you can't graph your function since one of its components contains an error. And what in tarnation is your independent variable? It shows up red where t2 is defined, so hf appears to not exist.

TTFN

FAQ731-376
Chinese prisoner wins Nobel Peace Prize
 
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.

Part and Inventory Search

Sponsor