Hi
I think, I would use 4 functions:
One for each line and then a sum function at the end to sum it all up.
power raises base to the power power. This is equivalent to exp(power*ln(base)). Therefore base should be non-negative.
The cubic square of 5 on the first one seems to be a little out of in left field using COS/ SINS ? I don't know where that is coming from unless it's something you plugged in ?
But this is what I would do
Power(X-7 , 1/5);
so basically an inverse to get Power to square instead.
its been years since I've been in school >:(
do mean because what happens if x is negative? You didn't read the docs, did you? ;D
Quote from: RTL - Reference for unit Math: Power
power raises base to the power power. This is equivalent to exp(power*ln(base)). Therefore base should be non-negative.
power correctly handled negative number at base, provided that are exponent is "integer" othherwise the sign rules are undefinied
[...]