# Arbitrary Precision Physics Calculation

I would like to do some physics problems in high precision. I cannot find any examples or sample worksheets that are accessable on a basic level. I just want real numbers ( including large and small in scientific notation ) I am pretty sure this is not too hard, perhaps it is too simple to be explained? Any help would be appreciated.

edit retag close merge delete

Perhaps it would help if you described one specific problem that you are working on.

( 2012-02-16 08:04:24 -0500 )edit

Sort by ยป oldest newest most voted

Your question is a little vague. We do have arbitrary (fixed) precision real and complex numbers.

sage: R = RealField(1000)
sage: a = R(5.0000001^5.0000001)
sage: a
3125.00081544945942368940450251102447509765625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
sage: a^5-log(1/a)+e^sqrt(a)
1.89584501327280735942937534086913418233822028367104009709035254982102232998750469378667609600087589163781468732285228512947454542091917091499584315533762570369369905169521733670930846238772029824301668021456411893832087472189344604700518827443459286621575319448702380078978194800389265094467157413734e24


See RealField? for more info.

more

1

By messing around I got my calcs to work, and are consistent with the above. I just find this, and even more the published material a bit abstract, and I was looking for just a bit more. I may publish a worksheet for others in the future which will illustrate these basic features.

( 2012-02-16 08:05:54 -0500 )edit

That would be great! It's possible there is stuff out there, but I just wasn't sure what you were looking for.

( 2012-02-16 15:38:10 -0500 )edit