Jump to content

arccos in VOPSOPs


Symbolic

Recommended Posts

Hi,

I have a final value at the end of my network in VOPSOPs and it is 0.468. I need to run x=arccos(0.468) in order to find the x as degrees. I know it is 62.1 degrees. Because I used python after my VOPSOP to calculate with some "math.arccos(0.468) - > degrees" stuff.

But how to do that in VOPSOP?

The "Trigonometrical Function" has an ARCCOS in it but the VOP accepts only radians? This might be stupid, but I could not do it?

Any ideas?

Thanks.

(P.S: I am trying to find the angle between two vectors and I know how to do it with the "normalise -> dot -> trigonometric function -> degrees" way, however I am trying another formula.)

Link to comment
Share on other sites

Hello Graham,

Thanks.

To actually use the "Trigonometric Functions" VOP, one needs to feed radians into it. But then obviously the result needs to be converted from radians to degrees. Which I was already doing in another branch... anyway it is working now, it was just some parameter export mistake I have made.

Cheers.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...