Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

william.briand

  • 4 years ago

Is there a closed form formula that yields the number of digits in a decimally-based number ? A special function ?

  • This Question is Closed
  1. anushkaudeshan
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    3sec^4 x - 10sec^2 x - 8 = 0, what is sin x

  2. estudier
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Don't understand the question. I give u 4.35, u want a formula that predicts that there are 3 digits in 4.35..

  3. MathsBoy
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    If you want to know how many digits are in the integer x: \[\lfloor \ln(x)/\ln(10) \rfloor + 1\]

  4. MathsBoy
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Or of course, to compensate for negative values of x: \[\lfloor \ln(\left| x \right|)/\ln(10) \rfloor + 1\]

  5. MathsBoy
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    The only problem is it doesn't give an answer for x = 0.

  6. william.briand
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Many thanks. (If this work for strictly positive integer, I'm OK)

  7. MathsBoy
    • 4 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Any time.

  8. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy