cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

## Range Variable and My Sanity  1-Newbie

## Range Variable and My Sanity

Using MathCAD 15 in Windows 7. Based on this quote from the help file regarding range variable creation:

b is optional, but when used, it represents the value of a plus the step size to be used in generating the sequence of numbers

I am puzzled by the values created by these two range statements: I understand the values for range variable i, but I thought j values would be 1, 11, 21. It appears as if MathCAD is calculating the step size as the difference between a and b versus using b as the step size. Am I confused or is the help file incorrect?

1 ACCEPTED SOLUTION

Accepted Solutions  23-Emerald II
(To:astevenson-2)

As Fred already pointed out: it's correct.

The wording is (mathematically) correct.

b= a+ Step. So if a= 1 and b= 10 then Step= 9 (because b- a= 10- 1= 9).

Success!
Luc

8 REPLIES 8  23-Emerald I
(To:astevenson-2)

I can't find your quote in my version 15 help--no discussion about a or b.  But the first term in the definition is the starting value, if there's a second term it's the second value in the sequence.  You quote above  translates to "b = a + step", not "b = step" which is what 1, 11, 21 would require.  ( to get that you need

"j:= 1,11 .. 30)  1-Newbie
(To:Fred_Kohlhepp)   23-Emerald II
(To:astevenson-2)

As Fred already pointed out: it's correct.

The wording is (mathematically) correct.

b= a+ Step. So if a= 1 and b= 10 then Step= 9 (because b- a= 10- 1= 9).

Success!
Luc  1-Newbie
(To:LucMeekes)

Perhaps we could agree the help file is poorly worded. I read the help file as b is the step size between all values versus the next value in the sequence after a from which the step size for all subsequent values is computed. I always hated word problems in Algebra.  24-Ruby V
(To:astevenson-2)
 I read the help file as b is the step size between all values versus the next value

But the help clearly states that <b><i>b</i></b> <i>"represents the value of <b>a</b> plus the step size</i>.  ... <b>plus</b> ....  1-Newbie
(To:Werner_E)

OK so I'm an idiot.  23-Emerald I
(To:astevenson-2)

Clearly not!  24-Ruby V
(To:astevenson-2)
 Andy Stevenson wrote: OK so I'm an idiot.

I guess no.

Maybe just a bit too quick in reading the text 😉

Maybe the wish was father of the thought. At least I often would have found it more convenient if i could provide the step value instead of the second value in the series.

WE 