Post Reply 
Calculator test
Today, 06:10 PM (This post was last modified: Today 06:17 PM by Commie.)
Post: #99
RE: Calculator test
(Today 04:48 PM)Albert Chan Wrote:  2000/pi ≈ 636.619772 = 637 - 0.380228

We divide radians by pi, not (2*pi), so that reduced angle is within ±pi/2

sin(pi - x) = sin(x)

asin(sin(2000)) ≈ asin(sin(0.380228*pi)) ≈ asin(0.930040) ≈ 1.19452

637*pi - 1.19452 ≈ 2000.00000

cos(pi - x) = -cos(x)

acos(cos(2000)) ≈ acos(-cos(0.380228*pi)) ≈ acos(-0.367458) = pi - acos(0.367458) ≈ 1.94707

637*pi - (pi - 1.94707) = 637*pi - 1.19452 ≈ 2000.00000

Hi Albert,

First off, I was hoping Naddy or A1 or both could give the answer since they are both very smart guys, sigh...

I do it slightly differently to you, but first let me just mention that the sine algorithm which is either using cordics or poly's in both cases the ranges are limited, usually between -pi/2...pi/2.
So the calculator is reducing the 2000.x to get it in range for the Cordic or poly algorithm.

Assuming x is one then the sine(2000) gives 0.93 and the arcsine(0.93....) gives 1.19452.... but
sine(1.19452...) gives 0.93 now where has the 637*pi gone?
What does the calculator do with it?

I do it slightly different, 2000/(2.pi)=318.3098862, now remove 318 to leave 0.3098862
Then 0.3098862*2.pi=1.947072317 which then goes to the sine poly to yield
sine(2000)=0.9300395044.This commonly known in the trade as removing the sine circles.
Now, I started with 2000 right?, what does the calculator do with the excess sine circles? On any calculator for that matter, because evidently there is a big difference between sine(2000) and sine(1.947072317)? My sine algorithm is limited to just -pi...pi.?

Cheers
Darren

TI89T,TI83+,TI84+,TI84+SE,TI84+C,TI84+CE, TI30X-MP,HP50g,HP45,HP15CE,HP35s,Casio cg50,Casio 991cw
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Calculator test - Commie - 12-06-2024, 10:27 PM
RE: Calculator test - Steve Simpkin - 12-06-2024, 11:19 PM
RE: Calculator test - Johnh - 12-06-2024, 11:20 PM
RE: Calculator test - Commie - 12-07-2024, 10:32 AM
RE: Calculator test - naddy - 12-06-2024, 11:31 PM
RE: Calculator test - Thomas Klemm - 12-07-2024, 03:33 AM
RE: Calculator test - rprosperi - 12-07-2024, 03:34 AM
RE: Calculator test - naddy - 12-07-2024, 08:11 PM
RE: Calculator test - StephenG1CMZ - 12-07-2024, 08:49 AM
RE: Calculator test - rprosperi - 12-07-2024, 01:14 PM
RE: Calculator test - Idnarn - 12-07-2024, 09:47 AM
RE: Calculator test - AnnoyedOne - 12-07-2024, 01:22 PM
RE: Calculator test - Johnh - 12-07-2024, 07:17 PM
RE: Calculator test - AnnoyedOne - 12-07-2024, 07:23 PM
RE: Calculator test - Geoff Quickfall - 12-07-2024, 07:50 PM
RE: Calculator test - JurgenRo - 12-07-2024, 08:12 PM
RE: Calculator test - Steve Simpkin - 12-07-2024, 08:23 PM
RE: Calculator test - Geoff Quickfall - 12-07-2024, 08:20 PM
RE: Calculator test - Commie - 12-07-2024, 08:23 PM
RE: Calculator test - C.Ret - 12-08-2024, 07:36 AM
RE: Calculator test - naddy - 12-08-2024, 06:55 PM
RE: Calculator test - Thomas Klemm - 12-08-2024, 09:30 AM
RE: Calculator test - AnnoyedOne - 12-08-2024, 01:20 PM
RE: Calculator test - Commie - 12-08-2024, 02:06 PM
RE: Calculator test - carey - 12-08-2024, 03:15 PM
RE: Calculator test - Commie - 12-08-2024, 05:34 PM
RE: Calculator test - carey - 12-08-2024, 08:38 PM
RE: Calculator test - Commie - 12-08-2024, 08:52 PM
RE: Calculator test - Idnarn - Today, 04:16 PM
RE: Calculator test - AnnoyedOne - 12-08-2024, 04:04 PM
RE: Calculator test - naddy - 12-08-2024, 06:37 PM
RE: Calculator test - AnnoyedOne - 12-08-2024, 07:02 PM
RE: Calculator test - dm319 - 12-08-2024, 08:13 PM
RE: Calculator test - AnnoyedOne - 12-09-2024, 12:30 PM
RE: Calculator test - Maximilian Hohmann - 12-09-2024, 01:03 PM
RE: Calculator test - vaklaff - 12-10-2024, 09:42 AM
RE: Calculator test - RPNerd - 12-10-2024, 10:47 AM
RE: Calculator test - carey - 12-10-2024, 10:53 AM
RE: Calculator test - naddy - 12-10-2024, 12:44 PM
RE: Calculator test - John Keith - 12-10-2024, 04:26 PM
RE: Calculator test - carey - 12-10-2024, 05:22 PM
RE: Calculator test - Steve Simpkin - 12-08-2024, 05:36 PM
RE: Calculator test - dm319 - 12-08-2024, 02:05 PM
RE: Calculator test - Thomas Klemm - 12-08-2024, 02:51 PM
RE: Calculator test - AnnoyedOne - 12-08-2024, 03:34 PM
RE: Calculator test - dm319 - 12-08-2024, 05:33 PM
RE: Calculator test - AnnoyedOne - 12-08-2024, 05:39 PM
RE: Calculator test - dm319 - 12-08-2024, 06:04 PM
RE: Calculator test - John Keith - 12-08-2024, 06:48 PM
RE: Calculator test - Thomas Klemm - 12-08-2024, 04:01 PM
RE: Calculator test - Thomas Klemm - 12-08-2024, 04:17 PM
RE: Calculator test - Thomas Klemm - 12-08-2024, 06:31 PM
RE: Calculator test - Commie - 12-08-2024, 07:35 PM
RE: Calculator test - dm319 - 12-09-2024, 11:44 PM
RE: Calculator test - naddy - 12-10-2024, 12:34 AM
RE: Calculator test - AnnoyedOne - 12-10-2024, 01:32 PM
RE: Calculator test - Commie - 12-10-2024, 02:49 PM
RE: Calculator test - AnnoyedOne - 12-10-2024, 03:59 PM
RE: Calculator test - carey - 12-10-2024, 06:12 PM
RE: Calculator test - Commie - 12-10-2024, 07:25 PM
RE: Calculator test - Thomas Klemm - 12-08-2024, 08:01 PM
RE: Calculator test - Johnh - 12-08-2024, 08:02 PM
RE: Calculator test - Thomas Klemm - 12-08-2024, 08:18 PM
RE: Calculator test - dm319 - 12-08-2024, 08:26 PM
RE: Calculator test - Idnarn - 12-10-2024, 05:34 AM
RE: Calculator test - Gil - 12-08-2024, 11:38 PM
RE: Calculator test - Thomas Klemm - 12-08-2024, 11:46 PM
RE: Calculator test - gentzel - 12-09-2024, 06:27 PM
RE: Calculator test - Johnh - 12-10-2024, 12:28 PM
RE: Calculator test - AnnoyedOne - 12-10-2024, 01:45 PM
RE: Calculator test - Commie - 12-10-2024, 05:44 PM
RE: Calculator test - Idnarn - 12-10-2024, 06:49 PM
RE: Calculator test - Commie - 12-10-2024, 07:18 PM
RE: Calculator test - dm319 - 12-10-2024, 10:26 PM
RE: Calculator test - AnnoyedOne - Yesterday, 01:37 PM
RE: Calculator test - Maximilian Hohmann - Yesterday, 02:04 PM
RE: Calculator test - AnnoyedOne - Yesterday, 02:12 PM
RE: Calculator test - Maximilian Hohmann - Yesterday, 02:28 PM
RE: Calculator test - AnnoyedOne - Yesterday, 03:27 PM
RE: Calculator test - dm319 - Yesterday, 06:35 PM
RE: Calculator test - dm319 - 12-10-2024, 10:58 PM
RE: Calculator test - Commie - 12-10-2024, 11:52 PM
RE: Calculator test - naddy - Yesterday, 12:05 AM
RE: Calculator test - Thomas Klemm - Yesterday, 02:16 AM
RE: Calculator test - Johnh - Yesterday, 04:43 AM
RE: Calculator test - Commie - Yesterday, 01:56 PM
RE: Calculator test - Albert Chan - Today, 01:35 PM
RE: Calculator test - Commie - Yesterday, 06:19 PM
RE: Calculator test - Idnarn - Yesterday, 08:12 PM
RE: Calculator test - Commie - Yesterday, 09:22 PM
RE: Calculator test - naddy - Yesterday, 11:14 PM
RE: Calculator test - AnnoyedOne - Today, 01:49 PM
RE: Calculator test - Albert Chan - Today, 02:29 PM
RE: Calculator test - Commie - Today, 08:44 PM
RE: Calculator test - klesl - Yesterday, 06:25 PM
RE: Calculator test - AnnoyedOne - Yesterday, 06:29 PM
RE: Calculator test - cdmackay - Yesterday, 07:03 PM
RE: Calculator test - Commie - Today, 03:21 PM
RE: Calculator test - Albert Chan - Today, 04:48 PM
RE: Calculator test - Commie - Today 06:10 PM
RE: Calculator test - AnnoyedOne - Today, 06:22 PM



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