Jump to content
• Advertisement

# Is cos (90) defined

This topic is 1215 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

## Recommended Posts

The calculator on my computer always solves for the radian of  sin and cos. What I need to do is to solve for degrees. I managed to get over this problem with sin but not with cos.

I tried a few experiments by solving for the cos (180 * pi/180) and got the results I was expecting but not with cos (90). I know my calculator probably isn't at fault here so I ask this, is cos(90) define and where else  might cos not be defined at? Also is sin ever undefined?

#### Share this post

##### Share on other sites
Advertisement

cos(90 degrees) = 0

#### Share this post

##### Share on other sites
Sine and cosine are always defined, because their domain is unbounded and there are no discontinuities.
However, because their range is only between -1 and 1 their inverse functions are only defined from -pi to pi.

Additionally, to convert to radians or degrees, you multiply or divide (respectively) the magical constant pi/180. Edited by fastcall22

#### Share this post

##### Share on other sites

Sine and cosine are never not undefined

Double negative? :)

#### Share this post

##### Share on other sites

(never not) undefined => always undefined

never (not undefined) => never defined

hmmm...

#### Share this post

##### Share on other sites

(never not) undefined => always undefined

never (not undefined) => never defined

hmmm...

always undefined and never defined are pretty much the same thing...

#### Share this post

##### Share on other sites

(never not) undefined => always undefined

never (not undefined) => never defined

hmmm...

always undefined and never defined are pretty much the same thing...

Which was my point. No matter how you look at it, it's the opposite of what he meant to say. He's fixed it now, so it's a moot point anyway.

#### Share this post

##### Share on other sites

• Advertisement
• Advertisement

• ### Popular Contributors

1. 1
2. 2
Rutin
16
3. 3
4. 4
5. 5
• Advertisement

• 13
• 26
• 10
• 11
• 9
• ### Forum Statistics

• Total Topics
633722
• Total Posts
3013549
×

## Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!