码迷,mamicode.com
首页 >  
搜索关键字:sin    ( 938个结果
地里位置距离排序,根据经纬度
ROUND(6378.138 * 2 * ASIN(SQRT(POW(SIN((30.572269 * PI() / 180 - qw_ca_lat * PI() / 180) / 2),2) + COS(30.572269 * PI() / 180) * COS(qw_ca_lat * PI()  ...
分类:编程语言   时间:2017-06-20 18:08:14    阅读次数:188
数学公式在 iOS 中的表示
1、 三角函数 double sin (double);正弦 double cos (double);余弦 double tan (double);正切 2 、反三角函数 double asin (double); 结果介于[-PI/2, PI/2] double acos (double); 结果 ...
分类:移动开发   时间:2017-06-20 18:01:54    阅读次数:221
如何通过当前地区经纬度,搜索数据库存储的地区(距离最近的地区)
2.最关键的就是这条sql SELECT address_, longitude_, latitude_, ROUND(6378.138 * 2 * ASIN(SQRT(POW(SIN((? * PI() / 180 - latitude_ * PI() / 180) / 2), 2) + COS( ...
分类:数据库   时间:2017-06-14 10:16:09    阅读次数:302
生成CPU使用率 sin 曲线 控制cpu使用率 编程之美
入职Oracle 以后想着把之前写过的《编程之美》中控制CPU使用率曲线的程序再写一边, 可是总是由于入职须要学习的东西太多, 没有时间。 程序早就写好了。 最终有机会贴出来了。o(∩∩)o.. 最早的时候我採用C实现的效果并不好。 当时也没有认真调试。 最初的时候採用C#实现的效果反而不错, 由于 ...
分类:其他好文   时间:2017-06-12 14:44:01    阅读次数:157
1. 谁是照片picture VS photograph?
1. 谁是照片picture VS photograph? Photograph=photo+graph; graph是图像的意思。比如正弦函数图像即为 graph of y=sin(x)/graph of sine function 那么photograph中的photo又为何意? Photo在拉 ...
分类:其他好文   时间:2017-06-09 22:33:24    阅读次数:263
matlab
x = 0 :0.02:pi y = sin(x).*exp((2*x+3)) plot(x,y) ...
分类:其他好文   时间:2017-06-08 19:41:29    阅读次数:141
matlab 向量场线积分
syms t x y z F x=cos(t); y=sin(t); z=2*sin(t)^2-1; F=[x^2*y , (1/3)*x^3,x*y ] ; %场函数 V=[diff(x,t),diff(y,t),diff(z,t)]; r= int(dot(F,V),t,0,pi*2) %点积后 ...
分类:其他好文   时间:2017-06-06 10:57:54    阅读次数:168
Mysql 拿指定经纬度与数据库多条经纬度进行距离计算
公式例如以下,单位米: 第一点经纬度:lng1 lat1 第二点经纬度:lng2 lat2 round(6378.138*2*asin(sqrt(pow(sin( (lat1*pi()/180-lat2*pi()/180)/2),2)+cos(lat1*pi()/180)*cos(lat2*pi() ...
分类:数据库   时间:2017-06-05 23:51:34    阅读次数:262
julia/pyplot 绘图加入标签和标题
julia 调用matplotlib.pyplot 须要先using pycall 先安装pycall Pkg.add("PyCall")然后吧。。。 上代码把:(应该是通俗易懂的) x=[0.5:0.01:4.49] y=sin(x) using PyPlot using PyCall @pyim ...
分类:其他好文   时间:2017-06-05 12:47:10    阅读次数:530
Lua语言学习
1,语法 语句不用分号结尾 function ... end if .. else .. end 2, io库, string库, table库, OS库, 算术库, debug库 3, dofile来导入库文件内容 4.大小写敏感 5,单行命令 lua -e "print(math.sin(12) ...
分类:编程语言   时间:2017-06-05 10:29:52    阅读次数:139
938条   上一页 1 ... 37 38 39 40 41 ... 94 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!