13.1: Inverse trigonometry

Introduction to Autonomous Robots · LibreTexts

0%

Contents

    Text

    Size
    100%
    Theme
    Typeface
    Line length
    Spacing

    From LibreTexts, under CC BY-NC 4.0, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.

    13.1: Inverse trigonometry

    In order to calculate an angle given two edges, one uses inverse functions sin−1, cos−1, and tan−1 . (Not to be confused with 1/sin etc.) As functions can, by definition, only map one value to exactly one other value, sin−1 and tan−1 are only defined in the interval [−90°; +90° ] and cos−1 is defined in the interval [0°; 180° ]. This makes it impossible to calculate angles in the 2nd and 3rd, or the 3rd and 4th quadrant, respectively (Figure 13.1). In order to overcome this problem, most programming languages implement a function atan2(opposite,adjacent), which evaluates the sign of the numerator and denumerator, provided as two separate parameters.


    This page titled 13.1: Inverse trigonometry was last modified on Tue, 10 Aug 2021 01:33:43 GMT and is shared under a CC BY-NC 4.0 license and was authored, remixed, and/or curated by Nikolaus Correll via source content that was edited to the style and standards of the LibreTexts platform.