另外,计算平方根。
我可以检验它,因此如果这是其它计算的一部分我想知道,它能否找到一个完全平方根呢?
I can check it, so if this was part of some other computation, I want to know, did it find a perfect square or not?
,这是我们写的计算平方根的代码,计算完全全平方根的。
It's the piece of code we wrote for computing square roots, square roots of actually perfect squares.
假设我想在一大段代码中,计算很多次平方根。
Suppose I want to compute square roots a lot of places in a big chunk of code.
牛顿法是算法的一个例子:通过一系列机械的步骤来解决一类问题(在本章中是用来计算平方根)。
Newton's method is an example of an algorithm: it is a mechanical process for solving a category of problems (in this case, computing square roots).
在结束此话题之前,我可以举一个有关前置和后置条件的简单例子:一个例程要计算一个实数的平方根。
Before moving on I can describe a very simple example of pre - and post-conditions: a routine that computes the square root of a real number.
通过这种翻译,欧洲数学家开始接触三角形的计算模型,同样也有关于球体,矩形和立方根的卷册。
Through this translation, European mathematicians got to know methods for calculating the areas of triangles, volumes of spheres as well as square and cube root.
这个脚本计算了5的平方根,但没存储下来,也没有显示出来,所以就根本没用了。
This script computes the square root of 5, but since it doesn't store or display the result, it is not very useful.
此示例通过对两个变量应用SQUARE函数然后计算其和的平方根,返回直角三角形第三边的长度。
This example returns the length of the third side of a right triangle by applying the SQUARE function to two variables and then calculating the square root of their sum.
利用傅里叶级数对其进行了频谱分析,计算了次数小于19次的各次谐波电流均方根值的频谱数据。
Using Fourier series, the frequency spectrum analysis was analyzed, and spectrum data of harmony wave less than 19 were calculated.
当夏洛特·霍布斯决定教她11岁的学生用来计算负数平方根的虚数时,她知道这是一个艰巨的任务。
WHEN Charlotte Hobbs decided to teach her 11-year-old pupil about the "imaginary" maths needed to work out the square root of a negative number, she knew it would be a stretch.
然后用结构函数和均方根两种方法对理论和实际的轮廓曲线进行了分形表征和分维计算。
And then, fractal characterizations and dimension calculations were conducted in two kinds of profile curves with the methods of the structure function and the mean square root.
它也可以计算百分数和平方根。
先将各因素两两比较,得到量化的判断矩阵,再计算判断矩阵每行所有元素的方根值。
The factors were compared with each other at first to get the quantized judgment matrix; then, the root values of all elements in every row of matrix were calculated.
除了用单行数值比较法外,还计算了重组和数学模型之间的归一化均方根偏差、归一化平均偏差和最大偏差。
Besides a comparison of the characteristic line, the normalized mean square root error, the normalized mean error, and the maximum deviation are calculated and discussed.
首先,计算的核结合能和核均方根半径结果,在有实验数据进行比较的范围内,相当好地与已有实验数据值符合;
Firstly, our results show that theoretical binding energies and nuclear root mean square radii are in good agreement with the available experimental data.
本文给出了在预定精确度下用迭代法计算算术平方根的方法,并分析了迭代的误差,给出了预定精确度下初始值的一个选取范围。
This paper gives a method to calculate the arithmetic square root by iteration with given accuracy, analyses the iteration error and provides a selected range of initial value with the given accuracy.
现行建筑内部给水、排水设计秒流量计算方法有平方根法、经验法和概率法等。
Currently the methods of design flow rate for domestic drainage which are popularly used in the world include square root method, experience method and probability method.
采用滤失速度与滤失时间的平方根成反比的经典滤失理论计算水平缝中受净压力影响的压裂液滤失速度会带来较大误差。
Classic filtration theory will cause bigger errors to calculate filtration rate of fracturing fluid influenced by net pressure of horizontal fractures.
证明了:若用QR分解所作的算法无需计算平方根,则相应的迭代加细算法也无需计算平方根。
It is shown that, if algorithms for performing the QR decomposition are free from calculation of square root, the related iterative refinement algorithms can also be square root free.
本文提出的基于起伏地表的叠加速度分析方法,应用双平方根方程计算反射波的旅行时间,可适用于地形起伏剧烈地区。
The method of stack velocity analysis based on relief surface presented in the paper uses double-square-root equation to compute the travel time of reflections, which is suitable to use in the area w.
通过对计算机模拟漫射体产生离面倾斜的时变散斑图,计算其均方根误差值,进行了验证。
The out-of-plane tilting speckle interferogram is computer-simulated and the RMS phase error is calculated to verify reliability.
为了解决滤波器数值计算不稳定问题,实践中提出并应用了许多方法,如自适应滤波、固定增益滤波、平方根滤波等。
To deal with filter value calculation instability, people put forward and carry out lots of methods in practice such as self-adaptive filter, fixed amplitude filter and square root filter, etc.
计算结果与传统的凝固平方根定律相吻合,从而可确定平方根定律的凝固系数。
The results calculated with the given formula are almost the same as that calculated with the solidification square root law , so that the solidification coefficient can be determined.
通过模拟计算,给出低频位相噪声的均方根梯度与聚焦光斑尺寸的初步规律。
The primary relationship between the size of the focal sp ot and RMS of phase gradient was also given by simulation calculation.
第二个阶段计算其输入的平方根。
以南京长江越江隧道初步设计方案(沉管段)为例,计算了其在高斯平稳随机过程地震动作用下的动力反应均方根值和纵向抗震动力可靠度。
The Nanjing Changjiang Tunnel is used as an example to compute the square-mean-root responses and the longitudinal aseismic reliabilities under stationary random earthquake loads.
教授提出的驾驶室振动加速度均方根值计算公式的基础上,给出了新的计算公式。
This paper gives out'a new calculating formula, based on analysing the root mean square value formula of vibration acceptation of crane cab which is proposed by Russian M.
用加窗的DFT方法,从正弦波的DFT主瓣的幅度来计算正弦波的均方根值(RMS),最好使用最小能量窗。
It's better to select the minimum energy window to calculate RMS of sine wave by using the window DFT on the basis of the amplitude of sine wave DFT main lobe.
在调试期间,我方根据PID调节器的整定原则,得到两组可以计算五个整定参数的公式,现场结果证明所提出的计算方法和整定原则是很成功的。
During the shakedown period, the authors derived formulas to calculate the above set parameters and proposed a new concept to tune the PID controller.
应用推荐