腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
3
回答
Math.sqrt
函数
、
"+ }
Math.sqrt
(input.charAt(0))当我尝试9
浏览 2
提问于2011-10-10
得票数 1
回答已采纳
1
回答
JavaScript
Math.sqrt
性能
、
、
、
、
(var j = 0; j < height; ++j) { array[i][j] =
Math.sqrt
浏览 0
提问于2016-05-24
得票数 5
1
回答
Math.sqrt
()缩写javascript
我的问题是,在javascript中,有任何方法可以将缩写为
Math.sqrt
()到sqrt()var value =
Math.sqrt
(10)var value = sqrt(
浏览 4
提问于2021-06-14
得票数 0
2
回答
未知
math.sqrt
误差
、
import math print ("The square root of you number is: " + int(
math.sqrt
浏览 2
提问于2013-12-26
得票数 0
回答已采纳
5
回答
Math.Sqrt
(x);不工作?
、
、
、
x = TextBox.getText();
Math.sqrt
浏览 0
提问于2012-07-31
得票数 2
回答已采纳
1
回答
Angularjs用变量计算jquery数学库表达式
、
、
(((24/((((23)*((5-1))*3.7)/2.68)+((((5-1))/((
Math.sqrt
((1.3*3.4*((2+273)))/56))))*
Math.sqrt
((((52)*(()*
Math.sqrt
((((52)*((2+273)))/(
Math.sqrt
(2)*(3.14)*(Math.pow(3,2))*(9)))/2)))))))+((((4.5+0.38)*((0.03-1))/((
Math.sqrt
(
浏览 2
提问于2016-01-26
得票数 0
回答已采纳
1
回答
math.sqrt
返回0
、
、
、
一开始,我试着像这样写代码:它返回0.0。然后我尝试拆分变量来检查我哪里做错了,如下所示: double dRightLeft =
Math.Sqrt
浏览 32
提问于2015-06-26
得票数 0
2
回答
Python
math.sqrt
丢失精度
我试图得到长int的sqrt值。print sqrt(410241186411534352) 它还了640500731.0,实际上是640500730.999999993.精确的。怎么解决这个问题?from math import sqrtprint Decimal(410241186411534352).sqrt()
浏览 1
提问于2013-03-29
得票数 4
回答已采纳
6
回答
舍入** 0.5和
math.sqrt
、
、
在Python中,是
math.sqrt
(n) 当一个数字是一个完美的平方时能被识别吗?
浏览 5
提问于2013-06-07
得票数 2
回答已采纳
1
回答
使用Java确定3条边是否形成有效三角形的程序
、
、
isRightTriangle(5,4,3)→true boolean isRightTriangle(int a, int b, int c) { if((
Math.sqrt
((double)a)+
Math.sqrt
((double)b))==
Math.sqrt
((double)c)){ } if((
Math.sqrt
((double)b
浏览 28
提问于2019-10-08
得票数 0
2
回答
(int)
Math.sqrt
(n)比(int) Math.floor(
Math.sqrt
(n))慢得多
、
、
、
我正在查看我的代码,希望改进它的性能,然后我看到了以下内容:哦,好的,我不需要调用Math.floor,因为转换从
Math.sqrt
(n)返回的double也会有效地降低这个数字(因为sqrt永远不会返回负数)。于是我就放弃了给Math.floor的电话:坐回去,自满地看着代码运行并执行大约10%!比以前的版本更糟。这让我大吃一惊。
浏览 5
提问于2013-11-28
得票数 6
回答已采纳
1
回答
math.sqrt
() ValueError:数学域错误
、
、
我试图用matplotlib和微积分绘制一个图,但是f(x)函数的
math.sqrt
()不工作。我需要平方根2*x-1。如代码所示import math return
math.sqrt
(2*x-1) plt.plot([0
浏览 2
提问于2018-10-16
得票数 1
回答已采纳
1
回答
如何匹配数组的数据类型,以便在PYTHON中操作和绘制函数,以及如何确保数组匹配长度?
、
、
、
、
(6))*d 244 a_5 = [4*(1/(
math.sqrt
(10+2*
math.sqrt
(5))))*((6))*d a_5 = [4*(1/(
math.sqrt
(10+2*
math.sqrt
(5))))*((1/2)*d)2/(
math.sq
浏览 3
提问于2021-03-01
得票数 0
回答已采纳
1
回答
使用“`Reduce`”的列表中平方根的乘积
、
、
arrays.add(9.0); 9.797958971132712>>>
math.sqrt
(
math.sqrt
(4)*
m
浏览 1
提问于2017-03-09
得票数 1
回答已采纳
1
回答
TypeError: float()参数必须是字符串或实数,而不是'dict‘
、
、
(2), "sin 90" : 1, "cos 30":
math.sqrt
(3)/2, "cos 60" : 1/2, "cos 90&quo
浏览 7
提问于2022-02-19
得票数 0
1
回答
错误:类型不兼容:可能存在从双精度到浮点型的有损转换
、
、
、
public static float getAreaOfPentagon(float l) { float area =
Math.sqrt
(5 * (5 + 2 * (
Math.sqrt
(5))
浏览 29
提问于2020-09-28
得票数 0
回答已采纳
3
回答
如何在Python中测试一个数字是否是平方数?
我的代码是 print "Your netork can't havethat number of nodes" 当然这是行不通的,因为
math.sqrt
总是返回一个浮点数。
浏览 2
提问于2013-05-08
得票数 3
2
回答
TypeError:“浮点”对象不是Bhas卡拉程序可调用的错误
*b - 4 * a * cif d < 0:elif d ==0: print('o valor e '), print(raiz) raiz = (-1*b +
math.sqrt
(d))(2 * a) raiz1 = (-1*b -
math
浏览 4
提问于2015-01-25
得票数 1
回答已采纳
1
回答
TypeError:不能将表达式转换为浮动定积分
、
、
、
T = sympy.Symbol('T')
浏览 6
提问于2020-05-19
得票数 0
回答已采纳
2
回答
在d3上对重复方法获得更好的性能
、
、
例如,我需要为每一次攻击计算我的数据的
Math.sqrt
,如何只计算一次
Math.sqrt
(d)?circle = svgContainer.data(dataJson).append("ellipse") return
Math.sqrt
(d) + 1 .attr("cy", function(d) { return
Math.sqrt
(d) + 2
浏览 2
提问于2017-09-01
得票数 3
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
JavaScript用Math.sqrt求平方根
用勾股定理画圆
乌龟编程精讲版-20
在Python中导入模块的四种方法
改良版python计算TE、TM截止波长
热门
标签
更多标签
云服务器
ICP备案
对象存储
实时音视频
即时通信 IM
活动推荐
运营活动
广告
关闭
领券