复习三角函数 正弦(sin):对边比斜边 sinA = a / c 余弦(cos):邻边比斜边 cosA = b / c 正切(tan):对边比邻边 tanA = a / b 余切(cot):邻边比对边 cotA = b / a 正割(sec):斜边比邻边 余割(csc):斜边比对边 正弦定理 si ...
分类:
编程语言 时间:
2018-02-27 14:00:25
阅读次数:
172
//经纬度转墨卡托 public void loc_to_mercator(double lon, double lat,ref double miX,ref double minY) { double x = lon; double y = Math.Log(Math.Tan((lat / 180... ...
分类:
其他好文 时间:
2018-02-05 23:14:44
阅读次数:
158
统计8080端口上有多少个TCP连接,命令: netstat –tan | grep 8080 | wc –l TCP连接中有多少个连接状态是ESTABLISHED,命令: netstat –tan | grep 8080 | grep ESTABLISHED| wc -l TCP连接中有多少个连接 ...
分类:
其他好文 时间:
2018-02-05 21:57:29
阅读次数:
232
``` #! /usr/bin/python # encoding=utf-8 """ @desc 下载momentum中的精美壁纸 @api https://d3cbihxaqsuq0s.cloudfront.net/ @author Tan """ import requests import ... ...
分类:
编程语言 时间:
2018-01-24 12:38:05
阅读次数:
179
Given an array of strings, group anagrams together. For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], Return: [ ["ate", "eat","tea"], [" ...
分类:
其他好文 时间:
2018-01-13 18:57:04
阅读次数:
213
Git: 学习git的网站: 设置个人环境:git config : 配置文件位置:~/.gitconfig 配置用户名:$ git config --global user.name "os-tanwn" 配置用户邮箱:$ git config --global user.email os-tan ...
分类:
其他好文 时间:
2017-12-21 12:09:03
阅读次数:
183
一、墨卡托投影google map使用的是EPSG:900913标准墨卡托投影(等角圆术地图投影)y = R*ln(tan(pi/4 + a/2))x = R*b当y等于piR时,投影图正好为一个正方形,可行到纬度为85.05113度,把以Google map的最大纬度为 一、墨卡托投影google ...
分类:
其他好文 时间:
2017-12-04 22:25:23
阅读次数:
358
Given an array of strings, group anagrams together. For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], Return: Note: All inputs will be i ...
分类:
其他好文 时间:
2017-11-04 11:29:34
阅读次数:
128
描述 tan() 返回x弧度的正弦值。 语法 以下是 tan() 方法的语法: 注意:tan()是不能直接访问的,需要导入 math 模块,然后通过 math 静态对象调用该方法。 参数 x -- 一个数值。 返回值 返回x弧度的正弦值,数值在 -1 到 1 之间。 实例 以下展示了使用 tan() ...
分类:
编程语言 时间:
2017-10-17 16:30:10
阅读次数:
352
“科学计算器”是一种操作简单、界面美观、功能较齐全的电子计算器的一种。这个项目的整个程序我们设计主要分为两个功能模块和十个类模块,其中两个功能模块分别是:计算结果显示模块、计算器按键模块,十个类模块分别是:加、减、乘、除、归零、等于、sin、cos、tan、进制转换。 1.已经实现程序界面,显示如下 ...
分类:
其他好文 时间:
2017-10-13 22:24:05
阅读次数:
168