» Goto page Previous  1, 2, 3, 4, 5  Next

Tau VS Pi
Pi  44%  [ 17 ]
Tau  23%  [ 9 ]
Both  26%  [ 10 ]
Neither  2%  [ 1 ]
Other, please post.  2%  [ 1 ]

ReGuess wrote:
I'm gonna just link this here and let y'all decide for yourselves: https://en.wikipedia.org/wiki/Particular_values_of_the_Gamma_function

The gamma function is defined as this integral:
[img]https://wikimedia.org/api/rest_v1/media/math/render/svg/d40bd2656c5d261718de71dc3c623e3669bcc480[/img]
I can rebut the Gamma of 1/2 being sqrt(pi) argument.

You are able to reduce it to the area under the normal distribution, which we can figure out by squaring and rewriting in polar coordinates, which results in a factor of 2pi. The integration then cancels to leave a bare pi, which, again, is a coincidence.

Source: http://planetmath.org/node/37065
And this is why I don't use τ:
commandblockguy wrote:
And this is why I don't use τ:

And I'm hoping to change this
commandblockguy wrote:
And this is why I don't use τ:

HOW?!?!?!?!??!? (did you get the char) That's awesome!

Just take the cakeiPhoenixJust take the cake now has 300 posts!

EDIT:
Also, if there's a war, I call Sweden or Switzerland. Preferably Switzerland. No offense, Swedes!
Quote:
HOW?!?!?!?!??!? (did you get the char) That's awesome!

The token for Tau already exists on the calculator at 0xCC
I used TI Connect(TM) CE to make this program, using Char/Greek to find the τ symbol:

Code:
"τ"→Str1

Then I used

Code:
Rcl Str1
after running that program to put it on my homescreen
commandblockguy wrote:
Quote:
HOW?!?!?!?!??!? (did you get the char) That's awesome!

The token for Tau already exists on the calculator at 0xCC
I used TI Connect(TM) CE to make this program, using Char/Greek to find the τ symbol:

Code:
"τ"→Str1

Then I used

Code:
Rcl Str1
after running that program to put it on my homescreen

Oh yeah. In (most of) my programs, I have a string with a bunch of chars you cannot get normally, and store it in str2. I then use sub() as necessary.

EDIT:

BREAKING NEWS MATEO CALLED PEOPLE WHO USE TAU "in need of higher math"
MateoC wrote:
12:07:38 AM [#] [MateoC] People who say tau need more higher math

But that's not the worst of it! Jacobly then gave him karma! But who cares?! Not me....

EDIT EDIT:
SAX wrote:

Code:
12:11:28 AM [#] [MateoC] I think that we should just use C
12:11:32 AM [#] [MateoC] There's M_PI
12:11:35 AM [#] [dTal] jacobly: so you disagree with the use of nonlethal weapons
12:11:36 AM [prgmTrouble] I don't degree
12:11:41 AM [#] [MateoC] But no M_TAU
12:12:01 AM [#] [jacobly] I wouldn't say lethal weapons are easier, but that's just me
12:12:13 AM [_iPhoenix_] I vote lethal weapons. JUST FREAKING SETTLE THE ISSUE!
12:12:30 AM [#] [jacobly] #define M_TAU (M_PI/2)
12:12:51 AM [#] [jacobly] / because that's how I'm defining it
12:13:11 AM [#] [MateoC] Haha jacobly++
12:13:19 AM [prgmTrouble] #define M_TAU (2M_PI)
12:13:27 AM [#] [jacobly] SYNTAX ERROR
12:13:43 AM [#] [MateoC] ERR: Internal error 3214324
12:14:01 AM [#] [MateoC] That's about as good as ZDS does
12:14:10 AM [#] [dTal] I don't think that'll work, won't the macro expand to 23.14159...
12:14:18 AM [#] [jacobly] no
12:14:22 AM ***prgmTrouble <
12:14:24 AM [#] [jacobly] it is a syntax erro
12:14:25 AM [#] [jacobly] r
12:14:49 AM ***prgmTrouble <--
12:14:37 AM [#] [jacobly] because 2M_PI is not a valid number
12:14:52 AM [#] [jacobly] and M_PI2 would be undefined
12:15:04 AM [prgmTrouble] mah name
12:15:17 AM [#] [MateoC] Good thing M_2PI is sometimes defined
12:15:31 AM [prgmTrouble] its a conspiracy
12:15:56 AM [prgmTrouble] it's
12:16:23 AM [#] [dTal] my reaction on learning about Tau was "how could I, and especially the people around me, have been so stupid"
12:16:47 AM [#] [dTal] I am baffled by the pi-defenders
12:16:56 AM [prgmTrouble] I blame the government
12:17:42 AM [prgmTrouble] the government put dihydrogen monoxide in our water
<snip> (Mateo believes Diameter is easier to measure then Radius, then
dTal talks nerd stuff, which gets Mateo (and everyone else) confused)
12:19:32 AM [prgmTrouble] use DEG
12:19:57 AM [#] [Ivoah] Use Tai
12:20:14 AM [prgmTrouble] use calculator
*more nerd stuff from dTal
*nerd arguing
12:23:09 AM [#] [MateoC] Let's just go do something productive like fix Mateo's scaling routine
12:23:11 AM [#] *MateoC hides
12:23:32 AM [#] [Ivoah] Or solve integrals
12:23:44 AM [prgmTrouble] or use degrees
*nerd stuff from jacobly
12:24:47 AM [#] [MateoC] Have fun drawing your unit circle in terms of tau :P
12:25:19 AM [prgmTrouble] just do double the existing fraction
12:25:31 AM [ReGuess] prgmTrouble, if you like degrees so much, tell me, what's the formula for the length of an arc of a circle with radius r through an angle theta
12:25:32 AM [#] [dTal] MateoC: I don't see the problem
12:26:05 AM [#] [jacobly] even better with degrees, what d/dx sin(x) where is is degrees :P
12:26:10 AM [#] [jacobly] *x
*dTal talking about integrals of [zZz]
12:28:24 AM [_iPhoenix_] Awkward Silence :)
12:29:16 AM [_iPhoenix_] did dTal explode everyone's brains?
12:29:17 AM [prgmTrouble] reguess: 2pi*r*theta/360
12:29:47 AM [_iPhoenix_] lel pi in degrees
12:30:01 AM [ReGuess] correct.
12:30:19 AM [_iPhoenix_] prgmTrouble had to ReGuess
12:30:21 AM [prgmTrouble] using pi as a ratio -_-
12:30:42 AM [_iPhoenix_] ik
*ReGuess gives me karma
*nikkybot fangirling over tswilliamson for no reason
12:31:56 AM [ReGuess] I'm working on the derivative. Let u = tau*x/360. d/dx sin(360*u/tau) = cos(360*u/tau)du/dx =...
*Nerd ^^
12:32:50 AM [ReGuess] (tau/360)cosx
*Much nerd ^^
12:33:39 AM [prgmTrouble] pi/180*cosx
12:33:48 AM [prgmTrouble] if x is in degrees
*he's all about degrees, 'bout degrees, prgmTrouble
*updated the post*
12:34:07 AM [ReGuess] lol _iPhoenix_++
12:34:10 AM [#] [jacobly] heh, that work was wrong but the answer was right...
12:34:11 AM [_iPhoenix_] :)
12:34:16 AM [ReGuess] I wear that label with pride
12:34:59 AM [#] [Pieman] I love it when i get the answer right with the wrong work! :P
12:35:21 AM [ReGuess] is it wrong because of my choice of fundamental constant? or was my work actually wrong?
12:36:18 AM [#] [jacobly] well the last step doesn't follow, so something earlier was wrong if you got the right answer
12:36:40 AM [#] [jacobly] maybe?
12:37:37 AM [prgmTrouble] hmmm
*extreme nerdism happening
12:37:47 AM [ReGuess] cos(360*u/tau)du/dx = cos(360*u/tau)(tau/360) = (tau/360)cos(x)
12:38:11 AM [ReGuess] chain rule
*minds go boom
12:38:24 AM [#] [jacobly] I'm just confused because you substituted for x
12:38:35 AM [#] [Pieman] @#\$% it! I just remembered that I have a huge-ass calculus test tomorrow...
12:38:41 AM [#] [Pieman] Rip
12:38:48 AM [#] *Pieman dies
12:38:51 AM [ReGuess] oh. me too.
*ReGuess, you'll ace it...
12:39:04 AM [prgmTrouble] I only have a quiz
*so do I
12:39:43 AM [prgmTrouble] on F\$%^ trig integrals with u substitutions and damn log rule
12:40:03 AM ***prgmTrouble rage quits life
*but then you won't be there for your quiz
12:40:07 AM [ReGuess] Yeah, you need to study
12:40:27 AM [ReGuess] if the chat logs are any measure.
*I'm keeping the log(chat
12:40:28 AM [#] *Pieman hands prgmTrouble a table to flip
12:40:55 AM [_iPhoenix_] ~flip
12:40:56 AM [#] [DoorsCS] （╯°□°）╯︵ ┻━┻
12:41:17 AM [prgmTrouble] lol
*ReGuess goes to bed
12:41:49 AM [Cemetech] _iPhoenix_ edited a post in [Tau vs Pi]
12:43:49 AM [_iPhoenix_] :)
12:43:59 AM [_iPhoenix_] I kept the log(chat
12:44:09 AM [prgmTrouble] priceless
*prgmTrouble talks about how number theory, asks how can we count with certainty anymore, and becomes a George Orwell-citing conspiracy theorist.
12:47:49 AM [prgmTrouble] there's a glitch in the matrix. the world isn't real
12:48:24 AM [prgmTrouble] "2+2=5" -George Orwell
12:49:08 AM [prgmTrouble] Big Bang (Theory)
12:49:20 AM [#] [MateoC] Evolution is just a theory
*Mateo, look at 2/3 of my programs in the archives
12:49:30 AM [prgmTrouble] #ItsOnlyATheory
12:49:57 AM [#] [Pieman] C is just a theory
12:50:01 AM [#] *Pieman hides
*burn mateo
*I roast prgmTrouble for using the word 'triggered' offensively. He promptly runs to the bomb shelter.
12:51:43 AM [prgmTrouble] people are only theories
12:52:11 AM ***_iPhoenix_ has to gtg
*<snip> I'm back
*prgmTrouble acts like a jerk (jk)
*I tell him to stop, Ivoah asks me why?
*Alex (comic) tells people to stop, everyone listens
12:58:08 AM ***prgmTrouble waits for a "[Cemetech] _iPhoenix_ added a post in [Tau vs Pi]" to happen with an annotation
12:58:31 AM [_iPhoenix_] Sure
*an annotation

Lines starting in "*" mean my annotations. I was half asleep, ok?!
chat transcript as text
_iPhoenix_ wrote:
EDIT EDIT:

Quotes and code tags do not add to your word count. If I recall correctly, post edits do not affect your word count either. My source on that is when I delete a spam post, the account has 0 posts but 46 words or whatever the word count was.
Alex wrote:
_iPhoenix_ wrote:
EDIT EDIT:

Quotes and code tags do not add to your word count. If I recall correctly, post edits do not affect your word count either. My source on that is when I delete a spam post, the account has 0 posts but 46 words or whatever the word count was.

Good! Thanks! I just don't want to take credit for words that aren't mine.
Tau when you want to say 2*pi.
Pi when you want to say tau/2.

Just use them interchangably when you want to get rid of a /2 or a *2. Problem solved.
Nah. There can ONLY BE ONE!!

jk lol.

P.S: Use degrees
juju2143 wrote:
Tau when you want to say 2*pi.
Pi when you want to say tau/2.

Just use them interchangably when you want to get rid of a /2 or a *2. Problem solved.

♬ That's what I've been saying ♪

prgmTrouble wrote:
P.S: Use degrees

♪He's all about degrees, 'bout degrees, prgmTrouble. I should probably remix that....♬

I will be explaining the progress of the 'tau integration' as I would like to call it.

After much pressure by JWinslow,srsly browork has started.

Basically, Mateo determined it was possible, and PT_ joined him (as in they were both doing it indepentantly) tried to come up with ways to make it happen.

The basic idea is evolving to this: find a way to make a tau char appear (for visuals) when you press the [π] button (instead of π), and either make pi evaluate to tau (2pi) or create a new token for it altogether.

If you have any ideas please post them.

I am still impartial, just posting as a "news" story.

The name of this image is 2pi.gif. Enjoy
Nice

Good job! and source code?

The name of the gif is tau.gif. Enjoy
PT_ wrote:

The name of the gif is tau.gif. Enjoy

pretty neat
Okay, here we go!

http://www.filedropper.com/tau_1

Code:
#include "ti84pce.inc"

#macro relocate(new_location)
#ifdef old_location
.echo __file,":",__line,": Error: You cannot nest relocated blocks."
#else
#define old_location eval(\$)
.org new_location
#define g_location eval(new_location)
#endif
#endmacro

#macro endrelocate()
#ifdef g_location
.org \$-g_location + old_location
#undefine g_location
#undefine old_location
#else
.echo "Error line ",__line,": No relocate statements corresponds to this endrelocate."
#endif
#endmacro

.org \$d1a87f
.db \$ef,\$7b

ld   de,saveSScreen+20000
ld   hl,s_routine
ld   bc,e_routine-s_routine
ldir
ld   hl,tokenhook
call   _SetTokenHook
ld   hl,parserhook
call   _SetParserHook
ret

s_routine:
relocate(saveSScreen+20000)
tokenhook:
.db   \$83
push   hl
ld   hl,\$204
or   a,a
sbc   hl,de
pop   hl
ret   nz
ld   hl,string
ret
string:
.db   0,1,\$c8

parserhook:
.db   \$83
or a, a
jr nz, exithook
ld hl, TwoPi
call _Mov9ToOP1
call _StoTheta
ld hl, basic_prog
call _Mov9ToOP1
call _ChkFindSym
ex de, hl
ld bc, 0
ld c, (hl)
inc hl
ld b, (hl)
inc hl
push bc
ldir
pop bc
ld (begPC), hl
ld (curPC), hl
dec hl
ld (endPC), hl
_:   ld a, (hl)
cp a, tPi
jr nz, +_
ld (hl), tTheta
_:   call _IsA2ByteTok
jr nz, +_
inc hl
_:   inc hl
dec bc
ld a, b
or a, c
jr nz, ---_
exithook:
xor   a,a
ret

TwoPi:
.db \$00, \$80, \$62, \$83, \$18, \$53, \$07, \$17, \$96
endrelocate()
e_routine:

Created by Mateo, edited by me
PT_ wrote:
Okay, here we go!

http://www.filedropper.com/tau_1

Code:
#include "ti84pce.inc"

#macro relocate(new_location)
#ifdef old_location
.echo __file,":",__line,": Error: You cannot nest relocated blocks."
#else
#define old_location eval(\$)
.org new_location
#define g_location eval(new_location)
#endif
#endmacro

#macro endrelocate()
#ifdef g_location
.org \$-g_location + old_location
#undefine g_location
#undefine old_location
#else
.echo "Error line ",__line,": No relocate statements corresponds to this endrelocate."
#endif
#endmacro

.org \$d1a87f
.db \$ef,\$7b

ld   de,saveSScreen+20000
ld   hl,s_routine
ld   bc,e_routine-s_routine
ldir
ld   hl,tokenhook
call   _SetTokenHook
ld   hl,parserhook
call   _SetParserHook
ret

s_routine:
relocate(saveSScreen+20000)
tokenhook:
.db   \$83
push   hl
ld   hl,\$204
or   a,a
sbc   hl,de
pop   hl
ret   nz
ld   hl,string
ret
string:
.db   0,1,\$c8

parserhook:
.db   \$83
or a, a
jr nz, exithook
ld hl, TwoPi
call _Mov9ToOP1
call _StoTheta
ld hl, basic_prog
call _Mov9ToOP1
call _ChkFindSym
ex de, hl
ld bc, 0
ld c, (hl)
inc hl
ld b, (hl)
inc hl
push bc
ldir
pop bc
ld (begPC), hl
ld (curPC), hl
dec hl
ld (endPC), hl
_:   ld a, (hl)
cp a, tPi
jr nz, +_
ld (hl), tTheta
_:   call _IsA2ByteTok
jr nz, +_
inc hl
_:   inc hl
dec bc
ld a, b
or a, c
jr nz, ---_
exithook:
xor   a,a
ret

TwoPi:
.db \$00, \$80, \$62, \$83, \$18, \$53, \$07, \$17, \$96
endrelocate()
e_routine:

Created by Mateo, edited by me

And the 83+ version? (For those of us too cheapskate to buy a CE)

EDIT:
One other thing you could do is add tau as a contant, like pi and e. I think this would require two hooks:

The first hook would output the tau token whenever a certain key combination (I was thinking [ALPHA][VARS] is triggered.

The second hook, a parser hook, would trigger whenever the tau token is evaluated, and return the numeric value 2pi.

Yep, this is wrong, because the parser hook won't run at the tau token. You can only trigger the parser hook by replace an existing token by the tau token, whereas that token needs to trigger the parser hook (not all tokens does). But now you get more problems, like, when is that token the token itself, or when is it tau?
Only problem with the current tau program:

Upon activating "tau mode", Disp, a Pause, and seq() return a syntax error for any arguments you give them, and ClrHome seems to stop program execution. Also, other problems I might or might not find later with how instructions are evaluated.

Fix?

Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

»
» Goto page Previous  1, 2, 3, 4, 5  Next
» All times are UTC - 5 Hours

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum