I noticed that when I potentiate some numbers in Python, they are not the same after the inverse operation (root), for example: >>> n = 2810 ...
I noticed that when I potentiate some numbers in Python, they are not the same after the inverse operation (root), for example: >>> n = 2810 ...
What is the best way to take the n-th root of an arbitrary number in rust? The num crate for example only allows to take n-th principal roots of integ ...
Hello I need help solving this task, if anyone had a similar problem it would help me a lot. I made a program that calculates the nth root of a numbe ...
I'm trying to write this code for an after effects expression that will move an object a calculated x distance over n number of frames. The movement o ...
I am trying to use the nthroot function from the pracma package. However, whenever I run it I get an error: Error in nthroot(x, 5) : could not fin ...
I'm looking for Python Nth root function/algorithm but before you post: NO INTEGER ROOT, HELL! Where could I obtain at least a guide how to program Nt ...
I found the following answer here on Stackoverflow: https://stackoverflow.com/a/356187/1829329 But it only works for integers as n in nth root: r ...
I was trying to get a cubic root in java using Math.pow(n, 1.0/3) but because it divides doubles, it doesn't return the exact answer. For example, wit ...
I am trying this problem for a while but getting wrong answer again and again. number can be very large <=2^2014. 22086. Prime Power Test Explanat ...
I am calculating the n'th root of a positive integer using standard library method pow() .Here is the snippet from my program : But while finding c ...
How can I calculate the n-th root of an integer using PHP/GMP? Although I found a function called gmp_root(a, nth) in the PHP source, it seems that t ...
I use below method to calculate Nth Root of double value, but it takes a lot of time for calculating the 240th root. I found out about Newton method, ...
I'm trying to make a simple code for power 12 to 4(12 ** 4) . I have the output num (20736) but when I want to figure returns (20736) to its original ...
x' is the nth root of y if x' is the largest integer such that x^n <= y. x, x' and y are all integers. Is there any efficient way to compute such n ...
I am working on a way to calculate the n th root of a number. However, I am having problems with the n th root of negative numbers. Most people s ...
What is the fastest way to calculate the n-th root of a number? I'm aware of the Try and Fail method, but I need a faster algorithm. ...
I need a way to compute the nth root of a long integer in Python. I tried pow(m, 1.0/n), but it doesn't work: OverflowError: long int too large ...