Post Reply 
Trig algorithms on HP RPN?
12-01-2024, 07:47 PM
Post: #8
RE: Trig algorithms on HP RPN?
Your program illustrates my point very nicely: Run program B in DEG mode to use program A to calculate \(\tan(x)\) in degrees.

But then we end up with constants like these:

45.00000000
5.710593137
0.572938698
0.057295760
0.005729578
0.000572958


And ROM was a scarce resource.



(12-01-2024 05:17 PM)Gerson W. Barbosa Wrote:  I cannot find a reference to the original TI program this one is based upon.

Initially I considered the HP-15C for this article: Exploring the CORDIC algorithm with the WP-34S
But I'm not sure if that would have worked as well because you can't store complex numbers in registers.
And the WP-34C provides INC and decimal shift which turned out to be useful.

But you can still follow the example on the HP-15C manually:

1 ENTER 0.1 I
ENTER
ENTER
3 ENTER 4 I

3.000000000

×

2.600000000

×

2.170000000

×

1.714000000

×

1.236300000

×

0.741460000

×

0.234257000

×

-0.280360600
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Trig algorithms on HP RPN? - MinkLib - 11-30-2024, 01:39 PM
RE: Trig algorithms on HP RPN? - Idnarn - 11-30-2024, 02:09 PM
RE: Trig algorithms on HP RPN? - naddy - 11-30-2024, 03:15 PM
RE: Trig algorithms on HP RPN? - Thomas Klemm - 12-01-2024 07:47 PM



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