
Math Software Math Software  Mathematica, Matlab, Calculators, Graphing Software 
 LinkBack  Thread Tools  Display Modes 
September 14th, 2011, 10:42 AM  #1 
Joined: Sep 2010 Posts: 60 Thanks: 0  Mathematica question (approximation)
How can we find the least p and q positive integers of an x positive real number for that: /diophantine approximation/ Thank you very much in advance! 
September 14th, 2011, 01:54 PM  #2 
Global Moderator Joined: Nov 2006 From: UTC 5 Posts: 15,661 Thanks: 812 Math Focus: Number theory, computational mathematics, combinatorics, FOM, symbolic logic, TCS, algorithms  Re: Mathematica question (approximation)
I suppose you could take the continued fraction of x and take successive terms until it was good enough. If you need the absolute smallest there's a way to find the fractions inbetween two successive approximants but I don't recall off the top of my head.


Tags 
approximation, mathematica, question 
Search tags for this page 
Click on a term to search for related topics.

Thread Tools  
Display Modes  

Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
An approximation question  zaidalyafey  Number Theory  15  March 25th, 2013 09:39 PM 
mathematica  DANDIS  Math Software  7  February 14th, 2012 10:27 AM 
Mathematica  phoebe  Math Software  3  February 2nd, 2012 09:17 AM 
Mathematica  sivela  Math Software  2  April 15th, 2010 03:30 PM 
Mathematica  billymac00  Number Theory  5  September 6th, 2009 09:59 PM 