Role of a and b in y = ab^x

The purpose of this applet is to illustrate how the values of a and b affect the exponential function y = a b^x. Use it as follows:

  1. Use the scroll bar to change the values of a(between -10 and 10). The exponential function should change as a changes. The value of a to the left of the scroll bar should also be updated.
  2. Use the scroll bar to change the values of b(between 0.1 and 10). The exponential function should change as b changes. The value of b to the left of the scroll bar should also be updated.