To shoot slow-mo with any camera, you need to shoot at a frame rate that's faster than the timeline frame rate, for example, if you shoot at 60fps and place it on a 24fps timeline, motion will be slowed by 2.5x
Speed ramping, where action gets faster and slower at various points in time, is simply done by shooting at a fast frame rate, and then by speeding the footage back up in the editor, making it "normal" speed. There are also some cameras that can perform speed ramping as you shoot.
Do remember the as you slow footage down in the editor, you are stretching frames over a longer period of time, so if you use slow-mo on footage that isn't a sufficiently high frame rate, you're going to get jitter and stop-motion like movement because there won't be enough frames to fill in. So to put it simply, the slowing factor is your shooting frame rate divided by your playback frame rate.