function getDistanceBetweenPointsNew($latitude1, $longitude1, $latitude2, $longitude2) { $theta = $longitude1 - $longitude2; $miles = (sin(deg2r...
分类:
其他好文 时间:
2015-07-30 10:44:48
阅读次数:
103
The formula is : Y = (y - 128) * C /128 + (B - 128) + 128. //About add 128 is ture or error ? Cb = [ (Cb - 128)*cos(H) + (Cr - 128)*sin(H)] * S/64 ...
分类:
其他好文 时间:
2015-07-24 20:44:38
阅读次数:
125
今天在VS2013中调试SOCKET编程时,遇到了点小问题:
问题代码为:
inet_ntoa(addrClient.sin_addr);
生成错误消息为:
error C4996: 'inet_ntoa': Use inet_ntop() or InetNtop() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable...
分类:
Web程序 时间:
2015-07-24 18:31:09
阅读次数:
868
numpy中提供了不少数学中矩阵的运算、构造函数。闭上眼睛想一想,发现其中常用的也就是那么几个:cos, sin, mean, dot,
max,min, outer,argsort,ones,zeros,arrange,reshape,fft………等。想了半天,可以也不超过30个左右常用函数。但是numpy的确博大精深:查看文档发现有大概586个方法或属性!今天,我就记录一下numpy中,矩阵运...
分类:
其他好文 时间:
2015-07-24 01:32:23
阅读次数:
193
试证: $$\bex 0<\int_0^\infty \frac{\sin t}{\ln(1+x+t)}\rd t<\frac{2}{\ln(1+x)}. \eex$$
分类:
其他好文 时间:
2015-07-22 18:18:01
阅读次数:
89
clear all;clc;x=-pi/2:pi/50:pi;y=sin(x);plot(x,y);grid on;fm=max(y)id=find(y==fm);xm=x(id)转自:http://zhidao.baidu.com/question/547247688.html另一种方法:[~,f...
分类:
其他好文 时间:
2015-07-21 14:42:05
阅读次数:
173
clc;clear all;close all;% %% 画极坐标系% x = 0:.01 * pi:0.5 * pi;% y = cos(x) + sqrt(-1) * sin(x);% plot(y*2,'r','linewidth',5);% hold on% warning('off')% ...
分类:
其他好文 时间:
2015-07-18 22:31:09
阅读次数:
228
问题碰到这样的问题,感觉很神奇。
定子方程,短幅内摆线方程:
{x1y1=(R?r)sinτ+esin(z2τ)?resinθ=(R?r)cosτ?ecos(z2τ)+recosθ\left\{\quad
\begin{array}{rl}
x_1&=(R-r) \sin \tau+e \sin \left(z_2 \tau\right)-r_e \sin \theta \ y_1&=(...
分类:
其他好文 时间:
2015-07-18 18:38:21
阅读次数:
204
求 $$\bex \sex{\ba{cc} e^{-i\tt}&2i\sin \tt\\ 0&e^{i\tt} \ea}^n. \eex$$
分类:
其他好文 时间:
2015-07-18 17:02:43
阅读次数:
125
java.math.Math类常用的常量和方法:Math.PI 记录的圆周率Math.E记录e的常量Math.abs 求绝对值Math.sin 正弦函数 Math.asin 反正弦函数Math.cos 余弦函数 Math.acos 反余弦函数Math.tan 正切函数 Math.atan 反正切函数...
分类:
其他好文 时间:
2015-07-17 11:48:07
阅读次数:
115