要算一组值,已知起点坐标为(0,0).终点坐标为(127,1738695440),中间有无数组值,按正切函数(貌似是这么叫吧)。球这个公式如何处理,我可以实现输入X或Y值得到对应的Y或X值。
1
orzfly Oct 5, 2013 y = tan(arctan(1738695440) / 127 * x)
http://www.wolframalpha.com/input/?i=y+%3D+tan%28arctan%281738695440%29+%2F+127+*+x%29&dataset=&equal=Submit |