C
Carl Gilbert
Hi
I am having difficulty calculating an angle using VB.NET
I have calculated opposite over adjacent but can not get the angle from this
value.
Example on a calculator:
Tan-1(1.234)=51
Tan-1(1.963)=63
Tan-1(84.5)=89
Tan-1(5.25)=79
Where the number in the brackets is opp/adj.
I have put Tan-1 to rather than just Tan as I beleive it has to be inverse.
However, I can not find a VB function to return the figures given above on
the right.
I have tried using Tan, Atan, Atan2, Tanh but always get figures between -2
and 2-3. I think these may be between -Pi and Pi.
Can anyone suggest a solution to get an angle from opp/adj in VB.NET?
Regards, Carl Gilbert
I am having difficulty calculating an angle using VB.NET
I have calculated opposite over adjacent but can not get the angle from this
value.
Example on a calculator:
Tan-1(1.234)=51
Tan-1(1.963)=63
Tan-1(84.5)=89
Tan-1(5.25)=79
Where the number in the brackets is opp/adj.
I have put Tan-1 to rather than just Tan as I beleive it has to be inverse.
However, I can not find a VB function to return the figures given above on
the right.
I have tried using Tan, Atan, Atan2, Tanh but always get figures between -2
and 2-3. I think these may be between -Pi and Pi.
Can anyone suggest a solution to get an angle from opp/adj in VB.NET?
Regards, Carl Gilbert