Found code that fails grade 11 math: log base conversion.
Found code that fails grade 11 math: log base conversion.
Unless my headache is impacting my ability to manipulate log identities, this LOG10 code is plain wrong:
static double findLog(double value, FunctionType logFunction) { switch (logFunction) { case LN: return log(double(value)); case LOG10: return log(double(value)) / log(2.0); ... }
Perhaps it…
View On WordPress














