Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
xx:
After a while, I am using the Mathcad Prime. Yesterday, I found that the range variables not doing well in case I use step less than 1. Otherwise (for example, 1.25, 2.1, etc. are OK).
Essentially, I want to specify step < 1>
I would like to how to get around this issue.
PL. Help.
Mathcad Prime 10.0.1.0
Solved! Go to Solution.
@RWickrama wrote:
xx:
After a while, I am using the Mathcad Prime. Yesterday, I found that the range variables not doing well in case I use step less than 1. Otherwise (for example, 1.25, 2.1, etc. are OK).
Essentially, I want to specify step < 1>
I would like to how to get around this issue.
PL. Help.
Mathcad Prime 10.0.1.0
The 3-place Mathcad range operator does not take the step size. It takes the first value of a sequence, then the second value in the sequence, and then the bound (usually final value) of the sequence defined by the first two values. The 2-place range operator assumes that the second value is sign(last-first).
Set the second value in the range variable to the first value plus the step value:
Stuart
@RWickrama wrote:
xx:
After a while, I am using the Mathcad Prime. Yesterday, I found that the range variables not doing well in case I use step less than 1. Otherwise (for example, 1.25, 2.1, etc. are OK).
Essentially, I want to specify step < 1>
I would like to how to get around this issue.
PL. Help.
Mathcad Prime 10.0.1.0
The 3-place Mathcad range operator does not take the step size. It takes the first value of a sequence, then the second value in the sequence, and then the bound (usually final value) of the sequence defined by the first two values. The 2-place range operator assumes that the second value is sign(last-first).
Set the second value in the range variable to the first value plus the step value:
Stuart
Thanka a lot for the reply.
I got it.
I started again Mathcad since I stopped using begining COVID outbreak.
Could you upload your sample work. I like it.
Thanks.
Sample attached, along with a version of vec that flattens nested arrays.
Mathcad 10.0.1.0