How might I override the value of the Greek letter PI within various builtin language functions in the Wolfram language? Specifically and without having to reinvent the wheel or code equivalent functions from complete scratch, I wish to replace with more useful and even perhaps more accurate values the well-worn and overworked value of 3.14159... that is used in various Fourrier transforms and other, sundry functions.
Why you might ask. Why not would then be my reply. Working with the same figures as other historic peoples knew might cast off some of the ignorance from our contemporary perspectives and fragmented understandings. Oh, and then there is the spectacular and infamous contender and rival to proper entitlement as these number-letter things go: 3.1446055.
I might draft a workbook to illustrate the importance to musicology and music of being able to use divergent values of PI. Yet in truth, many fields of research and study, industry, and even contemporary culture use PI in innumerable calculations ever day. All stand to potentially gain from alternate PI values.
F.
Pi
is exactly $\pi$.SetAccuracy[Pi, d]
will gived
digits of $\pi$. Which functions do not use the exact value ofPi
, subject to, of course, Mathematica's normal rules of precision propagation (e.g.1. * Pi
and1.`100 * Pi
? $\endgroup$\[DoubledPi]
, which has no built-in meanings? Unicode F749. $\endgroup$Block
may be of utility, though no assurances it will cover the bases, e.g.Block[{Pi = 10}, Area[Disk[{0, 0}, 2]]]
would return 40 vs the expected 4 Pi $\endgroup$