1 | initial version |
Wrap with (..).n() at the appropriate stage eg:
(vector([cos(rd(40)),sin(rd(40))])*60).n()
(45.9626665871387, 38.5672565811924)
or:
v=(vector([cos(rd(40)),sin(rd(40))])*60).n();v
(45.9626665871387, 38.5672565811924)
then:
v.norm()
60.0000000000000