Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
In Mathcad If I have 3 functions a, b and c and I whant d to be the biggest out of the three how do I do that? Like:
d=max[a:b:c]=biggest value
Thanks for help
That will ONLY work if a, b and c are values (or sets of values such as array or matrices): you'll get the largest of any of the values and/or array- and/or matrix-elements.
If a, b and c are really functions, you'll need a litte more.
Success!
Luc
May be so
a(x):=…
b(x):=…
c(x):=…
d(x):=max(a(x), b(x), d(x))
And what Valery shows (above, Thanks Valery!) is one possibility of 'a little more'.
Essentially what goes on there is that a(x), b(x) etc are numbers, each corresponding to a call to the d(x) function.
Luc