Integer Trig Hunt

A mathematical hunt:
This Demonstration considers expressions of the form where , , , , and are positive rational numbers or integers and is one of the six trigonometric functions, sin, cos, tan, cot, sec, or csc. For any set of such parameters, the value will never be an integer (nor even an algebraic number).
The goal of the hunt is to find values of the parameters such that is as near as possible to an integer. Easy integers are excluded, like the sine or cosine of a small number, which can easily be made very close to 0 or 1. Using all possible slider combinations, more than 1030 possible values of can be tested, allowing the hunter to be busy for weeks. How small can you make the difference between the value and an integer?
  • Contributed by: Michael Trott with permission of Springer
  • From: The Mathematica GuideBook for Programming, second edition by Michael Trott (© Springer, 2008).


Contributed by: Michael Trott with permission of Springer
From: The Mathematica GuideBook for Programming, second edition by Michael Trott (© Springer, 2008).
 
Powered by Wolfram Mathematica
Give us your feedback
Give us your feedback

Source page:




 often  occasionally  never

Note: Please do not include anything you consider confidential or proprietary. Your message and contact information may be shared with the author of any specific Demonstration for which you give feedback, but will not otherwise be published or distributed.
Privacy Policy »

Note: To run this Demonstration you need the free
Mathematica Player
or Mathematica 7+
Download or upgrade to Mathematica Player 7
I already have Mathematica Player or Mathematica 7+