Syntax for formulae


#1

Hey guys!

I’m relatively new here so I’m not entirely sure how this place works, I haven’t been able to find a solution to this so I’ll just go ahead and ask.

I’m trying to use a formula to drive the positions of some points, the formula is 16*(sin(t)^3). However the formula component doesn’t seem to understand what I’m asking for. (See screenshot)

What I want to obtain is the result of the cubed value of sine of the variable t. What is the correct syntax required to raise a value a power, or what am I doing wrong here? In the mean time I got my expected outcome by multiplying sin(t) by itself three times instead.

 

Thanks!!

Screenshot (1)


#2

16*Math.Pow(Math.Sin(t),3);

20150806-1