Trig Functions

Hey,

So. I am writing and searching and refactoring code. specifically my "cos" function is not producing the correct values. the value for '0' is correct, however when I put '20' in for cos() the value produced looks like a tinder profile value age phone & zip. I've looked up many different equations that cosine might produce, none of them solve as the value shown in my console. any tips, or advice. I was hoping to just have to find radians or degrees, but so far not the case.

the value produced looks like a tinder profile value age phone & zip

That's funny but totally useless.

You'd better:

  • show the code
  • show the result you get
  • tell what you'd expect

That's a better way to get an answer here.

It’s possible you’re being hit by the problems discussed in this thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Trig Functions
 
 
Q