Calculator with LOTS of decimals

  • Thread starter Usaf Moji
  • Start date
  • Tags
    Calculator
In summary, the conversation is about finding a calculator or program that can accurately handle calculations involving numbers with large differences in their orders of magnitude. The speakers discuss the limitations of commonly used calculators and recommend using the calculator that comes with Windows or a specialized program like PARI to achieve the desired level of precision.
  • #1
Usaf Moji
72
0
Hi, I'm trying to do some caculations involving numbers with big differences in their orders of magnitude. Unfortunately, all the cacluclating tools I can find always round off the answers too much to be of any use to me.

For example, if I type 4.5 x 10-12 - (4.5 x 10-12 - 9.2 x 10 -30) I want a calculator that will give me 9.2 x 10 -30. But all the calculators I've used give me 0 due to unwanted rounding during the calculation. Even Python does this.

Does anyone know where I could get a calculator or program that can do the calculation I need? I would prefer something with a simple interface resembling a hand-held calculator (like what Python uses) rather than something that requires any kind of programming.

Thanks.
 
Mathematics news on Phys.org
  • #2
I think most scientific calculators will give you that answer assuming that you use the exp. button.
 
  • #3
Usaf Moji said:
Hi, I'm trying to do some caculations involving numbers with big differences in their orders of magnitude. Unfortunately, all the cacluclating tools I can find always round off the answers too much to be of any use to me.

For example, if I type 4.5 x 10-12 - (4.5 x 10-12 - 9.2 x 10 -30) I want a calculator that will give me 9.2 x 10 -30. But all the calculators I've used give me 0 due to unwanted rounding during the calculation. Even Python does this.

Does anyone know where I could get a calculator or program that can do the calculation I need? I would prefer something with a simple interface resembling a hand-held calculator (like what Python uses) rather than something that requires any kind of programming.

Thanks.

The calculator that comes with Windows can do it.

CS
 
  • #4
stewartcs said:
The calculator that comes with Windows can do it.

CS

Hey, you're right! Thanks!
 
  • #5
You can use, for free, PARI, the package for number theory. Just look it up on the internet. Normally the program I use goes to 28 decimal places. A little secret here, found in the tutorial is to use \pX to get X places of precision. You can set that for X=50, or X=500 for that matter.

However in the example you gave, depending upon the brackets, it sometimes insists on giving 9.1 followed by a long string of 9s. Even for 500 places its off at the last 7 giving 615927*10^-30.
 
  • #6
I second the Pari recommendation.

Code:
(15:02)(1+1e-20)^2-1-2e-20
%5 = 9.99999984 E-41

Code:
(15:02)\p 1000
   realprecision = 1001 significant digits (1000 digits displayed)
(15:02)(1+1e-400)^2-1-2e-400
%6 = 9.9999999999999999999999999999999999999999999999999999999999999999999999999
99999999999999999999999999999999999999999999999999999999999999999999999999999999
99999999999999999999999999999999999999999999999999999999999999999999999999999999
99999999999999999999999999999999999999999999999999999999999999999999999999999999
99999999999999999999999999999999999999999999999999999999999999999999999999999999
99999999999999999999999999999999999999999999999999999999999999999999999999999999
99999999999999999999999999999999999999999999999999999999999999999999999999999999
99999999999999999999999999999999999999999999999526402 E-801
 

FAQ: Calculator with LOTS of decimals

What is a "Calculator with LOTS of decimals"?

A "Calculator with LOTS of decimals" is a scientific calculator that has the ability to perform calculations with a high number of decimal places. This is useful for precise calculations in fields such as mathematics, physics, chemistry, and engineering.

How many decimal places can a "Calculator with LOTS of decimals" handle?

The number of decimal places a "Calculator with LOTS of decimals" can handle varies depending on the specific calculator. Some calculators can handle up to 10 digits after the decimal point, while others can handle up to 20 or more.

What types of calculations can a "Calculator with LOTS of decimals" perform?

A "Calculator with LOTS of decimals" can perform basic arithmetic operations such as addition, subtraction, multiplication, and division, as well as more complex functions such as logarithms, trigonometric functions, and exponential functions. It can also handle scientific notation and convert between different units of measurement.

How accurate are the results from a "Calculator with LOTS of decimals"?

The accuracy of the results from a "Calculator with LOTS of decimals" depends on the calculator's precision and the input values. Generally, the more decimal places a calculator can handle, the more accurate the results will be. However, it is important to note that no calculator can provide completely precise results, as there is always some degree of rounding error.

Are "Calculators with LOTS of decimals" only used by scientists?

No, "Calculators with LOTS of decimals" can be used by anyone who needs to perform precise calculations. While they are commonly used by scientists, they can also be useful for students, engineers, and anyone else who needs accurate results for their calculations.

Similar threads

Replies
10
Views
1K
Replies
12
Views
2K
Replies
6
Views
4K
Replies
8
Views
2K
Replies
44
Views
4K
Replies
8
Views
1K
Replies
7
Views
2K
Back
Top