×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

# subscript problem

## subscript problem

(OP)
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

### RE: subscript problem

Make sure that ORIGIN=the starting index of

Take care,

The MathMagician

### RE: subscript problem

(OP)
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.

### RE: subscript problem

Lots of ways

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

TTFN

### RE: subscript problem

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

- Using function

Y(X): m*X + b

Y(2) =   (see result in MathCad

### RE: subscript problem

(OP)
Thank u it worked

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Close Box

# Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!