wu :: forums
« wu :: forums - Broken Calculator »

Welcome, Guest. Please Login or Register.
Nov 25th, 2024, 2:34am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   medium
(Moderators: Icarus, ThudnBlunder, SMQ, Eigenray, Grimbal, towr, william wu)
   Broken Calculator
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Broken Calculator  (Read 967 times)
FiBsTeR
Senior Riddler
****





   
WWW

Gender: male
Posts: 581
Broken Calculator  
« on: May 16th, 2008, 3:23pm »
Quote Quote Modify Modify

A calculator is broken so that the only keys that still work are the sin, cos, tan, arcsin, arccos, and arctan buttons. The display initially shows 0. Given any positive rational number q, show that pressing some finite sequence of buttons will yield q. Assume that the calculator does real number calculations with infinite precision. All functions are in terms of radians.
 
Source: USAMO
IP Logged
Eigenray
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 1948
Re: Broken Calculator  
« Reply #1 on: May 18th, 2008, 10:55am »
Quote Quote Modify Modify

In fact, you can compute sqrt(q) for any q.
IP Logged
Barukh
Uberpuzzler
*****






   


Gender: male
Posts: 2276
Re: Broken Calculator  
« Reply #2 on: May 18th, 2008, 11:01am »
Quote Quote Modify Modify

on May 18th, 2008, 10:55am, Eigenray wrote:
In fact, you can compute sqrt(q) for any q.

That's what I arrived at also.
 
Does that mean the problem at USAMO was invalid?
 
 Huh
IP Logged
FiBsTeR
Senior Riddler
****





   
WWW

Gender: male
Posts: 581
Re: Broken Calculator  
« Reply #3 on: May 18th, 2008, 11:14am »
Quote Quote Modify Modify

on May 18th, 2008, 11:01am, Barukh wrote:
Does that mean the problem at USAMO was invalid?

 
It's not invalid, it's just not asking for the most specific set of numbers that you can attain with this calculator. They may have thought that asking about the square roots of the rationals would have hinted at the proof.
 
EDIT: The fact that Eigenray hid that part of the statement suggests that this may have been the reason behind it.
 
Good job in your solutions, by the way.  Smiley
« Last Edit: May 18th, 2008, 11:16am by FiBsTeR » IP Logged
Barukh
Uberpuzzler
*****






   


Gender: male
Posts: 2276
Re: Broken Calculator  
« Reply #4 on: May 18th, 2008, 9:45pm »
Quote Quote Modify Modify

Yes, of course! The queastion in my previous post is a complete nonsense.
 
Here’s my solution (in short):
 
hidden:

I will use short notations S for sine, S-1 for arcsine, and similarly for cosine and tangent functions.
 
Using the following formulas, we obtain the transformations:
 
TS-1TC-1(z) = 1/z
CT-1(z) = 1/(z+1)
 
We also have SC-1(0) = 1.
 
It is then sufficient to use the fact that every rational number can be represented as a finite simple continued fraction.

« Last Edit: May 18th, 2008, 11:28pm by Barukh » IP Logged
ThudnBlunder
wu::riddles Moderator
Uberpuzzler
*****




The dewdrop slides into the shining Sea

   


Gender: male
Posts: 4489
Re: Broken Calculator  
« Reply #5 on: May 19th, 2008, 5:00pm »
Quote Quote Modify Modify

Using only the addition, multiplication, division, square root, and '2' key (plus Store, Recall, and Sum), how can you approximate to any required precision?
IP Logged

THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
FiBsTeR
Senior Riddler
****





   
WWW

Gender: male
Posts: 581
Re: Broken Calculator  
« Reply #6 on: May 19th, 2008, 5:31pm »
Quote Quote Modify Modify

on May 18th, 2008, 9:45pm, Barukh wrote:

TS-1TC-1(z) = 1/z

 
I'm assuming by your notation that I apply arccos to z first? But then how do you know that z is in the domain of arccos?
 
on May 18th, 2008, 9:45pm, Barukh wrote:
We also have SC-1(0) = 1.

 
C(0)=1, as well.  Wink
IP Logged
Barukh
Uberpuzzler
*****






   


Gender: male
Posts: 2276
Re: Broken Calculator  
« Reply #7 on: May 20th, 2008, 6:31am »
Quote Quote Modify Modify

on May 19th, 2008, 5:31pm, FiBsTeR wrote:
I'm assuming by your notation that I apply arccos to z first? But then how do you know that z is in the domain of arccos?

Not only that, the transformation is not correct!
 
The correct one IMHO is TS-1CT-1.
IP Logged
Barukh
Uberpuzzler
*****






   


Gender: male
Posts: 2276
Re: Broken Calculator  
« Reply #8 on: May 20th, 2008, 6:40am »
Quote Quote Modify Modify

on May 19th, 2008, 5:00pm, ThudanBlunder wrote:
Using only the addition, multiplication, division, square root, and '2' key (plus Store, Recall, and Sum), how can you approximate to any required precision?

(69)?
IP Logged
ThudnBlunder
wu::riddles Moderator
Uberpuzzler
*****




The dewdrop slides into the shining Sea

   


Gender: male
Posts: 4489
Re: Broken Calculator  
« Reply #9 on: May 20th, 2008, 8:27am »
Quote Quote Modify Modify

on May 20th, 2008, 6:40am, Barukh wrote:

(69)?

 Huh
IP Logged

THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
Barukh
Uberpuzzler
*****






   


Gender: male
Posts: 2276
Re: Broken Calculator  
« Reply #10 on: May 20th, 2008, 10:46am »
Quote Quote Modify Modify

on May 20th, 2008, 8:27am, ThudanBlunder wrote:

 Huh

Vieta!
IP Logged
ThudnBlunder
wu::riddles Moderator
Uberpuzzler
*****




The dewdrop slides into the shining Sea

   


Gender: male
Posts: 4489
Re: Broken Calculator  
« Reply #11 on: May 20th, 2008, 11:00am »
Quote Quote Modify Modify

on May 20th, 2008, 6:40am, Barukh wrote:

(69)?

 
on May 20th, 2008, 10:46am, Barukh wrote:

Vieta!

I knew you were well-informed, Barukh, but surely you are not also familiar with Viete's sexual proclivities?   Grin
IP Logged

THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
Barukh
Uberpuzzler
*****






   


Gender: male
Posts: 2276
Re: Broken Calculator  
« Reply #12 on: May 22nd, 2008, 2:14am »
Quote Quote Modify Modify

on May 19th, 2008, 5:00pm, ThudanBlunder wrote:
Using only the addition, multiplication, division, square root, and '2' key (plus Store, Recall, and Sum), how can you approximate to any required precision?

BTW, according to the following source, formula (69), division is not needed.
IP Logged
FiBsTeR
Senior Riddler
****





   
WWW

Gender: male
Posts: 581
Re: Broken Calculator  
« Reply #13 on: May 23rd, 2008, 8:34am »
Quote Quote Modify Modify

My original thought was using (6Cool in your link, but I couldn't do it without using a second store variable.
IP Logged
ThudnBlunder
wu::riddles Moderator
Uberpuzzler
*****




The dewdrop slides into the shining Sea

   


Gender: male
Posts: 4489
Re: Broken Calculator  
« Reply #14 on: May 23rd, 2008, 8:54am »
Quote Quote Modify Modify

on May 23rd, 2008, 8:34am, FiBsTeR wrote:
My original thought was using (6Cool in your link, but I couldn't do it without using a second store variable.

That was the formula I had in mind. It, together with the required iteration, can be found here on page 140.
IP Logged

THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board