码迷,mamicode.com
首页 >  
搜索关键字:tan    ( 294个结果
JavaScript中弧度和角度的转换
复习三角函数 正弦(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
查看tcp各个连接状态的数量
统计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
用Python下载momentum中的精美壁纸
``` #! /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
LeetCode.49 - Group Anagrams
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常用命令2
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中的瓦片
一、墨卡托投影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
49. Group Anagrams
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
Python tan() 函数
描述 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
294条   上一页 1 ... 6 7 8 9 10 ... 30 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!