Creating a Random Function to Select an Irrational Number
- To: mathgroup at smc.vnet.net
- Subject: [mg102176] Creating a Random Function to Select an Irrational Number
- From: BenT <brtubb at pdmusic.org>
- Date: Fri, 31 Jul 2009 05:57:40 -0400 (EDT)
Although Mathematica has built-in functiona to obtain random integers and real numbers, I need to select a random irrational number. At this webpage, http://mathworld.wolfram.com/IrrationalNumber.html several definitions are given for known conditions to create irrational numbers, such as Numbers of the form n^(1/m) are irrational unless n is the mth power of an integer. Can anyone define a function to allow a similar capability as Random[] in selecting a "member" from the above defined "set" of values, or any other of the definitions listed on the same webpage?