Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Xeda112358

Pages: 1 ... 218 219 [220] 221 222 ... 317
3286
TI-BASIC / Re: Advanced Math in Output( and Text( ?
« on: April 28, 2011, 08:58:10 pm »
prefix (a.k.a Polish Notation): + 1 2
infix: 1 + 2
postfix (a.k.a Reverse Polish Notation): 1 2 +

with infix you have to worry about order of operations, whereas with postfix and prefix you don't.

While we're on the subject...
http://xkcd.com/645/
Lovely :P
And now I know what those terms mean, so I am happy... I think it would be slower to use those methods, anyway, in my experience.

3287
TI-BASIC / Re: Advanced Math in Output( and Text( ?
« on: April 28, 2011, 08:44:34 pm »
Btw, slightly off topic, but thanks Runer112 for reminding me of using the stack to help out with this
Oh I bet that is how Axe does it... I use a completely different method which is why ReCode does math right to left...

3288
TI-BASIC / Re: Advanced Math in Output( and Text( ?
« on: April 28, 2011, 08:35:54 pm »
You are trying to parse things yourself, for speed, right?

3289
TI-BASIC / Re: Advanced Math in Output( and Text( ?
« on: April 28, 2011, 08:16:48 pm »
Cool, that will be great! As an example, if I know a number is an integer and I want to right justify it so the last number is in the ninth column:
Code: [Select]
Output(1,iPart(10-log(Ans)),Ans

3290
TI-BASIC / Re: Advanced Math in Output( and Text( ?
« on: April 28, 2011, 08:12:37 pm »
Centering text, right justifying text. If it's a number you need to know how far to place it out from the side.
Yes, exactly :) I also use it when I am making math programs that output results in a more pretty way :)

3291
TI-BASIC / Re: Advanced Math in Output( and Text( ?
« on: April 28, 2011, 08:06:03 pm »
What about iPart(? XP
Yeah, usually the only times I use sin( and cos( are for circular things. I like to use log(, often, but that is usually to find the number of digits in an integer. Maybe you could make log( do that instead? (meaning find the number of digits, minus 1)

3292
TI Z80 / Re: An Axe piano with 5 octaves
« on: April 28, 2011, 04:27:34 pm »
Does Wabbit record sound, too?

3293
TI Z80 / Re: An Axe piano with 5 octaves
« on: April 28, 2011, 04:24:52 pm »
Cool! I made a guitar hero like game that used sound, but not in Axe :/

3294
TI Z80 / Re: An Axe piano with 5 octaves
« on: April 28, 2011, 04:21:19 pm »
Maybe you have to detect both keys and then play one after the other real fast? Is there a way to really "mix" sounds?

3295
TI Z80 / Re: An Axe piano with 5 octaves
« on: April 28, 2011, 04:19:30 pm »
Very cool, nice! I don't know much about music, but I want to make a sound player on my calc now XD

3296
Math and Science / Re: Non-linear sequence
« on: April 28, 2011, 10:56:09 am »
I don't understand this part:
000 => 0
001 => 1
010 => 1
011 => 1
100 => 0
101 => 1
110 => 1
111 => 0

so Rule 110 CA. IIRC, it's one of those CAs that is Turing complete or something.
Everything else is just converting to binary and looking at the pretty patterns :)
At least I think... I just liked looking at the diagonals :)

3297
Math and Science / Re: Non-linear sequence
« on: April 28, 2011, 09:33:13 am »
Okay, sorry to be so late x.x I literally only went to class and then immediately slept when I got back. I remembered this in the last half hour of psychology and it was the only way I could stay awake x.x:

1+2034X-15334X(X+1)/2+50686X(X+1)(X+2)/6-95994X(X+1)(X+2)(X+3)/24+113930X(X+1)(X+2)(X+3)(X+4)/120-86756X(X+1)(X+2)(X+3)(X+4)(X+5)/720+41386X(X+1)(X+2)(X+3)(X+4)(X+5)(X+6)/7!-11306X(X+1)(X+2)(X+3)(X+4)(X+5)(X+6)(X+7)/8!+1354X(X+1)(X+2)(X+3)(X+4)(X+5)(X+6)(X+7)(X+8)/9!

Maybe later today I will come up with a more general version that has "m" in the equation, too.

EDIT: This version only took 1 page :P
EDIT2: Screenshot of equation:
Xmin=0
Xmax=10
xscl=1
Ymin=-10
Ymax=509
Yscl=0
Xres=1

3298
Miscellaneous / Re: What is your avatar?
« on: April 27, 2011, 05:55:23 pm »
It is my rendition of Pascal's Triangle that I made for a homework assignment, yesterday (technically this morning). If you ignore the curved arcs and color and you focus on just one spoke, you will notice clusters of line segments. These line segments are of length nCr.

3299
ASM / Re: Why is this slow?
« on: April 27, 2011, 07:27:13 am »
Hmm, then I am not sure :/

3300
ASM / Re: Why is this slow?
« on: April 27, 2011, 07:20:35 am »
Hmm, how slow are you talking about? Could you post a screeny or the program? At a glance, I don't notice anything wrong with the code...

Pages: 1 ... 218 219 [220] 221 222 ... 317