Pi Times: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<source" to "<syntaxhighlight") |
m (→Examples) |
||
Line 11: | Line 11: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
As a pun, <syntaxhighlight lang=apl inline>○1</syntaxhighlight> is often called ''apple pie'', jokingly using an unconventional pronunciation of [[the name APL]] in conjunction with the [[wikipedia:homophone|homophone]]s ''pi''/''pie''. | As a pun, <syntaxhighlight lang=apl inline>○1</syntaxhighlight> is often called ''apple pie'', jokingly using [[Humour#Apples|an unconventional pronunciation]] of [[the name APL]] in conjunction with the [[wikipedia:homophone|homophone]]s ''pi''/''pie''. | ||
== External links == | == External links == | ||
Latest revision as of 09:20, 9 January 2024
○
|
Pi Times (○
) is a monadic scalar function which gives the argument times the mathematical constant pi . Its glyph ○
, which is shared with the dyadic arithmetic function Circular, alludes to pi being the ratio of a circle's circumference to its diameter. The phrase "some value times " appears frequently in mathematical formulas related to a circle or trigonometric functions while raised to some power is rare, which explains the design decision behind this function.
Examples
The value of can be obtained by giving the argument of 1.
○1 3.141592654
As a pun, ○1
is often called apple pie, jokingly using an unconventional pronunciation of the name APL in conjunction with the homophones pi/pie.