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

Finding maximum value of a chart

SOLVED
Newbie

Finding maximum value of a chart

Hello,

 

I am having trouble finding the maximum value of the functions x(t) y(t) and theta(t). I have attached my workbook I assumed this would be easy but I am unable to find a simple way to do this. Any help would be greatly appreciated. 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Finding maximum value of a chart

4 REPLIES 4
Highlighted

Re: Finding maximum value of a chart

Re: Finding maximum value of a chart

Thank you very much.

Re: Finding maximum value of a chart

Another way, since you have functions:

 

Take the derivative,

Find the root of the derivative,

Evaluate the function at that root.

 

See attached, works in express.

Re: Finding maximum value of a chart

For whatever it may be worth here are my 2 Cents

1) an approach using a vector but utilizing the OPs already defined range for t and vectorization. Also a nice 3D plot using the three functions.

B1.jpg

2) an analytic approach using root with a guess value (so you don't have to look at the plot to find two t-values where the function values have opposite sign.

B2.jpg

Getting an analytic solution using the symbolics only works with legacy symbolic (muPad). The new symbolic (FriCAS) seems to be not able to find a solution (or I was to inpatient - I cancelled the calculation after a while).

B3.jpg

Of course we would have to assign the result to a variable and evaluate x(t) at this position to get the amplitude.