Logarithmic and exponential equations
orange last edited by orange
How can we write logarithmic and exponential equations in setAttribute?
For logarithmic one, I have an equation like this:
-316,2*log(x) + 622,73
For exponential one, I have an equation like this:
405*x^3 + 200*x^2
For logaritmic I've tried these but they don't work. For exponentials I don't know how?
FXUnit.setAttribute(FXUnit.Gain, -316.2*log(value) + 622.73);
FXUnit.setAttribute(FXUnit.Gain, -316.2*ln(value) + 622.73);
Christoph Hart last edited by
The Math object has all calculus methods:
Math.log, Math.pow, etc.
orange last edited by
@Christoph-Hart Thank you so much!!