LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cubic root of integer

Solved!
Go to solution

Hello, 

 

I am currently implementing some formulas and one requires the cube root of an integer, I have searched around and seen on other discussions that there is a way to do it through the
Arithmetic -> logarithmic palette but I do not have an option for logarithmic in my arithmetic palette.

 

Is there another way of cube rooting an integer or a way to fix the missing logarithmic option? 

 

I am using LabVIEW 2017 32-bit.

Thanks!    

0 Kudos
Message 1 of 5
(3,402 Views)
Solution
Accepted by kloch1234

Have you looked on the Mathematics Palette?  In addition to all of the Log and Exponential functions, there is a Power and a Root function.  The following returns the cube root pretty easily:

Cube root.png

Bob Schor 

 

0 Kudos
Message 2 of 5
(3,371 Views)

Thank you so much, I don't know how I didnt see that there before! 

0 Kudos
Message 3 of 5
(3,348 Views)

On a side note, the cube root of an integer is typically not an integer, so you need to go orange anyway. Not quire sure why you are even mention integer inputs.

 

Can you tell us a little bit more about the "formulas"?

0 Kudos
Message 4 of 5
(3,328 Views)

A more general suggestion is to use Quick Drop to find functions you you can't see them in the palettes.

Open the Block Diagram and press ctrl-spacebar to open the Quick Drop window, then search, for example, "root".

The fourth element in the result list is Y-th Root of X, which is the desired function. Select this function to drop it on the BD.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 5 of 5
(3,317 Views)