Ask Your Question

Arbitrary Precision Physics Calculation

asked 2012-02-15 08:10:52 -0500

russ_hensel gravatar image

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 flag offensive close merge delete


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

Mike Witt gravatar imageMike Witt ( 2012-02-16 08:04:24 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2012-02-15 10:07:15 -0500

kcrisman gravatar image

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
sage: a^5-log(1/a)+e^sqrt(a)

See RealField? for more info.

edit flag offensive delete link more



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.

russ_hensel gravatar imageruss_hensel ( 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.

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-02-15 08:10:52 -0500

Seen: 419 times

Last updated: Feb 15 '12