Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Irrational number
#11
(May-08-2020, 10:17 AM)chpyel Wrote: if you check the digits of the number for a period.....?
You could I guess check for repetition in the digits, then if so declare it rational. Then if there is no repetition in a long float then I supposed you could declare it most likely irrational, but I could have a digit of 10000 decimal places and it's still rational because it ends. An irrational number is a number in which it's digits go on forever, so it's hard to measure that.I don't know much about proving irrational numbers but if there happens to be some algorithm or method out there to do so you could possibly implement it. Though I'd assume different irrational constants are proved irrational through various methods.
Reply


Messages In This Thread
Irrational number - by chpyel - May-07-2020, 05:51 PM
RE: Irrational number - by SheeppOSU - May-07-2020, 11:06 PM
RE: Irrational number - by chpyel - May-07-2020, 11:46 PM
RE: Irrational number - by bowlofred - May-07-2020, 11:56 PM
RE: Irrational number - by DeaD_EyE - May-08-2020, 07:57 AM
RE: Irrational number - by ndc85430 - May-08-2020, 09:39 AM
RE: Irrational number - by chpyel - May-08-2020, 10:17 AM
RE: Irrational number - by bowlofred - May-08-2020, 04:27 PM
RE: Irrational number - by pyzyx3qwerty - May-08-2020, 10:22 AM
RE: Irrational number - by DeaD_EyE - May-08-2020, 02:20 PM
RE: Irrational number - by SheeppOSU - May-08-2020, 05:15 PM
RE: Irrational number - by TomToad - May-08-2020, 06:23 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020