How Can I Compute High Precision Square Roots for Special Relativity Homework?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 1K views
BOAS
Messages
546
Reaction score
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
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.

http://reference.wolfram.com/language/ref/SetPrecision.html

Thanks, that solves the problem at hand.