How to use pi in tcl
Altair Forum User
Altair Employee
Answers
-
hi,
i think just use it as ordinary varialbles similar to $mag, $angle
set pi=3.14
and get value by $pi
0 -
set pi [expr acos(-1.0)]
usage:
set y [expr $mag*sin($angle*2.0*$pi/360.0)]
0 -