Can't calculate angle a, when 𝑠𝑖𝑛(𝑎)=2.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
gio kapanadze
le 15 Avr 2021
Réponse apportée : Daniel Pollard
le 15 Avr 2021
How can i find angle a in radians, if 𝑠𝑖𝑛(𝑎)=2, can 𝑠𝑖𝑛 be more than 1?
0 commentaires
Réponse acceptée
Daniel Pollard
le 15 Avr 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.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Special Functions dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!