Question: Finding the "n" for which a function has maximum/minimum

Hello friends,

I would like to obtain the "n" for which the second column reaches its maximum and minimum (in the case of my example below, n= 5, 11 and 17 (for -10) and n = 8 and 14 (for 10))

 

restart:
interface(rtablesize=20):
Matrix([  seq([ n,round(10*sin(n)),round(10*cos(n))], n=1..20)]  );

How can I do that?

 

Thanks a lot for you attention,

 

Jean-Jacques

Please Wait...