Learn R Programming

Tex4exams (version 0.1.2)

simpRad: Simplify square roots of positive integers

Description

SimpRad uses the package 'numbers' to simplify square roots of positive integers.

Usage

simpRad(n)

Value

The function returns a string of TeX code for radical in simplified form.

Arguments

n

a positive integer.

See Also

radical, primeFactors

Examples

Run this code
n <- sample(c(4:100),1)
simpRad(n)

Run the code above in your browser using DataLab