Prince Hamza
Prince Hamza

Reputation: 1748

is there a way to reverse the effect of atan?

imagine i have this

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

but is it possible to reverse the effect of Math atan without the reference to starting point & reach the initial input value

Upvotes: 0

Views: 87

Answers (1)

Nina Scholz
Nina Scholz

Reputation: 386578

You could use Math.tan

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

Upvotes: 2

Related Questions