Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Return the max, min, and zeros of a function y, and plot it.

Language: Layout:
+ ] Show input
Absolute running time: 1.82 sec, cpu time: 1.63 sec, memory peak: 50 Mb, absolute service time: 1,83 sec 
edit mode |  history  | discussion
The max. of y is 23.43668 and occurs at index x = 172 
The min. of y is -23.43616 and occurs at index x = 354 
Searching for the zero points in vector y...
x.indexes 80 81 y.values -0.2015872 0.2015872 
x.indexes 263 264 y.values 0.0486528 -0.354513