Master安装
rpm-Uvhhttp://ftp.linux.ncsu.edu/pub/epel/6/i386/epel-release-6-8.noarch.rpm
yuminstallsalt-master
[root@COS-S1~]#chkconfigsalt-masteron
[root@COS-S1~]#servicesalt-masterstart
Startingsalt-masterdaemon:[OK]
Minion
rpm-Uvhhttp://ftp.linux.ncsu.e..
分类:
其他好文 时间:
2015-04-11 21:03:18
阅读次数:
139
正南正北,只要相加经纬度就可以了。 图中发现房子是斜的,28°之后房子正了。 为了计算下个窗户的经纬度,从远方看出去的位置,已知角度28°,斜边移动3.4米。 b=cos(28)*34 b=30.0202181572035160290...
分类:
其他好文 时间:
2015-04-08 14:57:59
阅读次数:
680
Math.sin(x) x 的正玄值。返回值在 -1.0 到 1.0 之间;Math.cos(x)x 的余弦值。返回的是 -1.0 到 1.0 之间的数;这两个函数中的X 都是指的“弧度”而非“角度”,弧度的计算公式为: 2*PI/360*角度;30° 角度 的弧度 = 2*PI/360*30如何得...
分类:
编程语言 时间:
2015-04-07 19:01:34
阅读次数:
195
基础的树链剖分题目,不过是边权,可以向下映射成点权或者按边剖分。
VIEW CODE
#include
#include
#include
#include
#include
#include
using namespace std;
const int mmax=10010;
const int inf=0x3fffffff;
struct edge
{
int st,en,cos...
分类:
其他好文 时间:
2015-04-05 17:35:02
阅读次数:
116
Struts2因License的原因早就不再支持Cos上传了,具体见http://struts.apache.org/2.1.6/docs/file-upload.html的官方说明:There was a third alternative, cos, but it was removed due...
分类:
其他好文 时间:
2015-03-19 06:15:57
阅读次数:
180
1 三角函数double sin (double);double cos (double);double tan (double);2 反三角函数double asin (double); 结果介于[-PI/2, PI/2]double acos (double); 结果介于[0, PI]doubl...
分类:
其他好文 时间:
2015-03-19 00:30:48
阅读次数:
182
一、技术方面(非接触式IC卡) 1、逻辑加密卡又叫存储卡,卡内的集成电路具有加密逻辑和EEPROM(电可擦除可编程只读存储器)。 2、CPU卡又叫智能卡,卡内的集成电路包括中央处理器(CPU)、EEPROM、随机存储器(ROM)、以及固化在只读存储器(ROM)中的片内操作系统(COS),有的...
分类:
其他好文 时间:
2015-03-17 17:50:48
阅读次数:
145
\(r=\frac{l}{e\cos \theta+1}\), where $l$ is the semi-latus rectum, and \(e\) is the eccentricity. so \(\frac{1}{r}=\frac el\cos\theta+\frac 1l\). Sin...
分类:
其他好文 时间:
2015-03-16 06:15:40
阅读次数:
201
设 $$\bex x_n=\sum_{k=2}^n \frac{\cos k}{k(k-1)}, \eex$$ 是判断 $\sed{x_n}$ 是否收敛?
分类:
其他好文 时间:
2015-03-13 18:04:44
阅读次数:
123
Sin(A+B)=SinA*CosB+SinB*CosA?
Sin(A-B)=SinA*CosB-SinB*CosA?
Cos(A+B)=CosA*CosB-SinA*SinB?
Cos(A-B)=CosA*CosB+SinA*SinB?
Tan(A+B)=(TanA+TanB)/(1-TanA*TanB)?
Tan(A-B)=(TanA-T...
分类:
其他好文 时间:
2015-03-13 16:49:10
阅读次数:
144