Ask Your Question
1

How to change sqrt(5) to decimal?

asked 2019-03-07 10:16:54 -0500

john gravatar image

How can i typing to change root5 to decimal?

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
2

answered 2019-03-07 12:30:13 -0500

BrentBaccala gravatar image

Try RR(sqrt(5)). The default precision is 53 bits, but that can be changed. For 100 bits of precision, use RealField(100)(sqrt(5))

edit flag offensive delete link more

Comments

1

or

a=sqrt(5)
a.n(400)
FrédéricC gravatar imageFrédéricC ( 2019-03-07 13:14:05 -0500 )edit
1

More detail, such as controlling the number of digits or precision, can be found in the documentation here. On this site, here gives some options.

dazedANDconfused gravatar imagedazedANDconfused ( 2019-03-08 07:58:14 -0500 )edit
1

answered 2019-03-11 00:12:45 -0500

nur_hamid gravatar image

simply by

float(sqrt(5))

or

RR(sqrt(5))
edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2019-03-07 10:16:54 -0500

Seen: 95 times

Last updated: Mar 11