• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

my math skills are really lacking right now ...

purbeast0

No Lifer
I don't know why I can't remember this, and I can't seem to find the damn answer on google for this type of equation ... but what the hell is X here?

.9 = cos(x)

maybe my google skills are lacking too?
 
Originally posted by: 3NF
Degrees or Radians? Use the calculator on your PC

X is in radians.

and I am using this math for a program I'm writing, can't just use my PC calculator 😛
 
Originally posted by: newb111
Originally posted by: purbeast0
Originally posted by: newb111
x=cos^-1(.9)

or 25.8419 degrees
or .45103 radians

lol ... great, how the hell do you do that in code?

that's not what you asked 🙂

What language are you coding in?

I'm doing it in C++. I know there is a cos function, but I don't know how the hell to make it to the ^1 then multiply it by .9
 
Originally posted by: purbeast0
Originally posted by: newb111
Originally posted by: purbeast0
Originally posted by: newb111
x=cos^-1(.9)

or 25.8419 degrees
or .45103 radians

lol ... great, how the hell do you do that in code?

that's not what you asked 🙂

What language are you coding in?

I'm doing it in C++. I know there is a cos function, but I don't know how the hell to make it to the ^1 then multiply it by .9

RTFM

http://www.opengroup.org/onlinepubs/7990989799/xsh/math.h.html
 
Originally posted by: tfinch2
Originally posted by: purbeast0
Originally posted by: newb111
Originally posted by: purbeast0
Originally posted by: newb111
x=cos^-1(.9)

or 25.8419 degrees
or .45103 radians

lol ... great, how the hell do you do that in code?

that's not what you asked 🙂

What language are you coding in?

I'm doing it in C++. I know there is a cos function, but I don't know how the hell to make it to the ^1 then multiply it by .9

RTFM

http://www.opengroup.org/onlinepubs/7990989799/xsh/math.h.html

ouch ... lol thanks.
 
Back
Top