My Math Forum Mathematica question (approximation)

 Math Software Math Software - Mathematica, Matlab, Calculators, Graphing Software

 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: $|x-\frac{p}{g}| < \epsilon$ /diophantine approximation/ Thank you very much in advance!
 September 14th, 2011, 01:54 PM #2 Global Moderator     Joined: Nov 2006 From: UTC -5 Posts: 14,205 Thanks: 489 Math Focus: Number theory, computational mathematics, combinatorics, FOM, symbolic logic 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 in-between two successive approximants but I don't recall off the top of my head.

### Mathematica question

Click on a term to search for related topics.
 Thread Tools Display Modes Linear Mode

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

 Contact - Home - Top