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