powered by
SimpRad uses the package 'numbers' to simplify square roots of positive integers.
simpRad(n)
The function returns a string of TeX code for radical in simplified form.
a positive integer.
radical, primeFactors
n <- sample(c(4:100),1) simpRad(n)
Run the code above in your browser using DataLab