- Forums
- Mathematics
- General Math
- Thread starterBOAS
- Start date
- Tags
- PrecisionRootsSquare
In summary, the speaker is having trouble evaluating their gamma factor for their special relativity homework because they need to compute 1 minus a very small number. Their calculator and Mathematica treat this value as simply 1. They are wondering if there are any methods they could do by hand for this problem. The listener suggests using Mathematica's floating point precision capabilities to get a more accurate result. The speaker thanks them for the solution.
- #1
BOAS
- 552
- 19
Hello,
i'm having trouble evaluating my gamma factor for my special relativity homework, because I need to compute 1 minus a very small number (8.57*10^-13). My calculator treats this value as simply 1, as does Mathematica. Although I don't know much about it, and maybe there's a way to force it to consider the small number.
Are there any methods that I could do by hand?
(I am also looking for a computer method elsewhere, but I figured this might be interesting).
Thanks!
Mathematics news on Phys.org
- #2
SteamKing
Staff Emeritus
Science Advisor
Homework Helper
- 12,811
- 1,672
Evaluating such a difference will be a problem with a standard calculator. Mathematica however should be able to handle floating point calculations to such a precision that you don't get a value of 1 for the difference.
- #3
BOAS
- 552
- 19
SteamKing said:
Evaluating such a difference will be a problem with a standard calculator. Mathematica however should be able to handle floating point calculations to such a precision that you don't get a value of 1 for the difference.
Thanks, that solves the problem at hand.
- #4
Vanadium 50
Staff Emeritus
Science Advisor
Education Advisor
2023 Award
- 33,972
- 20,656
(1+x)^(1/2) is approximately 1 + x/2.
- #5
CellCoree
- 1,490
- 0
Hello,
I can understand the difficulty in evaluating your gamma factor with such a small number. In situations like this, it is important to use high precision methods for calculating square roots. One method you could use by hand is the Babylonian method, also known as the Heron's method, which involves taking an initial guess and iteratively refining it until you reach the desired level of precision. However, this may be quite time consuming and may not be feasible for your homework assignment.
For computer methods, you can try using libraries or functions specifically designed for high precision calculations, such as the GMP library or the mpmath module in Python. These tools allow you to specify the desired level of precision and can handle very small numbers without rounding them off.
I hope this helps. Best of luck with your homework!
Related to How Can I Compute High Precision Square Roots for Special Relativity Homework?
What is a high precision square root?
High precision square root is the process of finding the square root of a number with a high level of accuracy, often to many decimal places. This is achieved by using advanced mathematical algorithms and computer calculations.
Why is high precision square root important?
High precision square root is important because it allows for more accurate and precise calculations in scientific and mathematical applications. It also helps to reduce rounding errors and improve the overall accuracy of the solution.
How is high precision square root calculated?
High precision square root is calculated using various mathematical algorithms and methods, such as the Newton's method, the bisection method, or the continued fraction method. These methods use iterative processes to find the square root to a desired level of precision.
What are some common uses for high precision square roots?
High precision square roots are commonly used in fields such as engineering, physics, and finance, where accurate calculations are crucial. They are also used in computer programming and data analysis to improve the accuracy of mathematical operations.
Are there any limitations to high precision square roots?
While high precision square roots can provide very accurate results, they are limited by the precision of the computer or calculator used for the calculations. Additionally, some numbers, such as irrational numbers, may not have an exact square root and can only be approximated to a certain level of precision.
Similar threads
MHBComputing The Arbitrary-Precision Nth Root Of Positive (X) In PHP
- General Math
- Replies
- 1
- Views
- 3K
Were you taught square root extraction at school?
- General Math
- Replies
- 18
- Views
- 4K
Adding square roots of ##i## leading to different answers!
- Precalculus Mathematics Homework Help
- Replies
- 21
- Views
- 942
Fast reciprocal square root algorithm
- Programming and Computer Science
- Replies
- 30
- Views
- 4K
MHBFree Math Tutoring Videos Focusing on Math Olympiad, Calculus, and High School Math
- Differential Equations
- Replies
- 1
- Views
- 2K
Square Root of 4: Can it be +2 or -2?
- General Math
- Replies
- 4
- Views
- 3K
How Can I Express This Function with a Complex Square Root Term?
- General Math
- Replies
- 7
- Views
- 2K
MHBHow can I solve P(X>28.41) using the chi-squared distribution?
- Set Theory, Logic, Probability, Statistics
- Replies
- 1
- Views
- 1K
B
- Special and General Relativity
- Replies
- 12
- Views
- 1K
How does relativity affect the detection of atmospheric muons?
- Introductory Physics Homework Help
- Replies
- 11
- Views
- 986
- Forums
- Mathematics
- General Math