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 ... 294 295 [296] 297 298 ... 317
4426
Math and Science / Re: Math Community Quiz
« on: January 17, 2011, 11:19:08 pm »
Hehehe, mwahahahaha. Eh-zactly. So I wonder what magic this next question will perform...?

4427
Math and Science / Re: Math Community Quiz
« on: January 17, 2011, 10:55:33 pm »
I believe it is correct, though I did not look at the code :P

(If it isn't then a month from now I will make mention of it :D)

4428
Math and Science / Re: Math Community Quiz
« on: January 17, 2011, 09:03:03 pm »
Oh, yeah, oops. Yes, you are correct about the 110 part, but the decimal part of that is in base 10 :D Think about how you do decimals in binary. 11010.011101 for example...
011101/1000000 is the decimal .453125

In other words, the decimal part that you have needs to be converted to base phi^2, too. You can do this by applying basic division techniques. (long hand ;) )

4429
Math and Science / Re: Math Community Quiz
« on: January 17, 2011, 08:53:47 pm »
Nope, that's not it :D. The decimal part is in base 10, not base phi^2 (and happens to be the "ones" place)

4430
Math and Science / Re: Math Community Quiz
« on: January 17, 2011, 08:50:27 pm »
I am fairly sure (sqrt(5)+3)/2 is phi^2 or do you mean D is supposed to be phi?

Ninja :D

4431
Math and Science / Re: Math Community Quiz
« on: January 17, 2011, 07:45:39 pm »
Yep, sorry, just caught that. Sorry, lack of sleep :P
I get:
(sqrt(5)+3)/2=phi^2→D
10/D^2=1.458980338...
First digit=1
.458980338*D=1.201626124
Second digit=1
Decimal=.201626124....*D=.527864045
10 % phi^2=
11.527864045
phi^4+ph^2+.527864045...=10
So the 5th digit after the decimal is 6

EDIT: I forgot the /2 part of the (sqrt(5)+3)/2
EDIT: There is a mistake if anybody can catch it...

4432
Math and Science / Re: Math Community Quiz
« on: January 17, 2011, 07:43:20 pm »
Wait, not finished...
EDIT:NEVER MIND
TO convert a base from base 10 to some other base, do log(x)/log(a) where a is the base you want to convert to.
So log(10) is 1
1/log((sqrt(5)+1)^2/4) is your answer
2.3924859833

4433
Math and Science / Re: Math! (and that is not a factorial)
« on: January 17, 2011, 05:20:20 pm »
Okee, here is some food for thought.
(7x-2) mod 9=0 when x=9K-1
K is an integer
This means that all number that can be expressed as 7(9k-1)-2 can always be divided evenly by 9. This isn't really complex, but it is fun if you like prime numbers

So, when:
x=9k-1     (7x-2) mod 9=0     (7x+7) mod 9=0
x=9k-2     (7x-4) mod 9=0     (7x+5) mod 9=0
x=9k-3     (7x-6) mod 9=0     (7x+3) mod 9=0
x=9k-4     (7x-8) mod 9=0     (7x+1) mod 9=0
x=9k-5     (7x-1) mod 9=0     (7x+8) mod 9=0
x=9k-6     (7x-3) mod 9=0     (7x+6) mod 9=0
x=9k-7     (7x-5) mod 9=0     (7x+4) mod 9=0
x=9k-8     (7x-7) mod 9=0     (7x+2) mod 9=0

When I did this, I learned some things about how numbers work. If you wanna have fun, try using values other than 7 and 9. Something this simple can reveal quite a bit about numbers.

4434
Math and Science / Re: Math! (and that is not a factorial)
« on: January 17, 2011, 04:24:05 pm »
Yeah, sorry. I wish I had a blackboard to work with and I could give all the info in real time. People would be able to actually read and understand some stuff.

4435
Math and Science / Re: Math! (and that is not a factorial)
« on: January 17, 2011, 12:43:19 pm »
Okee, as a mini trick say you have X^2+2X+1 and you want to find the square root of it. Replace the X's with 10's and you get 121. Find the square root of that and you get 11. 11 is 10+1, so replace the 10 with X and you get x+1.

Here is what is really going on:
121=1*10^2+2*10^1+1
X^2+2x+1 is the same thing if X=10.
So really you are only changing the base of the number

So if you want to find the square root of x^2+8X+16, you get 100+80+16=196. sqrt(196)=14=(X+4). Now what if you wanted to find the square root of 169? If you are bored, you can do:
169=10^2+6*10+9=x^2+6x+9

0=x^2+6x+9
-9=x^2+6x
9-9=(x+3)^2
0=(X+3)^2
0=X+3
10+3=13 is the square root

So what happens if I do 187...?
0=x^2+8x+7
-7=X^2+8x
16-7=(X+4)^2
9=(X+4)^2
STOP
x+4=14
187 is 9 away from 14^2

As a note, the second digit has to be even, so if you have 196, take 1 from the 9 and add 10 to the 6

Also, if I had a copy of my notes, I would show y'all what I am calling the "optimal base" for numbers. For numbers like 225, you need to do 100+100+25, not 100+120+5. The optimal base is a special number base where every number is a three digit number with the first being 1. There is an equation for it ( have it in an excel spreadsheet) and 196 is the only number that fails. Interestingly, if you check the number 196 on Wolfram.com, you will find that 196 is a very interesting number and has some unique properties that might tied into this.

4436
Miscellaneous / Re: Programming languages
« on: January 17, 2011, 10:14:19 am »
I like programming in hex :D My brain isn't wired correctly for mnemonics and words, anyway.

4437
Miscellaneous / Re: Where Did Your Name Come From?
« on: January 17, 2011, 12:55:30 am »
Oh jeez, one letter difference...

Anywho, on another coincidental note, it was only a few weeks after I started going by the name of Zeda that I learned about the Riemann Zeta function... So that is nice

4438
Miscellaneous / Re: Where Did Your Name Come From?
« on: January 17, 2011, 12:43:11 am »
I dunno, I go by Zeda, but on forums and such I use Xeda because I like the letter X. :D

And we all know TI stands for Total Idiocracy

4439
BatLib / Re: SpriteLib
« on: January 16, 2011, 04:47:31 pm »
I had to use a debugger to figure out what exactly goes on in a fonthook, then I just used my own drawing routine for fonts. For the 8x8 font, the last 4 chars in each line are not drawn. I am not sure why my fonthooks seem to fail in menu's, though. Here are some more random screen shots if ya be interested... Arrrrr

4440
BatLib / Re: SpriteLib
« on: January 16, 2011, 04:21:02 pm »
Hrm, seems I haven't posted stuff about the font hooks... :D

Pages: 1 ... 294 295 [296] 297 298 ... 317