繁体   English   中英

有没有办法扭转阿丹的影响?

[英]is there a way to reverse the effect of atan?

想像我有这个

     Math.atan(RH/RL)
     //output for 5,3 : 1.0303768265243125

但是可以在不参考起点的情况下反转Math atan的效果并达到初始输入值

您可以使用Math.tan

 console.log(Math.atan(5 / 3)); console.log(Math.tan(1.0303768265243125)); 

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM