How to find the curve's peak and trough point?

@1850292957 can you explain briefly what your further intent is? also add grasshopper as a tag in your topic i am sure you will find more help then.

what i found in a quick search on google: