ASmith
(Amber Smith)
1
Not sure where to post potential bug reports?
If you define a negative value in the graph and call it using these two variations:
both of these should return the same function y=b^x.
Example: if b = -2 it appears g(x) is being calculated as -1*(2^x)
*This is a cross-post after noticing the bug in this convo:
JayChow
(Jay Chow)
2
Thats definitely a good catch but not a bug!
interpolating with ${} take the numeric value of -2 and converts it into text then constructs the function using that text.
Your function g when b=-1 actually reads simpleFunction("-1^x")
instead of a function b^x that evaluates at a numeric value of -1 for b.