A Conversation for h2g2 Maths Lab
I wanna be a Member!
Raymond Posted Feb 12, 2003
As they say, "Life without geometry is pointless". Please sign me up.
Researcher 205946 Raymond the Curmudgeon
I wanna be a Member!
i^i Posted Feb 17, 2003
i have this problem in mind: if n=a(a+4)where a is an integer, then sqrt(n)=a+a/(a+a/a+...))). bit, i have found a different representation for this nuber n, and i have a book "elementary number theory" by burton, and it also has a different representation. isnt it a more convenient way to express continued fraction? by the way i am an amateur and i do math only in my spare time... thanks!!
I wanna be a Member!
combattant pour liberte Posted Feb 26, 2003
Can you tell me what 0.4, 1/3 or 1.74 are in binary?
I know 0.1 in binary = 1/10 in binary = a half
and 0.01bin = a quarter
But I have no idea about the first three
that is apart from these fractions, ahem, 100/1010, 1/11 and 1+(1001010/1100100) [i.e. 4/10, 1/3 and 1+(71/100) in binary]
I wanna be a Member!
combattant pour liberte Posted Feb 26, 2003
what exactly does the repeated fraction sqrt(n)=a+a/(a+a/a+...))) .mean? Is it:
a+a
--------------------
sqrt(n) = (a+a)/(a+a)/(a+a)...
and isn't that just a+a (or did I misunderstand completely?
Also I'm interested in how you turn n = a(a+4) [which is the same as n= aa+4a] into that.
I wanna be a RMG!
combattant pour liberte Posted Feb 26, 2003
You can spell it encyclopaedia or encyclopedia--even in England both are correct. You can even put in good, old fashioned æ (ae liguture, or æ to you HTML writers) if you really want to!
I wanna be a Member!
combattant pour liberte Posted Feb 26, 2003
Please sign me up, it'll ne fun (unless you have already). I'm gonna do Maths for A-level.
I wanna be a Member!
combattant pour liberte Posted Feb 26, 2003
"Watch as I make this remainder disapear!"
(Maths wizard at Matin Prince's birthday party, just before isa points out that he's just divinding wrong)
I wanna be a Member!
GTBacchus Posted Feb 27, 2003
.4 in binary....
.4 = 4/10 = 2/5 = 10/101 (BIN)
So, just set up the long division - 10 divided by 101 - and see what happens...
(doing long division in bases other than decimal is a good way to ensure that you *really* know how it works)
.4 (DEC) = .0110 0110 0110 (rep) (BIN)
I wanna be a Member!
combattant pour liberte Posted Feb 27, 2003
Thanks. I tried doing that once, but I think I got it wrong. For some reason my computer's calculater can't be bothered to write binary or hexadecimal fractions/decimals.
I wanna be a Member!
combattant pour liberte Posted Feb 27, 2003
I forgot the font isn't monospace. What I meant is:
Does it mean
sqrt(n) = (a+a)/[(a+a)/(a+a)/(a+a)...]
or have I completely misunderstood?
I wanna be a Member!
GTBacchus Posted Feb 27, 2003
The most succint way to represent the given continued fraction is this:
if n = a(a+4)
sqrt(n) = X
where X = a+ (a/X)
...so the fraction contains copies of itself, like a fractal. What's cool is that you can then solve the second equation above for X.
Hmm.... doing that, I don't get that X=sqrt(n), but rather
X = (a + sqrt(n)) / 2
...so sqrt(n) = 2X - a = a + (2a / X). That actually works, if you calculate it.
(you do get two solutions for X, but the one with a minus sign is extraneous, 'cause it's negative, which makes no sense.)
Did I interpret the continued fraction correctly? That's what I've always understood continued fractions to represent...
2a
sqrt(n) = a + ---------------------------------
a
a + -------------------------
a
a + ---------
. . . . . . . . .
(a bit of patience, a lot of previews, and liberal use of the < space > smiley)
I wanna be a Member!
Lioba Posted Feb 27, 2003
Can't you just use the [a_o; a_1, a_2....] thing? Isn't that the point of having it, so that you don't have to mess around with what the dirty thing actually looks like?
I wanna be a Member!
combattant pour liberte Posted Feb 28, 2003
Please make me (combattant pour liberte) a member.
I wanna be a Member!
Researcher 208776 Posted Mar 9, 2003
On a site called http://www.foad.com/ they have pi to 400 million digits. However the page won't load sometimes because it's too big! (It won't load on my school network but it does on my computer and it is seriously big!)
:==R9==:
I wanna be a Member!
Pimms Posted Mar 27, 2003
I think I can contribute to this bit and get something out. Give me time to see what's here already before I give my
Pimms
Key: Complain about this post
I wanna be a Member!
- 41: Go stick your head in a pig :@) (Jan 20, 2003)
- 42: Raymond (Feb 12, 2003)
- 43: GTBacchus (Feb 13, 2003)
- 44: i^i (Feb 17, 2003)
- 45: combattant pour liberte (Feb 26, 2003)
- 46: combattant pour liberte (Feb 26, 2003)
- 47: combattant pour liberte (Feb 26, 2003)
- 48: combattant pour liberte (Feb 26, 2003)
- 49: combattant pour liberte (Feb 26, 2003)
- 50: combattant pour liberte (Feb 26, 2003)
- 51: GTBacchus (Feb 27, 2003)
- 52: combattant pour liberte (Feb 27, 2003)
- 53: combattant pour liberte (Feb 27, 2003)
- 54: GTBacchus (Feb 27, 2003)
- 55: Lioba (Feb 27, 2003)
- 56: combattant pour liberte (Feb 28, 2003)
- 57: combattant pour liberte (Feb 28, 2003)
- 58: Lioba (Feb 28, 2003)
- 59: Researcher 208776 (Mar 9, 2003)
- 60: Pimms (Mar 27, 2003)
More Conversations for h2g2 Maths Lab
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."