You can put this solution on YOUR website!
Relative maximums are the highest points of a section of a graph
Relative minimums are the lowest points of a section of a graph
function has local maximum and minimum where first derivative is equal to zero: