In general, given a function g(x), a vertical stretch/compression is given by the transformation below
5.2m questions
6.7m answers