I have been reading for the last hour about different ways to take an nth root in sage. I am having trouble finding a way to do so for very large numbers.
Any help would be much appreciated. I have tried ^(1/n) and pow and a number of others.
I have been reading for the last hour about different ways to take an nth root in sage. I am having trouble finding a way to do so for very large numbers.
Any help would be much appreciated. I have tried ^(1/n) and pow and a number of others.
If you are looking for a numerical approximation, there are several routes open to you. Here are two.
a.n(digits=100), like here383.instead of383and then do the rootMore advanced options include setting a "real field" with a certain accuracy like
R=RealField(1000)and using that ...