Post Reply 
MAX command
09-24-2016, 05:55 PM
Post: #1
MAX command
I can integrate MAX(sin X,cos X) for an interval of interest in CAS and in home. When plotting MAX(sin X,cos X), the plot is fine, but it will not find extremums. Likewise, I am not having success in finding fmax(sin X,cos X) in home using "X" or CAS using "x".

What is the correct procedure/syntax?
Find all posts by this user
Quote this message in a reply
10-05-2016, 09:48 PM
Post: #2
RE: MAX command
Is it possible to find extremums of functions in Home/CAS/graphing apps that use MAX such as MAX(sin x, cos x) ?
Find all posts by this user
Quote this message in a reply
10-08-2016, 10:24 PM (This post was last modified: 10-08-2016 10:28 PM by jte.)
Post: #3
RE: MAX command
The Function app currently relies on the differentiating functionality of the CAS for extrema finding. I might add (NOTE: as has been said before, I'm not speaking for HP: there are no guarantees towards future releases or improvements etc.) a numerical extrema finder for Function / Fcn / Plot / Extremum. The CAS doesn't currently like differentiating MAX.

One possible workaround is to define V1 in the Advanced Graphing app as 0.5*(X+Y+ABS(X-Y)) and then define F1 as V1(SIN(X),COS(X)). Then try using Function / Plot / Fcn / Extremum (the CAS is more likely to differentiate ABS). This workaround also helps with Fcn / Slope and Fcn / Tangent (the CAS is similarly used for differentiation for these features).
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)