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!

subscript problem

Status
Not open for further replies.

sjjustine

Chemical
May 19, 2003
10
What does it mean when you try to plot y=mx+b diagram and mathcad is complaining on subscript index([i) which is no x[i. It says "the value of subscript or superscript is too low or too small for this array"
Can not find anything wrong with what I have do. I have done exactly the same thing before and it worked.
 
Replies continue below

Recommended for you

Make sure that ORIGIN=the starting index of
your array. Please read the ORIGIN command !

Take care,

The MathMagician :)
 
How can I solve eq below in mathcad.
Mol=x*mass, where x is four differents and mass is a constant. I need to calculate Mol for different x. All four values for x is known.
 
Lots of ways

> Read the manual
> Make mol a function by defining it as mol(x):=x*mass
assign x as a matrix of known values



TTFN
 
One way to s follow:

o Constant definition:
ex. Intercept b=-3.1
slope m= 1
Index range i:0;3 (assume default ORIGIN:0)

o Varibles definition:
4 values x[i:2,5,9,7

o Equation definition:
- Using index, i


y[i : m*x[i + b

y[i= (see result in MathCad
[i] - Using function [/i]

Y(X): m*X + b

Y(2) = (see result in MathCad
Y(-123)= (see result in MathCad

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor