- Home /

# How to find inverse cos

Hello,

I need to find the inverse cos of -0.25. It's supposed to be 104.478 degrees. ( cos *-1* (-0.25) )

When I use Mathf.Acos it returns me different number.

Why is this happening?

**Answer** by meat5000
·
Aug 24, 2013 at 11:11 AM

http://docs.unity3d.com/Documentation/ScriptReference/Mathf.Acos.html

It works in Radians, where 2*pi = 360 degrees

If you need to use degrees use this in conjunction

Radians to degrees http://docs.unity3d.com/Documentation/ScriptReference/Mathf.Rad2Deg.html

Degrees to Radians http://docs.unity3d.com/Documentation/ScriptReference/Mathf.Deg2Rad.html

### Your answer

### Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.

### Follow this Question

### Related Questions

Mathf.Sin() & Mathf.Cos() 1 Answer

Clamp rotation of sprite? 0 Answers

Mahtf.inverselerp 3 Answers

Unity3d how to make cos 90 equal to 0? 1 Answer

radiusX and radiusY ? 1 Answer