algorithmic modeling for Rhino
I want to insert a one variable function component, that looks like this:
(√6/3)*x
But when I try to do this I get an error message:
Syntax error: Invalid expression: Unexpected symbol encountered (√)
Why I can not use squre root inside of a function?
In this case I can easily write the √6 as a constant 2.449489742783178
But what if sometimes I need a variable under the square root: √x?
Thanks.
Tags:
'Square root' is the same as 'power to the half' or as it would be run in a grasshopper function:
6^0.5
I assume that the symbol for square root is avoided as it's so specific to a single power.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by