Modellere sinusfunksjon, topp- og bunnpunkt