Newsgroups: comp.sys.hp48
From: bd628@torfree.net (Bill Markwick)
Subject: A List of Trig Identities
Message-ID: <EzFLL1.KAr.0.queen@torfree.net>
Organization: Toronto Free-Net
X-Newsreader: TIN [version 1.2 PL2]
Date: Thu, 17 Sep 1998 14:00:36 GMT
Lines: 59
Xref: republic.btigate.com comp.sys.hp48:16106

A while back I typed in a list of a few trig identities, formatted to a
maximum of 30 columns to suit TED on the HP48. Here it is for anyone who
might have a use for it. It's handy for times when the 48 balks at
symbolic integration.
 
The size on the 48 stack is 817 bytes. I cut it down to about 350 by
using BZ compression.
 
For readability, I've used "sin a" instead of the 48's "sin(a)" and
"sin^2 a" rather than the 48's "sin(a)^2".
 
 
%%HP: T(3)A(R)F(.);
"TRIG IDENTITIES
 
sin -a = -sin a
sin a = 1/csc a
sin^2 a + cos^2 a = 1
sin (a+b) = sin a cos b +
            cos a sin b
sin (a-b) = sin a cos b -
            cos a sin b
sin (\PI/2 - b) = cos b
sin 2a = 2 sin a cos a
sin a/2 = +/- \v/((1-cos a))/2
sin^2 a = (1-cos 2a)/2
 
cos -a = cos a
cos a = 1/sec a
cos 2a = cos^2 a - sin^2 a
       = 2 cos^2 a - 1
       = 1 - 2 sin^2 a
cos (\PI/2 - b) = sin b
cos (a + b) =
  cos a cos b - sin a sin b
cos (a - b) =
  cos a cos b + sin a sin b
cos 2a = cos^2 a - sin^2 a
cos a/2 = +/-\v/((1-cos a)/2)
cos^2 a = 1 - sin^2 a
        = 1 - (1-cos 2a)/2
 
tan a = 1/cot a
tan a = sin a / cos a
tan 2a = 2tan a / 1 - tan^2 a
1 + tan^2 a = sec^2 a
tan a/2 =  \v/((1-cos a)/(1+cos a))
tan (a + b) = (tan a + tan b)/
            (1-tan a * tan b)
 
cot a = cos a / sin a
cot a = 1/tan a
"
 

-- 
- Bill Markwick,  Toronto, Ontario, Canada  -  bd628@torfree.net
  Visit my Folk File, a large online dictionary of folk music terms:
          http://www.cgrg.ohio-state.edu/~spencer/FF/