
Square root - Wikipedia
In mathematics, a square root of a number x is a number y such that =; in other words, a number y whose square (the result of multiplying the number by itself, or ) is x. [1] For example, 4 and …
Python math.sqrt() 方法 - 菜鸟教程
Python math.sqrt (x) 方法返回 x 的平方根。 数字必须大于等于 0。 x -- 必需,数字。 如果 x 不是一个数字,返回 TypeError。 如果数字小于 0,则返回 ValueError。 返回一个浮点数,表示一 …
Math.sqrt() - JavaScript | MDN - MDN Web Docs
2025年2月11日 · The Math.sqrt() static method returns the square root of a number. That is. A number greater than or equal to 0. The square root of x, a nonnegative number. If x < 0, …
Python sqrt() 函数 - 菜鸟教程
sqrt () 方法返回数字x的平方根。 注意: sqrt ()是不能直接访问的,需要导入 math 模块,通过静态对象调用该方法。 x -- 数值表达式。 返回数字x的平方根。 Python sqrt () 函数 Python 数字 …
The "Square Root (√)" Symbol in Mathematics
The √ symbol, universally recognized as the "Square Root", is one of the fundamental symbols in mathematics, representing the operation to find a number that, when multiplied by itself, yields …
JavaScript sqrt() 方法 - 菜鸟教程
JavaScript sqrt () 方法 JavaScript Math 对象 实例 返回一个数的平方根: Math.sqrt (9); 输出结果: 3 尝试一下 » 定义和用法 sqrt () 方法可返回一个数的平方根。 浏览器支持 所有主要浏览器 …
Python的math.sqrt() 函数 - CSDN博客
2024年6月6日 · Python的math.sqrt()函数是一个数学函数,它用于计算给定数字的平方根。它需要一个数字作为参数,并返回该数字的平方根。该函数属于Python标准库,因此不需要额外安装 …
JavaScript Math.sqrt() 方法 - 菜鸟教程
Math.sqrt()方法返回一个数的平方根。 如果传递的参数为负,则Math.sqrt()返回NaN。 因为sqrt()是Math的静态方法,所以您始终将其用作 Math.sqrt() ,而不是将其用作创建的Math对象 …
深入理解sqr函数:使用方法与技巧 (sqr函数使用方法) - 函数助手
2024年11月9日 · 本文详细介绍Python中`sqr`函数的使用方法,包括基本使用、处理复数以及注意事项,适用于需要进行平方根计算的编程场景。 函数助手 函数使用
C# Math.Sqrt()用法及代码示例 - 纯净天空
在C#中,Math.Sqrt ()是Math类方法,用于计算指定数字的平方根。 Sqrt是较慢的计算。 可以将其缓存以提高性能。 d:要计算其平方根的数字,此参数的类型为System.Double。 返回类型: …