I was working on a simple little math project that is intended to help with exponential functions and stuff. I want to calculate a from f(x), x and c. So the Formula for that is pretty simple, it's just the x root of f(x) divided by c. But I can't find a way to take a specific nth root. I read something about Math.pow() and played around with it, but can't really get it working.
Those are my current lines of code:
if (fx != null && c != null && x != null) {
var a = <the part i need>
aoutp.innerHTML = "a = " + a;
}
Hope you understand what I need :)