Search found 213 matches

by Demki
Fri Dec 28, 2012 4:30 pm UTC
Forum: Coding
Topic: numbers too small / chudnovsky formula / python
Replies: 6
Views: 2220

Re: numbers too small / chudnovsky formula / python

Code: Select all

third = ((-1**n)*1.0)/(640320**(3*n))

All your terms would be negative because you are doing -1^n instead of (-1)^n.

Code: Select all

third = (((-1)**n)*1.0)/(640320**(3*n))
by Demki
Tue Dec 25, 2012 3:21 pm UTC
Forum: Logic Puzzles
Topic: Find a power outlet in a dark room
Replies: 22
Views: 8137

Re: Find a power outlet in a dark room

In addition to the above:
Spoiler:
Learn the skill of echolocation
by Demki
Tue Dec 11, 2012 10:06 pm UTC
Forum: Mathematics
Topic: Integral of 1/x as a limit
Replies: 44
Views: 6429

Re: Integral of 1/x as a limit

Yet you can't do the same with 1/(n+1), you can't say limn->-1C1-1/(n+1) = limn->-1C2, as this is what they are trying to say.
by Demki
Tue Dec 11, 2012 8:23 pm UTC
Forum: Mathematics
Topic: Integral of 1/x as a limit
Replies: 44
Views: 6429

Re: Integral of 1/x as a limit

What they're saying is that we should pull a 1/(n+1) term out of one of the constants-wrt-x. I.e. split C 1 into C 3 -1/(n+1) (and then see that C 3 happens to equal C 2 ). We can't just split C 1 into C 3 -1/(n+1), as 1/(n+1) is not constant wrt n, and we are taking the limit as n approches -1. An...
by Demki
Tue Dec 11, 2012 10:55 am UTC
Forum: Mathematics
Topic: Integral of 1/x as a limit
Replies: 44
Views: 6429

Re: Integral of 1/x as a limit

That wouldn't be two constants. That would be an infinity of constants on the left, and one on the right. As we're talking about integrals wrt x, by "constant" I only meant wrt x. http://mathurl.com/anbaxy6.png What you want. http://mathurl.com/czl3c2p.png If you wish to add -1/(n+1) in t...
by Demki
Tue Dec 11, 2012 10:19 am UTC
Forum: Logic Puzzles
Topic: Squish the bug
Replies: 20
Views: 5095

Re: Squish the bug

dudiobugtron wrote:What is the integer part of 1.99999999999999..... ?

1.999... Is an integer, so its integer part is itself, thus, the integer part is 1.999...=2.
by Demki
Mon Dec 10, 2012 11:22 am UTC
Forum: Logic Puzzles
Topic: Video Logic Puzzle
Replies: 8
Views: 3064

Re: Video Logic Puzzle

It's 0xADEADAEAFF62 = 191,224,206,786,402.
by Demki
Sat Dec 08, 2012 11:05 am UTC
Forum: Mathematics
Topic: Integral of 1/x as a limit
Replies: 44
Views: 6429

Re: Integral of 1/x as a limit

If you wish to add -1/(n+1) inside the limit, then you also need to subtract it inside the limit.
That limit does not exist ( limx->-1+ 1/(x+1) =\= limx->-1- 1/(x+1) ).
So I'd say no, that isn't a true statement.
by Demki
Tue Dec 04, 2012 3:08 pm UTC
Forum: What If?
Topic: What-If 0023: "Short Answer Section II"
Replies: 80
Views: 20278

Re: What If 23: Short Answer Section II

Why not make the boomerang out of C4? That way you reserve aerodynamics and have a high explosive flying back at you after you throw it.
by Demki
Mon Dec 03, 2012 9:31 pm UTC
Forum: Logic Puzzles
Topic: What isn't the answer to this puzzle?
Replies: 13
Views: 3471

Re: What isn't the answer to this puzzle?

For the sake of trying, and because HonoreDB already wrote what I wanted.

Spoiler:
The answer to this puzzle is defineable, thus anything that isn't defineable definitely isn't the answer to this puzzle.
by Demki
Sun Dec 02, 2012 7:57 pm UTC
Forum: Mathematics
Topic: Can this algorithm be converted into an equation?
Replies: 4
Views: 757

Re: Can this algorithm be converted into an equation?

In general: (a+1) choose (a) = a+1. So to simplify things: (k-b+1) choose (k-b) = k-b+1. You do need to check if k-b is non-negative, I guess.(EDIT: or not, wolfram alpha says (a choose a-1) = a for all values of a.) int b=0; while(a>k-b+1){a-=k-b+1;b++;} //this loop will terminate eventually, unles...
by Demki
Fri Nov 30, 2012 10:18 pm UTC
Forum: General
Topic: INTRO THREAD THE THIRD
Replies: 10916
Views: 2190801

Re: INTRO THREAD THE THIRD

Hello, my name is Mor, I'm 17, almost 18, I live in Israel. I like mathematics, physics, and I like computer science even though I don't know much yet. I play Dwarf Fortress, Toribash, (a very small bit of) Minecraft, Heroes of M&M III, Golems Universal Constructor(if anyone has even heard of th...
by Demki
Fri Nov 30, 2012 10:06 pm UTC
Forum: Mathematics
Topic: problems for fun! Volume of a cone as a function of height
Replies: 33
Views: 3888

Re: problems for fun! Volume of a cone as a function of heig

It should be y=kr+kR1
Because: y=Δy+Y1, Δy = kr, Y1 = k*R1

Go to advanced search