Skip to main content
Mathematics LibreTexts

26.4: Evaluating Trigonometric Functions Using Technology

  • Page ID
    190997
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \(\newcommand{\longvect}{\overrightarrow}\)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\ket}[1]{\left| #1 \right>}\)
    \(\newcommand{\bra}[1]{\left< #1 \right|}\)
    \(\newcommand{\braket}[2]{\left< #1 \vphantom{#2} \right| \left. #2 \vphantom{#1} \right>}\)
    \(\newcommand{\braopket}[3]{\left< #1 \vphantom{#2}\vphantom{#3} \right| #2 \vphantom{#1}\vphantom{#3} \left| #3 \vphantom{#1}\vphantom{#2} \right>}\)
    \(\newcommand{\qmvec}[1]{\mathbf{\vec{#1}}}\)
    \(\newcommand{\op}[1]{\hat{\mathbf{#1}}}\)
    \(\newcommand{\expect}[1]{\langle #1 \rangle}\)
    \(\newcommand{\dfn}[1]{\emph{\textbf{#1}}}\)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Videos

    Lecture: Using a Calculator to Evaluate Trigonometric Functions

    When you evaluate a trigonometric function or recover an angle with technology, the result is only as trustworthy as your setup and your rounding. This section reviews how to input trigonometric functions, how to find acute angles with the inverse keys, and how to report values to a stated precision.

    Definitions and Theorems

    Note: Two Calculator Modes

    Before evaluating any trigonometric function, ensure your technology is set to the correct "mode." In Trigonometry, the two standard modes are degree mode and radian mode. When first learning Trigonometry and the trigonometric functions, you will only be working with angles measured in degrees, so you must only concern yourself with degree mode. If using a scientific or graphing calculator, refer to your instruction manual on setting the calculator to degree mode. The scientific calculator in Desmos is set to degree mode by default, so you do not have to make any adjustments if using that technology; however, the graphing calculator in Desmos defaults to radian mode. To change Desmos' graphing calculator to degree mode, open the "Graph Settings" and select "Degrees."

    Radian mode will be used almost excusively from Calculus onward.

    Caution: Confirm the Angle Mode

    Every calculator interprets the argument of a trigonometric function according to its current angle mode, either degrees or radians. Identical keystrokes produce different results in each mode: in degree mode \(\sin(30) = 0.5\), whereas in radian mode \(\sin(30) \approx -0.9880\). Before evaluating any trigonometric expression, verify that the calculator is set to the mode the problem requires. For the work in this section, use degree mode.

    Definition: Inverse Trigonometric Functions

    For \(-1 \leq x \leq 1\), \(\sin^{-1}(x)\) (also written \(\arcsin(x)\)) is the unique angle \(\theta\) with \(\sin(\theta) = x\) and \(-90^{\circ} \leq \theta \leq 90^{\circ}\). For \(-1 \leq x \leq 1\), \(\cos^{-1}(x)\) (also written \(\arccos(x)\)) is the unique angle \(\theta\) with \(\cos(\theta) = x\) and \(0^{\circ} \leq \theta \leq 180^{\circ}\). For every real number \(x\), \(\tan^{-1}(x)\) (also written \(\arctan(x)\)) is the unique angle \(\theta\) with \(\tan(\theta) = x\) and \(-90^{\circ} < \theta < 90^{\circ}\). The single angle each function returns is called the principal value.

    Note: The Inverse Keys Return Acute Angles

    When the input is a positive ratio, each inverse trigonometric function returns an acute angle—an angle \(\theta\) with \(0^{\circ} < \theta < 90^{\circ}\). Consequently, the \(\sin^{-1}\), \(\cos^{-1}\), and \(\tan^{-1}\) keys return exactly the acute angle whenever you supply a positive value. Recovering an obtuse or negative angle from the same ratio requires additional reasoning beyond the calculator's output.

    Note: Evaluating the Reciprocal Functions

    Most calculators provide keys only for \(\sin\), \(\cos\), and \(\tan\). Evaluate the remaining three functions through their reciprocal relationships:\[\sec(\theta) = \dfrac{1}{\cos(\theta)}, \qquad \csc(\theta) = \dfrac{1}{\sin(\theta)}, \qquad \cot(\theta) = \dfrac{1}{\tan(\theta)}.\nonumber\]To find an angle from a value of \(\sec\), \(\csc\), or \(\cot\), first convert it to the corresponding value of \(\cos\), \(\sin\), or \(\tan\), then apply the appropriate inverse key.

    Definition: Rounding to a Given Number of Decimal Places

    To round a number to \(n\) decimal places, examine the digit in the \((n+1)\)th decimal place. If that digit is \(5\) or greater, increase the digit in the \(n\)th place by \(1\); otherwise, leave the \(n\)th digit unchanged. In either case, discard every digit beyond the \(n\)th place.

    Caution: Save Rounding for the Final Answer

    It is important to note if your instructor hasn't said it already - rounding is for display purposes only! Never use a rounded result for other computations.

    For example, if asked to compute \(\sin^2(10^{\circ})\) rounded to four decimal places, it would be incorrect to take the rounded approximation of \( \sin\left( 10^{ \circ } \right) \) (which is \(0.1736\) and then square it to get approximately \(0.0301 \). Instead, you would compute \(\sin(10^{\circ})\) and, without rounding, immediately square the unrounded result to arrive at the more accurate result of \( 0.0304 \).

    While the difference between these two computations may seem insignificant, these rounding errors can propagate in such a way as to make massive differences between answers.

    Calculator Note

    Most scientific and graphing calculators have keys to enter angles in \(\textrm{DMS}\) format. You may also have keys or commands that let you convert from one format to another. Consult your calculator’s manual to see how this is done with your particular model.

    Examples

    Example \(\PageIndex{1}\): Evaluating a Trigonometric Function

    Evaluate \(\sin(37^{\circ})\), rounded to four decimal places.

    Solution
    With the calculator in degree mode, enter \(\sin(37)\). The display reads \(0.601815\ldots\). The digit in the fifth decimal place is \(1\), which is less than \(5\), so the fourth decimal digit is unchanged:\[\sin(37^{\circ}) \approx 0.6018.\nonumber\]
    Example \(\PageIndex{2}\): Evaluating a Reciprocal Function

    Evaluate \(\sec(25^{\circ})\), rounded to four decimal places.

    Solution
    The secant function has no dedicated key, so use \(\sec(\theta) = \dfrac{1}{\cos(\theta)}\). With the calculator in degree mode, compute \(\dfrac{1}{\cos(25^{\circ})}\). Since \(\cos(25^{\circ}) = 0.906308\ldots\),\[\sec(25^{\circ}) = \dfrac{1}{0.906308\ldots} = 1.103378\ldots \approx 1.1034,\nonumber\]because the fifth decimal digit, \(7\), rounds the fourth digit up.
    Example \(\PageIndex{3}\): Finding an Acute Angle from a Sine Value

    Suppose \(\theta\) is an acute angle with \(\sin(\theta) = 0.4\). Find \(\theta\), rounded to the nearest hundredth of a degree.

    Solution
    Because \(\theta\) is acute and \(0.4\) is positive, the principal value returned by the inverse sine key is the required angle. In degree mode,\[\theta = \sin^{-1}(0.4) = 23.578178\ldots^{\circ} \approx 23.58^{\circ}.\nonumber\]The third decimal digit, \(8\), rounds the second digit up.
    Example \(\PageIndex{4}\): Finding an Acute Angle from a Tangent Value

    Suppose \(\theta\) is an acute angle with \(\tan(\theta) = 2\). Find \(\theta\), rounded to the nearest hundredth of a degree.

    Solution
    Apply the inverse tangent key in degree mode. Since \(2\) is positive, the principal value is acute:\[\theta = \tan^{-1}(2) = 63.434948\ldots^{\circ} \approx 63.43^{\circ}.\nonumber\]The third decimal digit, \(4\), is less than \(5\), so the second digit is unchanged.
    Example \(\PageIndex{5}\): Finding an Acute Angle from a Secant Value

    Suppose \(\theta\) is an acute angle with \(\sec(\theta) = 2.5\). Find \(\theta\), rounded to the nearest hundredth of a degree.

    Solution
    First convert the secant value to a cosine value: \(\sec(\theta) = 2.5\) gives \(\cos(\theta) = \dfrac{1}{2.5} = 0.4\). Then apply the inverse cosine key in degree mode:\[\theta = \cos^{-1}(0.4) = 66.421822\ldots^{\circ} \approx 66.42^{\circ}.\nonumber\]The third decimal digit, \(1\), is less than \(5\), so the second digit is unchanged.
    Example \(\PageIndex{6}\): Rounding to Several Precisions

    Round \(\tan(18.5^{\circ})\) to one, two, three, and four decimal places.

    Solution
    In degree mode, \(\tan(18.5^{\circ}) = 0.334594\ldots\) Rounding this value gives \(0.3\) to one decimal place, \(0.33\) to two places, \(0.335\) to three places, and \(0.3346\) to four places. Each result is taken from the original displayed value, not from a previously rounded one; rounding a rounded number can compound error.

    MyOpenMath Practice


    Sources

    Several parts of this text use modifications from the following sources:

    All of these sources are released under the Creative Commons Attribution-Share-Alike License 4.0.


    26.4: Evaluating Trigonometric Functions Using Technology is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?