Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
isqrt - integer square root
iroot - integer n^th root
Calling Sequence
isqrt(x)
iroot(x, n, 'exact')
Parameters
x
-
integer
n
exact
(optional) name
Description
The isqrt function computes an integer approximation to the square root of x. The approximation is exact for perfect squares, and the error is less than 1 otherwise. Note: if , isqrt(x) returns 0.
The iroot function computes an integer approximation to the n^th root of x. The approximation is exact for perfect powers, and the error is less than 1 otherwise. If the optional third argument is given, it is set to true or false to show whether the root is exact or not. Note: if , and n is even, iroot(x, n) returns 0; if , and n is odd, iroot(x, n) returns - iroot(- x, n).
Thread Safety
The isqrt command is thread-safe as of Maple 15.
For more information on thread safety, see index/threadsafe.
Examples
If x<0, isqrt(x) returns 0.
The iroot command will calculate odd roots of negative numbers.
See Also
issqr, numtheory[mroot], numtheory[msqrt], psqrt, sqrt
Download Help Document