Download GLoBES GLoBES

Transcript
66
CHAPTER 8. Getting started
Pi+1
Pi^2
sin(Pi/2)
The following mathematical functions from <math.h> are available: sin, cos, tan, asin,
acos, atan, log, log10, exp, sqrt.
These functions can be used everywhere, where otherwise only a scalar number would
appear. However, they can not be applied to lists, such as sin({1,2,3}) will not work.
Finally, note that a line feed character \n is necessary at the end of the input – alternatively you can put a comment at the end.