Tyman2007
Ya Rly >.
- Reaction score
- 74
yeah, I have an equation and I made a post on how to use "to the power of"
I failed horribly.
I asked on what would be the equation to get this set of numbers
Someone responded
So I tried making that formula into something WC3 can understand and it didn't work out so well.
I probably mis-read the answer horribly. Just got into geo so... yeah my math is a little rough.
This is my attempt:
I got this:
I'll just stop right there.
Any ideas?
(Ps. I think I got it wrong, it might be *, not - for g. The dot confuses me.)
EDIT: Tried * instead of - for g, was really close! was actually around
or something along those lines.
I failed horribly.
I asked on what would be the equation to get this set of numbers
Code:
1, 20
2, 30
3, 40
4, 60
5, 80
6, 120
7, 160
8, 240
9, 320
10, 480
Someone responded
Here's a single formula that works for your entire list:
f(n) = 10·( 2^⌊n/2⌋ + 2^⌊(n-1)/2⌋ )
where ⌊x⌋ = largest integer m with m ≤ x,
usually pronounced "floor of x".
So I tried making that formula into something WC3 can understand and it didn't work out so well.
I probably mis-read the answer horribly. Just got into geo so... yeah my math is a little rough.
This is my attempt:
JASS:
I got this:
Code:
1, 8
2, 7
3, 5
4, 2
5, -3
I'll just stop right there.
Any ideas?
(Ps. I think I got it wrong, it might be *, not - for g. The dot confuses me.)
EDIT: Tried * instead of - for g, was really close! was actually around
Code:
1, 20
2, 30
3, 45
4, 80
5, 130
or something along those lines.