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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Max of a triangle function

ptc-2620282
1-Newbie

Max of a triangle function

Hi, I created a continue-by-piece function f(x) (a triangle) on an interval [a, b]. I would like to obtain the max of this function on this interval. I try the "max" function but it doesn't work. I'm using Mathcad 14 Thanks
1 REPLY 1
RichardJ
19-Tanzanite
(To:ptc-2620282)

The max function finds the maxima of an array of numbers, not a function. You need the maximize function. That may not work well on a piecewise function unless you maximize each part separately. Richard
Top Tags