algorithmic modeling for Rhino
I want to insert a one variable function component, that looks like this:
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?
'Square root' is the same as 'power to the half' or as it would be run in a grasshopper function:
I assume that the symbol for square root is avoided as it's so specific to a single power.
both methods worked.