//取自ROSE
//4为输入框,5为接收框
//2次方根
ug(4,"text",input)
java(re,null,"java.lang.Math.sqrt","double",input)
us(5,"text",re)
//3次方根
ug(4,"text",input)
sn(1/3,v0)
java(re,null,"java.lang.Math.pow","double",input,"double",v0)
us(5,"text",re)
//正弦函数
ug(4,"text",in)
sn(in,v0)
java(r,null,"java.lang.Math.sin","double",v0)
us(5,"text",r)
//双曲正弦函数
ug(4,"text",in)
sn(in,v0)
java(r,null,"java.lang.Math.sinh","double",v0)
us(5,"text",r)
//余弦函数
ug(4,"text",in)
sn(in,v0)
java(r,null,"java.lang.Math.cos","double",v0)
us(5,"text",r)
//双曲余弦函数
ug(4,"text",in)
sn(in,v0)
java(r,null,"java.lang.Math.cosh","double",v0)
us(5,"text",r)
//正切函数
ug(4,"text",in)
sn(in,v0)
java(r,null,"java.lang.Math.tan","double",v0)
us(5,"text",r)
//双曲正切函数
ug(4,"text",in)
sn(in,v0)
java(r,null,"java.lang.Math.tanh","double",v0)
us(5,"text",r)
//返回一个数值的反正弦(单位为弧度)asin
ug(4,"text",in)
java(r,null,"java.lang.Math.asin","double",in)
us(5,"text",r)
f(r=="NaN")
{
us(5,"text","输入-1至1的实数")
}
//返回一个数的反余弦值(单位为弧度)acos
ug(4,"text",in)
java(r,null,"java.lang.Math.acos","double",in)
us(5,"text",r)
f(r=="NaN")
{
us(5,"text","输入-1至1的实数")
}
//返回一个数值的反正切(以弧度为单位)atan
ug(4,"text",in)
java(r,null,"java.lang.Math.atan","double",in)
us(5,"text",r)
//对数
ug(4,"text",in)
java(r,null,"java.lang.Math.log","double",in)
us(5,"text",r)
//绝对值
ug(4,"text",in)
sn(in,in)
java(r,null,"java.lang.Math.abs","double",in)
us(5,"text",r)
//四舍五入
ug(4,"text",in)
sn(in,in)
java(r,null,"java.lang.Math.round","double",in)
us(5,"text",r)
//向下取整
ug(4,"text",in)
java(r,null,"java.lang.Math.floor","double",in)
us(5,"text",r)
//向上取整
ug(4,"text",in)
java(r,null,"java.lang.Math.ceil","double",in)
us(5,"text",r)
iApp一本通