Question: How to plot parametric maximum?

Suppose I have a function like this: f=cos(2t/m)+cos(2(t+5)/m).

 

Now for each fixed m, we get the maximum value of f. Then I want to build a plot where x-axis is m and y-axis is f, how could I do that? Please help!

 

Please Wait...