ID:135998   Sep 22 2003, 2:11 am Can you guy's throw in tan() and arctan() to BYOND v4.0? I know that we can make do with cos() and sin(), but I really find this annoying since I write things out in my head and have to work around them when I put it on screen.
 #1 Sep 22 2003, 3:04 am Can you guy's throw in tan() and arctan() to BYOND v4.0? I know that we can make do with cos() and sin(), but I really find this annoying since I write things out in my head and have to work around them when I put it on screen. You can just search the forums :P. For arctan() There are already a few implementations in vairous posts. tan() is simple enough just cos()/sin().
 #2 Sep 22 2003, 3:16 am In response to Theodis (#1) Theodis wrote: You can just search the forums :P. For arctan() There are already a few implementations in vairous posts. tan() is simple enough just cos()/sin(). Yeah, I got a good arctan() from something Lummox JR posted, I also made my own tan(). It's still something that should be included.
 #3 Sep 26 2003, 8:31 am In response to Theodis (#1) Theodis wrote: Can you guy's throw in tan() and arctan() to BYOND v4.0? I know that we can make do with cos() and sin(), but I really find this annoying since I write things out in my head and have to work around them when I put it on screen. You can just search the forums :P. For arctan() There are already a few implementations in vairous posts. tan() is simple enough just cos()/sin(). Ahem--that's cotangent. Tangent is sin()/cos(). Lummox JR
 #4 Sep 26 2003, 11:46 am In response to Lummox JR (#3) You can just search the forums :P. For arctan() There are already a few implementations in vairous posts. tan() is simple enough just cos()/sin(). Ahem--that's cotangent. Tangent is sin()/cos(). Well, at least you cot() his slip.
 #5 Sep 26 2003, 12:57 pm In response to Spuzzum (#4) Spuzzum wrote: Well, at least you cot() his slip. Whoa, that's one of the worst trig puns I've ever seen. You should sec() help. Lummox JR
 #6 Oct 4 2003, 3:44 pm In response to Lummox JR (#5) tan = sine/cosine cotan = cosine/sine arcfunctions are easy, they're 1/function (or is that inverse, or are arc and inverse the same?) or it might be arcfunction = function ^ -1? hell i barely remember trig, but thats what reference tables are for. all that really matters is that you can form all of the trigonometric functions using the two provided and simple algebra.
 #7 Oct 4 2003, 9:45 pm In response to EzrahChan (#6) The arcfunction is the inverse, but neither is 1/function. csc(x) = 1/sin(x) sec(x) = 1/cos(x) cot(x) = 1/tan(x) = cos(x)/sin(x) Lummox JR
 #8 Oct 5 2003, 12:42 pm In response to Lummox JR (#7) Lummox JR wrote: The arcfunction is the inverse, but neither is 1/function. csc(x) = 1/sin(x) sec(x) = 1/cos(x) cot(x) = 1/tan(x) = cos(x)/sin(x) And, of course, people have to watch out for the cases where those functions become undefined.