sasmab
Mechanical
- Feb 4, 2009
- 3
Who knows?
I want to get the maximum value out of a range of values.
The range is the result of a function.
Simplified, the function looks like this. I put 'X' in a range and therefore the result 'A(x)' is also a range.
X = 0, 1 .. X.max
A(X) = B(X)/C
I tried to get a maximum like this:
max (A(0), A(1) .. A(X.max))
Mathcad gives me the result '0'
The thing is, when I try this with 'min', I get the correct minimum result.
I want to get the maximum value out of a range of values.
The range is the result of a function.
Simplified, the function looks like this. I put 'X' in a range and therefore the result 'A(x)' is also a range.
X = 0, 1 .. X.max
A(X) = B(X)/C
I tried to get a maximum like this:
max (A(0), A(1) .. A(X.max))
Mathcad gives me the result '0'
The thing is, when I try this with 'min', I get the correct minimum result.