Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!umich!sharkey!applga!dsmith From: dsmith@applga.aa.cad.slb.com (J. Daniel Smith) Newsgroups: comp.text.tex Subject: Sine and/or Cosine in TeX Message-ID: <1990Oct12.143636.25572@applga.aa.cad.slb.com> Date: 12 Oct 90 14:36:36 GMT Sender: dsmith@applga.aa.cad.slb.com (J. Daniel Smith) Organization: Schlumberger CAD/CAM ; Ann Arbor, MI Lines: 17 Has anybody put together sine and/or cosine function in TeX? I'm not looking for anything fancy; integer degree values are enough. My guess is that the best way would be a table lookup with 91 different values, storing something like $1000 \sin\theta$ for $0 \le \theta \le 90$. (Although, one could try something like the Taylor expansion for sine, I sure don't want to program $\theta^x \over x!$ in TeX!) I was going to try doing this myself, but thought I'd see if it had already been done before. Thanks, Dan -- ========================================================================= J. Daniel Smith Internet: dsmith@applga.aa.cad.slb.com Schlumberger CAD/CAM BITNET: smithdan@msuegr Ann Arbor, Michigan Usenet: uunet!sharkey!applga!dsmith