有没有办法扭转阿坦的影响?
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));
想象一下我有这个
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));