Quick question about the pi button

19 views
Skip to first unread message

Ryan Tebble

unread,
Aug 10, 2021, 12:10:06 AMAug 10
to tins...@googlegroups.com
Can someone explain to me how an approximate value for pi is stored within a calculator memory, or is the value calculated upon pressing the pi button?

I know finding the volume of the unit circle, is one way to find the digits of pi, but I'm curious on exactly how the calculator does it. Is it a stand alone function, or a stored value?

I assume for non CAS it would be stored, but for the CAS it potentially  could be a stand alone function. Anyone know? 

Ryan Tebble

unread,
Aug 10, 2021, 12:12:49 AMAug 10
to tins...@googlegroups.com
Volume... I mean area. 

John Hanna

unread,
Aug 10, 2021, 5:28:20 AMAug 10
to tins...@googlegroups.com

I’m not a developer, just a programmer. I believe pi and e are just stored as constants, not calculated.

 

But trig functions are calculated. See CORDIC algorithm: CORDIC - Wikipedia

 

 

Be Excellent,

     John Hanna

--
--
To post to this group, send email to tins...@googlegroups.com
To unsubscribe send email to tinspire+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
The tns documents shared by group members are archived at
https://sites.google.com/site/tinspiregroup/classroom-news/welcome-abouttime

---
You received this message because you are subscribed to the Google Groups "tinspire" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tinspire+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tinspire/CAAc5kWVZ570uYAwyQD8_QzObrD3ojCpH40EtYEQ3MhDz72KSjw%40mail.gmail.com.

Ryan Tebble

unread,
Aug 10, 2021, 6:46:46 AMAug 10
to tins...@googlegroups.com
Thanks, was thinking of an idea for an assignment, calculating a certain number of digitis of pi, by integrating 0 to 1 of a quarter circle, or 0 to 1/2, etc. I know that would work, along with other iteration methods. But was curious, whether constants were stored or calculated. 



John Hanna

unread,
Aug 10, 2021, 8:48:44 PMAug 10
to tins...@googlegroups.com

Actually, calculating area of a circle or even a numeric sequence is still limited to 14 dp accuracy. There are other algorithms that can produce the digits of pi rather than an approximation for pi.

Cristián Espinoza

unread,
Aug 10, 2021, 10:01:18 PMAug 10
to tins...@googlegroups.com
could it be an answer?


Best regards

C.

Amicus Plato sed magis amica veritas.

Reply all
Reply to author
Forward
0 new messages