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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Finding maximum value of a chart

cjames12
1-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

4 REPLIES 4

Hi,

Capture.JPG

Thank you very much.

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.

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.

Top Tags