LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cube Root

How do I take a cube root or any root larger than two? I cannot use the power function ie (x^(1/3). Thanks.
0 Kudos
Message 1 of 8
(7,386 Views)
The "Power of X" function is in Numeric>>Logarithmic
0 Kudos
Message 2 of 8
(7,386 Views)
> I cannot use the power function ie (x^(1/3).

Why not?

Les
0 Kudos
Message 3 of 8
(7,386 Views)
It tells me must have an integer value.
0 Kudos
Message 4 of 8
(7,386 Views)
Hi Jay,

maybe I didn't understand your problem, but I had no problems with roots.

Andreas
Message 5 of 8
(7,386 Views)
Hi,

Use y=x**(1/3); in a formula node, or x**(1/3) in an expresion node.

Regards,

Wiebe.

"Jay_Smasher@yahoo.com" wrote in message
news:50650000000800000041B40000-1068850981000@exchange.ni.com...
> How do I take a cube root or any root larger than two? I cannot use
> the power function ie (x^(1/3). Thanks.
0 Kudos
Message 6 of 8
(7,386 Views)
Jay_Smasher@yahoo.com wrote:
> How do I take a cube root or any root larger than two? I cannot use
> the power function ie (x^(1/3). Thanks.

Hi


You should try e^(1/3*ln(x))

Bye
0 Kudos
Message 7 of 8
(7,386 Views)
I see the problem. You are using the Expression Node. Look in the help for this:


^ bit exclusive or
** exponentiation

You are asking LabVIEW to do a bit "exclusive or" instead of exponentiation.

Les.Hammer@CompleteTest.com
0 Kudos
Message 8 of 8
(7,386 Views)