Project 10: Graph of Logarithmic Functions
Project 10: Variable 'b' has been initialized. There are also working methods called log(a,b) and drawPoint(x,y) available.
b represents the base for the logarithmic graph we are graphing
Example: if b = 3, we are graphing log base 3 of x.
log(a, b) returns log base a of b.
Example: log(2, 8) = 3
drawPoint(2, 3) draws a point at coordinate (2,3) on the graph
Task: Implement the code below to graph the desired logarithmic function.
Universal Computational Math Methods:
pow(5,2) returns 25.0
abs(-3.0) returns 3
sqrt(49.0) returns 7.0
drawPoint(2, 3) draws a point at coordinate (2,3) on the graph