Post Reply 
Question for Trig Gurus
07-29-2022, 12:59 PM (This post was last modified: 07-30-2022 08:09 AM by Thomas Klemm.)
Post: #21
RE: Question for Trig Gurus
Bhaskara's Sine and Cosine Approximations gives a simple formula to approximate \(\cos^{-1}(x)\) in degrees:

\(\cos^{-1}(x) \approx 180 \sqrt{\frac{1 - x}{4 + x}}\)

Here is a table to compare the results with the expected values in parentheses:

0.00 90.00 (90.00)
0.05 87.18 (87.13)
0.10 84.33 (84.26)
0.15 81.46 (81.37)
0.20 78.56 (78.46)
0.25 75.62 (75.52)
0.30 72.63 (72.54)
0.35 69.58 (69.51)
0.40 66.47 (66.42)
0.45 63.28 (63.26)
0.50 60.00 (60.00)
0.55 56.61 (56.63)
0.60 53.08 (53.13)
0.65 49.38 (49.46)
0.70 45.48 (45.57)
0.75 41.29 (41.41)
0.80 36.74 (36.87)
0.85 31.66 (31.79)
0.90 25.71 (25.84)
0.95 18.09 (18.19)


For improved accuracy we can add a single Newton iteration:

\(\alpha{'} = \alpha + \frac{180}{\pi} \frac{\cos(\alpha) - x}{\sin(\alpha)}\)

This leads to this table with improved accuracy:

0.00 90.0000 (90.0000)
0.05 87.1340 (87.1340)
0.10 84.2608 (84.2608)
0.15 81.3731 (81.3731)
0.20 78.4631 (78.4630)
0.25 75.5225 (75.5225)
0.30 72.5424 (72.5424)
0.35 69.5127 (69.5127)
0.40 66.4218 (66.4218)
0.45 63.2563 (63.2563)
0.50 60.0000 (60.0000)
0.55 56.6330 (56.6330)
0.60 53.1301 (53.1301)
0.65 49.4584 (49.4584)
0.70 45.5731 (45.5730)
0.75 41.4098 (41.4096)
0.80 36.8701 (36.8699)
0.85 31.7886 (31.7883)
0.90 25.8422 (25.8419)
0.95 18.1952 (18.1949)


Example

x = 0.6

0.4
÷
4.6
=

×
180
=

53.079104

And then from this to get a better approximation:

cos
-
0.6
÷
53.079104
sin
×
180
÷
\(\pi\)
+
53.079104
=

53.130117 (53.130102)


However it's a bit tedious to reenter the intermediate result twice due to the lack of a storage register.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Question for Trig Gurus - Namir - 12-01-2014, 07:49 PM
RE: Question for Trig Gurus - toml_12953 - 12-01-2014, 08:08 PM
RE: Question for Trig Gurus - PANAMATIK - 12-01-2014, 08:46 PM
RE: Question for Trig Gurus - Namir - 12-01-2014, 10:54 PM
RE: Question for Trig Gurus - toml_12953 - 12-02-2014, 02:30 AM
RE: Question for Trig Gurus - Namir - 12-02-2014, 09:21 AM
RE: Question for Trig Gurus - Namir - 12-02-2014, 04:57 PM
RE: Question for Trig Gurus - Albert Chan - 07-29-2022, 03:19 PM
RE: Question for Trig Gurus - Mark Hardman - 12-01-2014, 11:00 PM
RE: Question for Trig Gurus - Thomas Klemm - 12-02-2014, 12:09 AM
RE: Question for Trig Gurus - Namir - 12-02-2014, 12:16 AM
RE: Question for Trig Gurus - Thomas Klemm - 12-02-2014, 01:12 AM
RE: Question for Trig Gurus - Namir - 12-02-2014, 01:50 AM
RE: Question for Trig Gurus - Namir - 12-02-2014, 01:49 AM
RE: Question for Trig Gurus - Namir - 12-05-2014, 02:48 AM
RE: Question for Trig Gurus - Namir - 12-09-2014, 02:19 PM
RE: Question for Trig Gurus - Thomas Klemm - 07-29-2022 12:59 PM
RE: Question for Trig Gurus - ttw - 07-29-2022, 10:19 PM
RE: Question for Trig Gurus - Thomas Klemm - 07-30-2022, 08:26 AM
RE: Question for Trig Gurus - Albert Chan - 07-30-2022, 06:27 PM
RE: Question for Trig Gurus - Thomas Klemm - 07-30-2022, 09:38 AM
RE: Question for Trig Gurus - Thomas Klemm - 07-31-2022, 11:08 AM
RE: Question for Trig Gurus - Albert Chan - 07-31-2022, 09:54 PM
RE: Question for Trig Gurus - Thomas Klemm - 08-01-2022, 05:19 AM
RE: Question for Trig Gurus - Albert Chan - 08-01-2022, 02:36 PM
RE: Question for Trig Gurus - Thomas Klemm - 08-02-2022, 06:35 AM
RE: Question for Trig Gurus - Albert Chan - 08-02-2022, 05:28 PM
RE: Question for Trig Gurus - Thomas Klemm - 08-03-2022, 04:42 PM



User(s) browsing this thread: 1 Guest(s)