10-02-2024, 09:30 PM
Are you expecting F# and H# to be in degrees as well?
Out of the above, which is radian? Which is degree?
What is the value for F#? Is it 0 to 2 * _Pi? Or is it 0 to 360?
Same for H#.
And what do you expect back for I#?
Plug and play those commands into your formula until you get the degrees where you want them and the radians where you need them.
Code: (Select All)
I# = _R2D(_Asin(_D2R(F#) * Sin(_D2R(H#))))
Out of the above, which is radian? Which is degree?
What is the value for F#? Is it 0 to 2 * _Pi? Or is it 0 to 360?
Same for H#.
And what do you expect back for I#?
Plug and play those commands into your formula until you get the degrees where you want them and the radians where you need them.