MATLAB Answers

Can't calculate angle a, when 𝑠𝑖𝑛(𝑎)=2.

1 view (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!

Translated by