| Thread Closed |
Can anyone see a relationship here? |
Share Thread | Thread Tools |
| Jun12-05, 09:34 PM | #1 |
|
|
Can anyone see a relationship here?
I am trying to delvelop a Delphi application and it would greatly simplify my code if I can find the relationship between these two vars.
J X ____ 1 1 2 2 3 4 4 8 5 16 I treid several things, but they seem to be inconsistent Any help?--Thanks! |
| Jun12-05, 09:47 PM | #3 |
|
|
wow....what is the highest class you have taken in mathematics?
|
| Jun12-05, 09:51 PM | #4 |
|
Blog Entries: 5
|
Can anyone see a relationship here?
heh, well, i'm a math major, and i just wrapped up diff eq and linear alg last semester... But that was a pretty easy problem really... heh. i thought it was a joke or that i was missing something...
|
| Jun12-05, 09:53 PM | #5 |
|
|
Powers of 2 are your friend, especially if you're into programming. It's good to memorize the first few. (Up to 2^8, at the very least!)
|
| Jun12-05, 10:07 PM | #6 |
|
Blog Entries: 5
|
|
| Jun12-05, 10:15 PM | #7 |
|
|
Math ownage :D |
| Jun12-05, 10:22 PM | #8 |
|
Blog Entries: 5
|
|
| Jun12-05, 10:36 PM | #9 |
|
Recognitions:
|
Also helps in radioactive decay problems, e.g. you can "instantly see" that after 10 half lives, the activity of a sample would have decremented to exactly 2^(-10) = 1/1024, or approx 0.1 %, of the initial activity. There are many other examples as you go along. It's also a cool thing to know. Personally, I know up to 2^20 by heart, then I have a little trouble with the higher powers .
|
| Jun12-05, 10:51 PM | #10 |
|
|
I know powers of 2 up to 2^10 and also 2^15 (because of a 2-byte int). |
| Jun12-05, 11:32 PM | #11 |
|
|
Gale punked me with this one.
Transfer rates are based on the bit/byte comparison. 1 byte = 8 bits 1 kilobyte = 1024 bytes That rounding is where the discrepancy builds from. It is usually taken as 1000 bytes. |
| Jun13-05, 12:42 AM | #12 |
|
Recognitions:
|
|
| Jun13-05, 07:08 AM | #13 |
|
|
Calculating n^m in a machine is nearly O(m) for a naive solution however if you know the powers of 2, there is a neat efficient way. Ofcourse i am not going to give it away right now :p
-- AI |
| Jun13-05, 03:47 PM | #14 |
|
|
|
| Jun13-05, 06:17 PM | #15 |
|
Recognitions:
|
Both approaches are equally valid mathematically, and there is no reason why a half-life approach is only an "approximation" while the decay constant approach is any more valid. |
| Jun13-05, 07:07 PM | #16 |
|
Oddly enough, I wonder why they do create hard drives of 80,000,000,000 bytes or other flat numbers like that. I thought everything was done in packets or sector or something like that and they had values of 32K and 64K and 128K etc etc. Sounds like towards the end, a few or maybe a lot of bytes are lost because they dont have a full packet or sector or whatever. |
| Jun13-05, 07:10 PM | #17 |
|
|
|
| Thread Closed |
| Thread Tools | |
Similar Threads for: Can anyone see a relationship here?
|
||||
| Thread | Forum | Replies | ||
| Relationship of 777 and 13? | General Math | 7 | ||
| Relationship between a V and R? | Introductory Physics Homework | 3 | ||
| what is the relationship? | Introductory Physics Homework | 22 | ||
| Any Relationship? | Linear & Abstract Algebra | 4 | ||
| Relationship | Introductory Physics Homework | 1 | ||