Can't calculate angle a, when ๐‘ ๐‘–๐‘›(๐‘Ž)=2.

3 views (last 30 days)
How can i find angle a in radians, if ๐‘ ๐‘–๐‘›(๐‘Ž)=2, can ๐‘ ๐‘–๐‘› be more than 1?

Accepted Answer

Daniel Pollard
Daniel Pollard on 15 Apr 2021
If a is a real number, then sin(a) must be between -1 and 1. Calling
asin(2)
returns
1.5708 - 1.3170i
which is a complex number, so can't really represent an actual angle. Have a look at plots of sin and cos; they never go below -1 and never go above 1.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!