Project 28: Graph Exponentials

Project 28: Your program has the following variables initialized (xMin, xMax, yMin, yMax, a, b).   There is also a working method available called drawPoint.

xMin is the lowest x-value on the graph (-10 in the example above)

xMax is the highest x-value on the graph (4 in the example above)

yMin is the lowest y-value on the graph (-1 in the example above)

yMax is the highest y-value on the graph (6.25in the example above)

a is the coefficient of the exponential equation (1.5 in the example above)

b is the base of the exponential equation (2 in the example above)

drawPoint(2,3) draws a point at coordinate (2,3) on the graph.

Task: Implement code to correctly draw the exponential with coefficients a, b that represent the equation below.

**If your code works for 5 test cases, you can enter your e-mail address

Universal Computational Math Methods:

pow(5,2) returns 25.0

abs(-3.0) returns 3

sqrt(49.0) returns 7.0