Obtain a Maple graph of the sine function where the argument is given in degrees, not radians.
Figure A-7.9(a) provides a graph of one period of the sine function wherein the horizontal axis is scaled in degrees, rather than in radians.
To obtain such a graph, apply the plot command, with range x∈0,360, to sinπ x/180.
Alternatively, let Maple change the argument of the sine function via a call to the Units package, as explained below.
Figure A-7.9(a) Sine function graphed in degrees
Use Maple to change to degrees
Tools≻Load Package: Units
Write sinx, but after the x leave a space and invoke the generic unit template from the Units (FPS) palette.
Change the placeholder unit to degrees.
Context Panel: Evaluate and Display Inline
sinx degrees = sin⁡1180⁢x⁢π
As can be seen, invoking the Units package simply scales x to degrees. No really clever internal change to either the plot command or to the sine function actually takes place. Calculus with the trig functions is done in terms of radian measure, not degrees. Hence, Maple has but minimal accommodations for graphing (or working with) the trig functions in degrees.
<< Previous Example Section A-7
Next Section of Appendix >>
© Maplesoft, a division of Waterloo Maple Inc., 2021. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.
For more information on Maplesoft products and services, visit www.maplesoft.com
Download Help Document
What kind of issue would you like to report? (Optional)