Skip to main content
Source Link
Jan Eerland
  • 2k
  • 11
  • 18

Finding the global maximum of a function

I've the following code:

R = 1;
L = 100;
c = 5;
\[Omega] = 1;
Uin = 1;
Plot[InverseLaplaceTransform[((Uin*\[Omega])/(s^2 + \
\[Omega]^2))*(R/(c*L*R*s^2 + L*s + R)), s, t], {t, 0, 
  10*((2 Pi)/\[Omega])}]

The output gives:

enter image description here

How can I find the global maximum of that function? So I need to find the time $t$ where the function on the y-axis is the biggest. I can see it is roundabout $t=17$ but how can I use Mathematica to solve for that point?